Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Java (http://www.velocityreviews.com/forums/f30-java.html)
-   -   commented properties in ejb file. (http://www.velocityreviews.com/forums/t588422-commented-properties-in-ejb-file.html)

swun2010@gmail.com 01-31-2008 12:09 AM

commented properties in ejb file.
 
Hi,

Can anyone tell me whether I have to put down the properties in an ejb
file?
Why I need to do that for ejb file?
Please refer to the following example for discussion,


package examples.ejb20.relationships.bands;

import javax.ejb.*;
import weblogic.ejb.*;

/**
* @ejbgen:entity prim-key-
class="examples.ejb20.relationships.bands.Recordin gBeanPK"
* ejb-name = "Recording"
* data-source-name="cgSampleDataSource"
* table-name = "recording"
* abstract-schema-name = "Recording"
*
* @ejbgen:jndi-name
* local = "ejb.RecordingLocalHome"
*
* @ejbgen:file-generation local-class = "True" local-class-name =
"Recording" local-home = "True" local-home-name = "RecordingHome"
remote-class = "False" remote-home = "False" remote-home-name =
"RecordingRemoteHome" remote-class-name = "RecordingRemote" value-
class = "False" value-class-name = "RecordingValue" pk-class = "True"
*
* @ejbgen:relation role-name="Recordings-have-BandEJB" fk-
column="BandEJB_name" cmr-field="band" target-ejb="BandEJB"
multiplicity="Many" name="Recording-BandEJB"
*/
abstract public class RecordingBean
extends GenericEntityBean
implements EntityBean
{


Thanks
Sam


All times are GMT. The time now is 08:40 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.