I’m fairly new to XDoclet and EJBs, so I hope someone can help me out. I’m trying to create a simple bean using the tutorial here: http://www.laliluna.de/simple-xdoclet-ejb-tutorial.html – I’m using JBoss 4.0 and MySQL, so I’ve modified a few things, but I don’t see how that could be causing my problem.
My main issue is that when I run XDoclet on the project, I see [ejbdoclet] Generating jboss.xml in the console output, but a jboss.xml (or jbosscmp-jdbc.xml) is not being created.
After deploying the bean and running a simple client, the bean looks to be running ok, but there is no record in the database. I’m guessing this is because there’s nothing telling JBoss what datasource to use. I see no errors in the logs, though.
Hope someone can help me out, it’s driving me nuts!
Thanks,
Pat