So, I'm getting deeper into open-ejb, and finding that it seems to be 
very tightly coupled with castor. In fact, it seems that the cmp 
implementation is actually part of castor. As it turns out, there's a 
note in the castor documentation saying "Enterprise JavaBeans CMP -- 
TBD". Are there docs explaining the interface between open-ejb and 
castor? Hopefully something a little higher level than the javadocs?

 From what I can gather, in order to implement CMP beans, you need to do 
the following:

   * setup the castor database config file for the database connection
   * write the castor mapping.xml file to map tables to beans
   * write your *Bean, *Home, and *Object classes and interfaces
   * write the ejb-jar.xml file
   * package the bean classes and ejb-jar.xml file into a bean.jar file
   * deploy the bean.jar file into the open-ejb server
   * write/compile/execute your client code.

Does this seem correct? Am I missing anything? How about generating the 
RMI stubs and skeletons for distributed access?

Any help appreciated.

I'm trying to wrap this whole process in an application which takes an 
xml file describing the database config and schema, and generates 
appropriate open-ejb config files, bean .java sources, and ant build.xml 
file to implement cmp entity beans for the whole db schema. Yes my 
mother always told me to keep my mouth closed while chewing. :)

--Peter



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
http://OpenEJB.sf.net
OpenEJB-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/openejb-user

Reply via email to