| By Vince Bonfanti | Article Rating: |
|
| November 1, 2001 12:00 AM EST | Reads: |
12,141 |
Did you use EJBs in your last J2EE project? Many Java programmers (and their managers and CIOs) would consider this a strange question. "How can it be a J2EE project if it doesn't include EJBs?" they might ask. The answer is: Sun currently lists 11 J2EE component technologies of which EJB is but one; of equal importance are servlets, JavaServer Pages (JSP), and JDBC. In fact, a recently released research report by Gartner, Inc., reveals that most Java projects do not use EJBs, but rely exclusively on servlets/JSP. (While not specifically mentioned in the Gartner report, I would guess that a high percentage of those projects also use JDBC.)
How is it that EJBs have become synonymous with J2EE in the minds of so many people? One answer is the natural tendency of software vendors to try to sell you the most expensive product. Is a commissioned salesperson going to sell you an inexpensive servlet/JSP solution if he or she can convince you to buy an "enterprise" application server (with EJB!) for 10 times as much? The tendencies of human nature should make the answer to that question fairly obvious.
Sun has contributed to the perception that J2EE requires EJBs through the J2EE licensing program and by not offering a separate certification program for servlets/JSP. The only way for a vendor to achieve Sun certification for a servlet/JSP implementation is by becoming a J2EE licensee. The costs of becoming a J2EE licensee are structured toward the "enterprise" vendors and are prohibitive for smaller companies. Therefore, you'll find the role of J2EE licensees dominated by EJB server vendors. Contrast this with JDBC (a J2EE technology), which has a separate certification program with a much more reasonable cost structure and a higher participation rate by smaller vendors.
Finally, we must not overlook the role of Java programmers, developers, and engineers in forming the equation that J2EE equals EJB. We (yes, I put myself in this group) naturally want to work with the latest, hottest, coolest, biggest, sexiest, most important new technologies. We sometimes overspecify and overdesign, and say things like, "Sure, we don't have a requirement for that now, but..." And we always have an eye on what will look good on our résumés.
Why is this bad? Because it creates waste. In the same study mentioned above, Gartner estimates that over $1 billion has been wasted since 1998 on purchases of EJB servers for projects in which EJB was not used at all. Instead, those projects were based entirely on servlets/JSP. Gartner projects that if this continues, another $2 billion will be wasted from 2001 through 2003. Interestingly, their numbers include only the cost of the application server purchase; they don't include the wasted engineering man-hours due to the added complexity of working with an "enterprise" application server, despite the fact that only limited use is made of the full functionality of these servers.
What does this mean to you and what should you do? Wasting $1 billion in the go-go dot-com and high-flying stock market era may not have been such a terrible thing. But wasting another $2 billion in the current economic climate is foolishness. Make sure you understand your project requirements. Yes, there are good and valid uses for EJBs, but there are many more projects for which servlets/JSP (and JDBC) are more than sufficient. Make sure you have a simple, inexpensive, easy-to-administer servlet/JSP application server in your technology arsenal. And the next time someone asks, "Is your project based on J2EE?" smile as you reply, "Yes, but we're not using EJBs."
Published November 1, 2001 Reads 12,141
Copyright © 2001 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- Kindle 2 vs Nook
- Why IBM’s Server Chief Got Busted
- The Difference Between Web Hosting and Cloud Computing
- Cloud Computing Journal Opens "Readers' Choice Awards" Nominations
- Cloud Computing Expo: Exclusive Q&A with Yahoo! SVP Cloud Computing
- Industry Experts Discuss the State of Cloud Computing
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- It's the Java vs. C++ Shootout Revisited!
- The End of IT 1.0 As We Know It Has Begun
- An Introduction to Abbot
- Java Kicks Ruby on Rails in the Butt
- Interviewing Java Developers With Tears in My Eyes
- Cloud CEOs, CTOs & SVPs to Speak at 4th International Cloud Computing Expo
- 1st Annual Government IT Expo: Call for Papers Deadline July 15
- How to Diagnose Java Resource Starvation
- REA Is Where RIA Becomes the Norm
- Kindle 2 vs Nook
- Anatomy of a Java Finalizer
- Why IBM’s Server Chief Got Busted
- A Cup of AJAX? Nay, Just Regular Java Please
- Java Developer's Journal Exclusive: 2006 "JDJ Editors' Choice" Awards
- The i-Technology Right Stuff
- JavaServer Faces (JSF) vs Struts
- Rich Internet Applications with Adobe Flex 2 and Java
- Java vs C++ "Shootout" Revisited
- Bean-Managed Persistence Using a Proxy List
- Reporting Made Easy with JasperReports and Hibernate
- Creating a Pet Store Application with JavaServer Faces, Spring, and Hibernate
- What's New in Eclipse?

































