Skip navigation
2006

 

The is the EJB 3.0 standalone bundle that comes already embedded with the JBoss 4.0.4.GA AS installer distribution. We have implemented most of the features of the Final Draft of the EJB 3.0 specification. Only a few minor ones remain (shareable resources for instance). This standalone distribution also comes with 3 new tutorials: ssl, entity security, and Quartz MDBs.

 

EntityManager Security

 

We've had some EntityManager security based on JACC for awhile, but have kept it secret (in other words, we finally documented it). This new feature allows you to set permissions on CRUD actions on the EntityManager.

 

Quartz MDBs

 

We've also implemented a Quartz Scheduler JCA Resource Adapter. This adapter allows you to use JCA Message Inflow to write and configure MDBs that can directly receive Quartz Jobs. These Jobs are configured via the MDB's activation config spec. I'll write a blog about this when I get a chance.

 

The EJB 3.0 RC7 standalone distribution is only usable with JBoss 4.0.4.GA. The EJB 3.0 implementation that comes packaged with the JBoss 4.0.4.GA installer is the same as the standalone EJB 3.0 RC7 distribution with two exceptions. The standalone distribution has been patched to fix the EJBTHREE-573 JIRA bug. Also the JBoss Remoting jar has been patched to fix the SSL problems in the 4.0.4.GA release. If you don't need these fixes, then installing with the installer is fine.

bill.burke

New EJB 3.0 Book

Posted by bill.burke May 9, 2006

 

Next week, O'Reilly will publish Enterprise JavaBeans 3.0, 5th Edition by Bill Burke (myself) and Richard Monson-Haefel. It is a comprehensive guide to EJB 3.0 covering everything from Session and Message Driven beans to the new Java Persistence API. About a year ago, O'Reilly asked me to take over the series from Richard. Although EJB 3.0 has drastically changed in many areas, particularly entity beans, Richard had written such a good book that it could easily be adapted (well not too easily) for the new specification.

 

 

 

The book teaches you EJB 3.0 by implementing the Titan Cruises Reservation System. All EJB 3.0 topics are covered including:

 

 

  • Stateless and Stateful Session Beans
  • Message Driven Beans
  • EJB Interceptors
  • EntityManager configuration and API
  • The rich Java Persistence object to relation mapping
  • Java Persistence's tight integration with EJB
  • All the new injection annotations and XML equivalents


 

The new JAX-WS web services programming model and annotations are also covered. Since I'm not well versed in this subject, I asked Jason Greene, a Senior Developer working on JBoss's web services implementation, to write the chapters that discuss this subject. Thanks Jason!

 

The book also includes a JBoss Workbook. Each chapter of the main book has a parallel workbook chapter that walks you through example programs you can download, compile, and run on the JBoss 4.0 application server using JBoss's EJB 3.0 implementation. This workbook is a great way for you to see EJB 3.0 in action.

 

Have Fun

 

Bill

Filter Blog

By date: