Excerpted from 'Applying Enterprise JavaBeans' (2nd ed.), the example application chapter illustrates various techniques for working with entity beans such as using CMP, CMR, caching persistent state and subclassing. The Understanding Transactions chapter explains EJB transaction attributes and looks at declarative and programmatic transaction demarcation.
- Posted by: Nate Borg
- Posted on: December 01 2003 15:58 EST
Download Entity Bean Application Example and Understanding Transactions
various techniques for working with entity beans such as using container-managed persistence, container-managed relationships, caching persistent state, subclassing techniques
I can't download the pdf files.
Does the above quote, though, mean that subclassing is now supported in EJB 2.1?
No ... not supported. I assume all it means is that it will explain how to do the subclassing "manually" in your beans to make them look like inheritance :-0
you can get code from http://java.sun.com/developer/releases/applyingejb/