EJB and Struts
I found this great tutorial called
Developing for the J2EE Tomcat Platform. I may be using Jetty, but the example of how to
use EJB with Struts is great.
DAO pattern
I had a nice detailed design done for my app, using the
DAO pattern, but it seems that Transaction control is required in some parts of the app, so here come the Entity BMP design.
I like the
Core J2EE Patterns from Sun, and I even bought the
book. In addition to the
DataAccessObject (DAO) pattern, my design also made use of the
Business Delegate,
Value Object, and
Session Facade. It was nice and clean, but didn't support Transactions.
ejbDoclet and XDoclet
Today I'm figuring out how
ejbDoclet works. Even though it has been replaced by
XDoclet, the current projects use ejbDoclet, so that is what I will be using.
Found a nice example in
Macromedia - JRun LiveDocs : XDoclet with EJB