If we write an CMP - EJB 1.x, there is no tablename described in ejb-jar.xml file. Only persistence
fields are described in there, and the primary
So the questions is how do the JBoss knows
the table related with the CMP-EJB ?
By using JAWS ?
Many thanks in advance.
By default Jboss will try to store the bean's data in a table called Bean.
If you want it to be stored in a different table you use jaws:
put the jaws.jar file in the /META-INF directory of your ejb.jar file, and and it should all work.