Peter from WestSideWidgets was kind
enough to port the examples to JBoss. I used XDoclet to generate the
deployment descriptors, but never spent the time with JBoss to test them.
Peter tested them and fixed them. Thus, the example has been ported to JBoss.
(Part 1 and 2 worked with RI. Part 3 and 4 worked with WebLogic.)
JBoss
Port!
If you don't know what I am talking about see....
EJB
CMP/CMR Tutorial
But here is a hint....
This tutorial is designed to introduce you to Container-Managed
Persistence (CMP) and Container-Managed Relationships (CMR) in Enterprise
JavaBeans 2.0 (EJB). (Source code for examples at bottom of page)
About the code:
The code in the first two parts works with Sun's RI for J2EE. Peter Luellen
from West Side Widgets created the deployment descriptors to get final code
from part 1 and 2 working for JBoss. Peter also got the examples for part 3
and 4 to work with JBoss. Please check out the JBoss Port of the examples.
The code for part 3 and 4 was tested with BEA WebLogic, but should work
with other application servers as well. The code from part 3 and 4 was based
on the code from part 2. I modified the code to use EJBDoclet task (part of
XDoclet). XDoclet ROCKs! The ant build script is set up to run EJBDoclet
task. I suggest you check out XDoclet... it is the bee's knees! (Peter
Luellen tested and fixed the code so that it would also work with JBoss.)
A future article will show how to port the code to many different
application servers