Menu

#103 Class not correctly created

lomboz_v2.1
open
nobody
EJB wizard (22)
5
2004-01-27
2004-01-27
Anonymous
No

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
{

Discussion


Log in to post a comment.

MongoDB Logo MongoDB