Sun Simplifying Enterprise JavaBeans

Sun Simplifying Enterprise JavaBeans

Written By
Darryl K. Taft
Darryl K. Taft
May 7, 2004
3 minute read
eWeek content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

LAS VEGAS—Sun Microsystems Inc. shed light Thursday on its long-awaited Enterprise JavaBeans 3.0, the yet unfinished specification for creating Java-based enterprise applications.

In a session that was slated to be held at the JavaOne conference in San Francisco in June, Linda DeMichiel, EJB 3.0 specification lead and an architect in the J2EE (Java 2 Enterprise Edition) platform group at Sun, gave an early update on the work in progress that is EJB 3.0. DeMichiel gave her presentation to a packed audience at the Serverside Java Symposium here.

Following on the theme of Suns focus on ease of development, DeMichiel said her goal is to “simplify EJB, make it easier to use,” by implementing a simplified set of APIs, eliminating deployment descriptors from developers views and facilitating a test-driven development environment.

In addition, “we want to capture a broader range of developers,” she said, by making things easier for the average developer and increasing the developer base by targeting more corporate developers.

“This is a nontrivial task,” DeMichiel said.

In EJB 3.0, Sun will leverage the use of Java metadata, reduce the number of artifacts a programmer needs to produce, eliminate the need for a developer to provide EJB deployment descriptors and enable the generation of interfaces from the bean class, DeMichiel said. EJB 3.0 features simplified APIs that focus on the most common cases. The new specification leverages the use of Java language metadata and features a configuration by exception scheme. It also encapsulates environmental dependencies and Java Naming and Directory Interface (JNDI) access, simplifies enterprise bean types, eliminates the requirement for EJB component interfaces, and eliminates the requirement for Home and callback interfaces.

In addition, EJB 3.0 supports native SQL queries, annotations on classes and methods, and annotation processors.

DeMichiel said some of the features currently under evaluation include a service bean type, a single interface for subsuming remote and local usages.

The new spec also will support the creation of persistent instance and detached instances. It also supports object relational (O/R) mapping, as the group is “currently working on O/R mapping and an O/R mapping specification. In addition, in EJB 3.0, direct SQL is allowed over database schema,” she said.

“This is very helpful for some applications—where the application is written to a particular database schema,” DeMichiel said.

“Were taking a very POJO-centric view for all the enterprise bean types,” she said. POJO means Plain Old Java Objects.

Some observers say what Sun is doing with EJB 3.0 is a radical shift for the company, largely in response to the successes of other open-source alternatives, such as the Spring Java application framework. In fact, some say the open-source alternatives in the form of Spring and Hibernate are better than what EJB 3.0 seems to offer. However, one attendee who asked not to be identified said his company frowns on open-source technology in production environments, so he is eagerly awaiting the completion of the EJB 3.0 specification.

/zimages/3/28571.gifCheck outeWEEKs Developer & Web Services Centerat http://developer.eweek.com for the latest news, reviews and analysis in programming environments and developer tools.
Be sure to add our eWEEK.com developer and Web services news feed to your RSS newsreader or My Yahoo page:http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo2.gif

eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.