I have a scenario where the new requirements are being developed using EJB 3 Stateless beans with the old EJB 2.x CMP Entity beans. The question I have is that I read from the book EJB 3 in Action that I just need to change the ejb-jar.xml file as,
But we do not use Schema rather a DTD as below,
So in the above case, is it just enough to change the 2.0 to 3.0 to make my ejb-jar EJB 3 compatible? Please help!
Originally posted by Jothi Shankar Kumar Sankararaj: I know but I want to make both EJB 3 and EJB 2.0 beans co exist and for this the simplest solution that I can assume is the one that is posted above (still make use of the ejb-jar.xml).
Okay. This is possible. Here's an example from the JBoss documentation.