Are Entity Beans Worth It?

You might find this section title to be a strange one given that this is the entity bean chapter of an EJB book. Many developers are successfully using entity beans to build complex enterprise applications while others are debating whether the benefits entity beans offer outweigh their overhead. As with most technology issues, the answer to this question depends on what you’re trying to do. EJB is a heavyweight architecture that’s designed to support distributed transactions and concurrent access to shared data by multiple users. There are obviously many applications that don’t need the horsepower offered by EJB, and its use for them isn’t appropriate. Even when EJB is appropriate for an application, some developers ...

Get Special Edition Using Enterprise JavaBeans™ 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.