JavaOne debate: Java EE vs. Spring
- 24 September, 2010 09:41
- Comments
The enterprise variant of Java faced off against the Spring Framework this week in a debate over which one developers should use for Java application development.
A panel of experts discussing Java EE (Java Platform, Enterprise Edition) got off on a bit of a tangent Wednesday, pitting the formal Java EE standard platform against the alternative Spring Framework, which has been downloaded several million times. The panel session took place at the JavaOne conference in San Francisco.
[ Oracle discussed its Java technology roadmap on Monday evening. | Keep up with app dev issues and trends with InfoWorld's Fatal Exception blog and Developer World newsletter. ]
"I would never put Spring in [with] Java EE 6 because it's too much overlap," said Adam Bien, a consultant, author, and speaker. Complexities could result such as use of both Spring and Java EE annotations, he said.
"For most projects, my personal opinion is separate things. Either Spring or Java EE 6," he said. Developers, however, could use Spring utilities on top of EE 6, Bien said.
But Reza Rahman, lead engineer at Caucho Technology, stressed competition amongst the two technology sets. "Java EE needs Spring as much as Spring needs Java EE," Rahman said.
Fundamental characteristics of Java EE are type safety and Java-centric configuration, said Rahman. Spring offers a different mindset -- developers must tell a container on an ad hoc basis what services are desired and how they will be delivered, he explained.
Interviewed afterward, Rahman cited Spring as having advantages in lower level integrations for its container over what Java EE now supports. Java EE, however, has ease of use benefits and requires less configuration, he said.
"Things just work out of the box," he said.
But the two technologies are not mutually exclusive. "I think people should take very seriously the possibility of using them together," Rahman said.
Bien said he did not think Spring and Java EE 6 will work together in mission-critical projects because users would have to buy support services from two different companies who "probably don't like each other."
Panelists also briefly discussed ambitions for a planned Java EE 7 release. Modularity has been cited as an improvement planned for the EE 7 specification. But modularity "can't be the only value proposition of Java EE 7," Rahman said. "That's far too little."
Developers of the specification need to be careful to not make modularity too complex, he stressed.
Rahman cited other possible improvements including better alignment with CGI (Common Gateway Interface), a higher level security API, and better compatibility between HTML5 and JavaServer Faces.
"Maybe what could be the most significant feature of EE 7 would be to open up the JCP (Java Community Process)," said panelist Emmanuel Bernard, principal software engineer at JBoss. His suggestion drew a round of applause from the audience.
A debate has been ongoing in the industry about whether the JCP should continue to be dominated by a single vendor, in this case Oracle. Previously, Sun Microsystems led the JCP. Sun was acquired by Oracle early this year.
On Thursday, JavaOne featured whiz-bang technologies based on Java, such as the Livescribe "smartpen," which offers such capabilities as speech synthesis.
"This is a computer. It's a fully multimodal computer. We call it a smartpen," said Jim Margraff, Livescribe chairman and CEO.
Inventor and futurist Ray Kurzweil, meanwhile, gave a presentation on the growth of embedded technology and how it is spreading to new realms.
Kurzweil predicted, "There will be thousands, ultimately millions, of devices running Java inside your body."
This article, "JavaOne debate: Java EE vs. Spring," was originally published at InfoWorld.com. Follow the latest developments in business technology news and get a digest of the key stories each day in the InfoWorld Daily newsletter.
Read more about developer world in InfoWorld's Developer World Channel.
Join the CIO Australia group on LinkedIn. The group is open to CIOs, IT Directors, COOs, CTOs and senior IT managers.
- Bookmark this page
- Share this article
- Got more on this story? Email CIO
- Follow CIO on twitter
- Java - InfoWorld
- JavaFX moves forward while mobile variant on hold : Developer World - InfoWorld
- Oracle airs Java ambitions : Developer World - InfoWorld
- Neil McAllister's blog - InfoWorld
- Newsletter Subscribe - InfoWorld
- Spring 3.0 framework for Java to debut : Developer World - InfoWorld
- Oracle silent on Java independence initiative : Developer World - InfoWorld
- JavaOne debate: Java EE vs. Spring : Developer World - InfoWorld
- Business technology, IT news, product reviews and enterprise IT strategies - InfoWorld
- IT news and top technology headlines - InfoWorld
- InfoWorld Daily Newsletter - InfoWorld
- Developer World - InfoWorld
-
Node.js tools: Server-side JavaScript comes of age
-
BlackBerry PlayBook security tips
-
New version of BlackBerry PlayBook OS released
-
Toyota Australia puts BI in top gear
-
Evolve 2012: TechnologyOne invests $200m in new Cloud platform
-
Optimizing Storage and Protecting Data with Oracle Database 11g
This paper focuses on key Oracle Database 11g capabilities that help IT departments better optimise their storage infrastructure, enabling administrators to deliver a cost-effective, scalable data management platform that is easy to manage, reduces costs, and protects data while continuing to deliver the performance and availability that today’s businesses require. -
Managing Growth: A review of the global software & IT services industry
This report investigates the opportunities for software and IT services companies in 2012 and beyond, and analyses how the United Kingdom, United States and Australia compare and contrast, to identify important trends that highlight the opportunities and threats to the sector over the next 12 months. -
Government Communications 2.0
The problem with data is that it’s only useful if you share and use it. Equally, the more data we share electronically, the greater the risk of it falling into the wrong hands. Public sector organisations can’t function without legitimately gathering and using personal information about the citizens they are mandated to serve. Technology has made a significant contribution to that process, but has also brought new risks. Read on.
-
.Net Domain-driven Design with C#
-
Microsoft Excel 2000 Power Programming with VBA
-
Mac OS X Snow Leopard Simplified
-
Concept Data Analysis - Theory and Applications
-
Mastering Mac OS X, Third Edition
-
Mastering System Center Data Protection Manager 2007
-
Photoshop Cs4 Digital Classroom
-
Elements of Software Process Assessment & Improvement
-
Engineering Programming in C, Matlab & Java











Comments
Post new comment