commented properties in ejb file.

Discussion in 'Java' started by swun2010@gmail.com, Jan 31, 2008.

  1. Guest

    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.RecordingBeanPK"
    * 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
    , Jan 31, 2008
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jim Heavey
    Replies:
    1
    Views:
    373
    Oisín Grehan
    Dec 2, 2003
  2. Steve
    Replies:
    1
    Views:
    695
    John C. Bollinger
    Jul 15, 2003
  3. bronski
    Replies:
    0
    Views:
    449
    bronski
    Feb 16, 2005
  4. Raymond Schanks
    Replies:
    0
    Views:
    653
    Raymond Schanks
    Aug 3, 2010
  5. Moin

    Commented data file

    Moin, Sep 27, 2012, in forum: C++
    Replies:
    3
    Views:
    329
    Juha Nieminen
    Sep 28, 2012
Loading...

Share This Page