When generating a CMP Entity bean for WebLogic 8.1
the code is not correct.
it is as follows:
* This is needed for JOnAS.
* If you are not using JOnAS you can safely remove the
tags below.
* @jonas.bean ejb-name="Address"
* jndi-name="AddressBean"
* @jonas.jdbc-mapping jndi-name="AddressBean" jdbc-
table-name="address"
public abstract class AddressBean implements EntityBean
{
/**
* The ejbCreate method.
*
* @ejb.create-method
*/
The class definition is in the comment area. It should be
corrected as follows:
* This is needed for JOnAS.
* If you are not using JOnAS you can safely remove the
tags below.
* @jonas.bean ejb-name="Address"
* jndi-name="AddressBean"
* @jonas.jdbc-mapping jndi-name="AddressBean" jdbc-
table-name="address"
*/
public abstract class AddressBean implements EntityBean
{