Skip to main content

Point of Know Return

Posted by editor on January 23, 2007 at 6:12 AM PST

Making the switch to EJB 3.0

You've no doubt seen a couple articles over the years about the latest, greatest library, framework, or tool, one which directly addresses your current development needs, and in a way far more elegant or effective than what you're currently doing... and wished you could actually use it. Once you're deeply into a project, there's rarely an opportunity to rework its underlying design decisions to use a different library, even if that's what you would have chosen to use at the start if it had been available. Sometimes, you have to make a mental note of cool stuff that you'll use "next time".

Maybe you feel this way about EJB 3.0. After all, if you've developed an EJB 2.x application, subclassing everything the way you're supposed to and setting up lots of deployment descriptors, EJB 3.0 would seem to not help you solve the problem you've already worked through yourself. But what about maintainability? If EJB 3.0 is so much easier to work with, wouldn't you like to enjoy its benefits going forward?

In our Feature Article, Sangeetha S. and Subrahmanya S. V. lay out a roadmap for
Migrating from EJB 2.x to EJB 3.0: "This article discusses possible migration strategies for moving applications written using EJB 2.x or earlier versions to the new EJB 3.0 programming model. With this in mind, this article discusses the changes in the new specification in the context of each of the different bean types."

In today's Forums,
karthi_acb announces a New ETL Integrator tool available for download in Glassfish wiki.:
"This is a Java based ETL (Extract-Transform-Load) tool which can be used to orchestrate ETL Process. It supports many features like Java operators, SQL Operators, custom operators in Transformation phase. It also supports defining conditional extraction, source join and target join. It can extract data from a wide range of databases including Flatfiles and similarly load data to a wide range of databases including Flatfiles. It supports insert, delete and insert/update as the loading type at the target table. [...] This tool is available for free download at"

osbald discusses Swing data binding in
Re: a question about basic libraries and "cosmestic" ones ... (OT ?)
"I'd very much like to see Binding.. like last week ;) . JSR 296 looks pretty interesting as a bunch of common utility methods although it dosnt tackle the wider architecture & pattern issues. The injection should save some typing, but I'm not sure how the action annotations will pan out.. suspect they might emcourage that old school code style all over again. Action Management and knowing where to put the EDT/Swingworker code are two of my constant irritations. Currently I'm putting EDT (remote method calls/jdbc mostly) stuff in my view components, because my models shouldn't need to know about Swing - maybe I need another wrapping model layer that does?."

Finally, ylzhao would like help finding some
Desktop Java demos for learning:
"After some time learning Swing basics like layout design, painting and event handling, when I want to write a more actual and better GUI app with Swing, I also do not know how to start. JDK bundled demos and Swing tutorial are fundamental, and do not describe how to write a good Swing app. Are there some good desktop Java demos written in Swing which I can learning: 1. How to design and implement a modern GUI? 2. How to separate GUI with code? 3. How to handle GUI events with delegates? 4. How to implement a hign responsive GUI which may use SwingWorker? 5. How to use design patterns(like MVC, MVP, Command etc) in Swing GUI?"

In Java Today,

Kohsuke Kawaguchi's blog announces the release of JAXB RI 2.1.1 and 2.0.5. "2.1.1 is a bug fix release to 2.1 (see changes). This is the main development thread of the JAXB RI, and implements the latest and greatest JAXB 2.1 specification." As for the other version, "2.0.5 is a bug fix release of the JAXB RI 2.0 line, which implements the JAXB 2.0 specification. The only folks who'd want to use this is those who that are already running JAXB RI 2.0.x in production, and experiencing issues that are fixed in 2.0.5."

The Sun Java System Application Server 9.0 Error Message Reference guide is now available in an interactive, editable Wiki format. "The most significant shortcoming of the current Error Message Reference is that it does not contain enough information -- it pretty much contains just the error message IDs and message strings, with little or no explanatory text. The challenge is that it takes a lot of time to develop meaningful descriptions and solutions/workarounds for the problems indicated by the error messages, more time than either the developers or doc writers can currently afford. Moreover, meaningful solutions are really only available after the product has been in 'the wild' for some time." The hope is that you'll add your comments, descriptions, solutions and/or workarounds to the problems indicated by the error messages.

A recent ComputerWorld review of online office suites declared the Java-based ThinkFree Office the best, and that has ONJava blogger Hari K. Gottipati asking Is Java more efficient than Ajax for advanced web apps? Noting that Google is in talks to acquire ThinkFree, he concludes that "if your web app is going to have much advanced features such as image handling etc. definitely Java is more efficient than Ajax."

David Van Couvering appeals for a way out in today's Weblogs. In
Data portability - Web 2.0 companies just don't get it, he writes:
"Everybody is so ga-ga over a read-write web, where users create their own content. What astounds me is that none of these Web 2.0 sites seem to get or care that this is user-generated content, and that the users may want to have more control over this content."

Rodrigo Urubatan is frustrated by the inaccesbility of device-specific features, describing the problem as
What I do not like about Java ME:
"I think that Java ME brings too much compatibility, and I think that we need more implementation specific features..."

John Reynolds talks encapsulation in
Fear of the Unseen...
"I think we've got a visibility paradox. We need to hide implementation details behind interfaces, but at other times we need to know those very same implementation details."

Current and upcoming Java

Registered users can submit event listings for the href=""> Events Page using our href="">events submission form.
All submissions go through an editorial review before being posted to the

Archives and Subscriptions: This blog is delivered weekdays as
the Java
Today RSS feed
. Also, once this page is no longer featured as the
front page of it will be
archived along with other past issues in the href=""> Archive.

Making the switch to EJB 3.0