Hello Maximilian,

what is the content you are missing in jonas-ejb-jar.xml?

I noticed that the jdbc-table-name does not appear there, and I think I
know the reason for this:
The JOnAS driver in XDoclet 1.2.3 does not accept explicit database
mappings if you declare your bean as EJB 2 compliant. I learned about
this by reading the jonas.xdt file which is contained in the source
distribution, but can be found in the xdoclet-objectweb-module-1.2.3.jar
file of a binary distribution as well. To me it seems well possible that
you are stumbling over some more dependencies on EJB version and JOnAS
version (the JOnAS version you declare for running XDoclet, nor the
JOnAS version you are actually using).

The project I'm working on uses the modified XDoclet that can be found
on the JOnAS web page. (While the XDoclet objectweb module is easy to
find on the download page, one has to look a little harder for the rest
of XDoclet which is hidden in some JOnAS examples directory in the JOnAS
distribution.) This seems to work better for JOnAS, though I'm not (yet)
qualified to understand the differences. (Maybe I'm just prejudiced
because it's the version my project uses.) At least this version
supports database mappings for EJB 2 entity beans.

I wonder: Why are there different versions of the XDoclet JOnAS driver
by the XDoclet and JOnAS teams??

Hope this helps a little,
        Johannes Stille

-- 
usd.de ag
it security
johannes stille
www.usd.de


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to