You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Eric Chow <ec...@macaucabletv.com> on 2004/02/06 10:29:34 UTC

Generate jboss.xml and jbosscmp-jdbc.xml !!

Hi,

I want to use Maven with xdoclet.

I can success config the properties to use ejbdoclet, but it seems not to
generate the jboss.xml and jbosscmp-jdbc.xml !!



I create a build.properties in the same directory of project.xml, and the
following is the contents of the build.properties and the UserBean.java.


It can generate the ejb-jar.xml, but no jboss.xml and jbosscmp-jdbc.xml !!!!


Eric



#------------------------------------
# Common properties in files
#------------------------------------
ejb.cmp.version=2.x



#------------------------------------
# XDoclet
#------------------------------------
# EJBDoclet
maven.xdoclet.ejbdoclet.destDir=${maven.build.dir}/xdoclet/ejbdoclet
maven.xdoclet.ejbdoclet.fileset.0=true
maven.xdoclet.ejbdoclet.fileset.0.include=**/*Bean.java
maven.xdoclet.ejbdoclet.fileset.1=true
maven.xdoclet.ejbdoclet.fileset.1.include=**/model/*.java

maven.xdoclet.ejbdoclet.deploymentdescriptor.0=true

maven.xdoclet.ejbdoclet.valueobject.0=true
maven.xdoclet.ejbdoclet.valueobject.0.packageSubstitutions=true
maven.xdoclet.ejbdoclet.valueobject.0.packageSubstitutions.0.packages=model.
*
maven.xdoclet.ejbdoclet.valueobject.0.packageSubstitutions.0.substituteWith=
interfaces

maven.xdoclet.ejbdoclet.utilobject.0=true
maven.xdoclet.ejbdoclet.utilobject.0.cacheHomes=true
maven.xdoclet.ejbdoclet.utilobject.0.includeGUID=true
maven.xdoclet.ejbdoclet.utilobject.0.localProxies=true
maven.xdoclet.ejbdoclet.utilobject.0.packageSubstitutions=true
maven.xdoclet.ejbdoclet.utilobject.0.packageSubstitutions.0.packages=model.*
maven.xdoclet.ejbdoclet.utilobject.0.packageSubstitutions.0.substituteWith=i
nterfaces


# jboss
maven.xdoclet.ejbdoclet.jboss.0=true

maven.xdoclet.ejbdoclet.jboss.0.fileset.0=true
maven.xdoclet.ejbdoclet.jboss.0.fileset.0.include=**/*Bean.java
maven.xdoclet.ejbdoclet.jboss.fileset.1=true
maven.xdoclet.ejbdoclet.jboss.fileset.1.include=**/model/*Bean.java

maven.xdoclet.ejbdoclet.jboss.0.Version=3.0
maven.xdoclet.ejbdoclet.jboss.0.destDir=${maven.build.dir}/xdoclet/ejb/META-
INF
maven.xdoclet.ejbdoclet.jboss.0.jaws=false
maven.xdoclet.ejbdoclet.jboss.0.datasource=java:/DefaultDS
maven.xdoclet.ejbdoclet.jboss.0.datasourceMapping=Hypersonic SQL
maven.xdoclet.ejbdoclet.jboss.0.typemapping=Hypersonic SQL
maven.xdoclet.ejbdoclet.jboss.0.generateRelations=true
maven.xdoclet.ejbdoclet.jboss.0.preferredRelationMapping=foreign-key
maven.xdoclet.ejbdoclet.jboss.0.unauthenticatedPrincipal=nobody
maven.xdoclet.ejbdoclet.jboss.0.createTable=true
maven.xdoclet.ejbdoclet.jboss.0.removeTable=true
maven.xdoclet.ejbdoclet.jboss.0.xmlencoding=UTF-8
maven.xdoclet.ejbdoclet.jboss.0.validateXML=true



============================================
/* ====================================================================
 * eChows.com Software License
 * ====================================================================
 */

package com.echows.football.model;


import javax.ejb.CreateException;
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;


/**
 * The UserBean.
 *
 * @ejb.bean
 *    type="CMP"
 *    cmp-version="${ejb.cmp.version}"
 *    name="User"
 *    view-type="local"
 *    local-jndi-name="com.echows.football.local.User"
 *
 * @ejb.transaction
 *    type="Required"
 *
 *
 * @ejb.persistence
 *    table-name="footballpro_user"
 *
 * @ejb.home
 *    local-class="com.echows.football.interfaces.UserHome"
 *
 * @ejb.interface
 *    local-class="com.echows.football.interfaces.User"
 *
 * @ejb.pk
 *    class="com.echows.football.pk.UserPK"
 *
 * @ejb.finder
 *    signature="Collection findAll()"
 *    query="SELECT OBJECT(a) FROM User AS a"
 *    transaction-type="Required"
 *    unchecked="true"
 *
 * @ejb.finder
 *    signature="User findByPrimaryKey(com.echows.football.pk.UserPK pk)"
 *
 * @ejb.finder
 *    signature="Collection findByUserName(java.lang.String userName)"
 *    query="SELECT OBJECT(u) FROM User AS u WHERE u.userName = ?1"
 *    methof-intf="LocalHome"
 *    result-type-mapping="Local"
 *
 * @ejb.value-object
 *
 * @author
 *    <a href="mailto:eric138@yahoo.com">Eric Chow</a>
 */
public abstract class UserBean implements EntityBean {

   protected EntityContext ctx;

   /**
    * @ejb.create-method
    */
   public com.echows.football.pk.UserPK ejbCreate(String userName, String
password) throws CreateException {
      setUserName(userName);
      setPassword(password);

      return null;
   }

   /**
    * @ejb.create-method
    */
   public com.echows.football.pk.UserPK ejbCreate(UserValue userValue)
throws CreateException {
      setUserValue(userValue);

      return null;
   }

   public void ejbPostCreate(String userName, String password) {
      ;
   }

   public void ejbPostCreate(UserValue userValue) {
      ;
   }


   /**
  * Sets the password.
  *
  * @param   the password
  *
  *
  *
    * @ejb.interface-method
  */
   public abstract void setPassword(String password);

   /**
  * Gets the password.
  *
  * @return  the password
  *
  *
  *
  *
    * @ejb.interface-method
    *
    * @ejb.transaction
    *      type="Supports"
    *
    * @ejb.pk-field
    *
    * @ejb.persistence
    *    column-name="password"
    *
    * @ejb.value-object
    *
    * @jboss.persistence
    *    not-null="true"
    *
    *
  *
  */
   public abstract String getPassword();

   /**
  * Sets the userName.
  *
  * @param   the userName
  *
  *
  *
    * @ejb.interface-method
  */
   public abstract void setUserName(String userName);

   /**
  * Gets the userName.
  *
  * @return  the userName
  *
  *
  *
  *
    * @ejb.interface-method
    *
    * @ejb.transaction
    *      type="Supports"
    *
    * @ejb.persistence
    *    column-name="username"
    *
    * @ejb.value-object
    *
    * @jboss.persistence
    *    not-null="true"
    *
    *
  *
  */
   public abstract String getUserName();



   /**
  * Sets the userValue.
  *
  * @param   the userValue
  *
  *
  *
    * @ejb.interface-method
  */
   public abstract void setUserValue(UserValue userValue);

   /**
  * Sets the userValue.
  *
  * @param   the userValue
  *
  *
  *
    * @ejb.interface-method
  */
   public abstract UserValue getUserValue();
}




==========================
If you know what you are doing,
it is not called RESEARCH!
==========================


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Generate jboss.xml and jbosscmp-jdbc.xml !!

Posted by __matthewHawthorne <ma...@apache.org>.
Eric Chow wrote:
> It can generate the ejb-jar.xml, but no jboss.xml and jbosscmp-jdbc.xml !!!!


Your setup looks correct to me -- did you include a dependency on 
xdoclet-jboss-module.jar?

Try running Maven with -X and see if you notice anything strange.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Generate jboss.xml and jbosscmp-jdbc.xml !!

Posted by Eric Chow <ec...@macaucabletv.com>.
Hello,

I used xdoclet before, it can generated all deployment descriptors that I
need. But change to Maven, failed.


Eric

----- Original Message ----- 
From: "Emmanuel Venisse" <em...@venisse.net>
To: "Maven Users List" <us...@maven.apache.org>; "Eric Chow"
<ec...@macaucabletv.com>
Sent: Friday, February 06, 2004 5:35 PM
Subject: Re: Generate jboss.xml and jbosscmp-jdbc.xml !!


> I think you will obtain more informations on xdoclet mailin list.
>
> Emmanuel
>
> ----- Original Message ----- 
> From: "Eric Chow" <ec...@macaucabletv.com>
> To: "Maven Users List" <us...@maven.apache.org>
> Sent: Friday, February 06, 2004 10:29 AM
> Subject: Generate jboss.xml and jbosscmp-jdbc.xml !!
>
>
> > Hi,
> >
> > I want to use Maven with xdoclet.
> >
> > I can success config the properties to use ejbdoclet, but it seems not
to
> > generate the jboss.xml and jbosscmp-jdbc.xml !!
> >
> >
> >
> > I create a build.properties in the same directory of project.xml, and
the
> > following is the contents of the build.properties and the UserBean.java.
> >
> >
> > It can generate the ejb-jar.xml, but no jboss.xml and jbosscmp-jdbc.xml
> !!!!
> >
> >
> > Eric
> >
> >
> >
> > #------------------------------------
> > # Common properties in files
> > #------------------------------------
> > ejb.cmp.version=2.x
> >
> >
> >
> > #------------------------------------
> > # XDoclet
> > #------------------------------------
> > # EJBDoclet
> > maven.xdoclet.ejbdoclet.destDir=${maven.build.dir}/xdoclet/ejbdoclet
> > maven.xdoclet.ejbdoclet.fileset.0=true
> > maven.xdoclet.ejbdoclet.fileset.0.include=**/*Bean.java
> > maven.xdoclet.ejbdoclet.fileset.1=true
> > maven.xdoclet.ejbdoclet.fileset.1.include=**/model/*.java
> >
> > maven.xdoclet.ejbdoclet.deploymentdescriptor.0=true
> >
> > maven.xdoclet.ejbdoclet.valueobject.0=true
> > maven.xdoclet.ejbdoclet.valueobject.0.packageSubstitutions=true
> >
>
maven.xdoclet.ejbdoclet.valueobject.0.packageSubstitutions.0.packages=model.
> > *
> >
>
maven.xdoclet.ejbdoclet.valueobject.0.packageSubstitutions.0.substituteWith=
> > interfaces
> >
> > maven.xdoclet.ejbdoclet.utilobject.0=true
> > maven.xdoclet.ejbdoclet.utilobject.0.cacheHomes=true
> > maven.xdoclet.ejbdoclet.utilobject.0.includeGUID=true
> > maven.xdoclet.ejbdoclet.utilobject.0.localProxies=true
> > maven.xdoclet.ejbdoclet.utilobject.0.packageSubstitutions=true
> >
>
maven.xdoclet.ejbdoclet.utilobject.0.packageSubstitutions.0.packages=model.*
> >
>
maven.xdoclet.ejbdoclet.utilobject.0.packageSubstitutions.0.substituteWith=i
> > nterfaces
> >
> >
> > # jboss
> > maven.xdoclet.ejbdoclet.jboss.0=true
> >
> > maven.xdoclet.ejbdoclet.jboss.0.fileset.0=true
> > maven.xdoclet.ejbdoclet.jboss.0.fileset.0.include=**/*Bean.java
> > maven.xdoclet.ejbdoclet.jboss.fileset.1=true
> > maven.xdoclet.ejbdoclet.jboss.fileset.1.include=**/model/*Bean.java
> >
> > maven.xdoclet.ejbdoclet.jboss.0.Version=3.0
> >
>
maven.xdoclet.ejbdoclet.jboss.0.destDir=${maven.build.dir}/xdoclet/ejb/META-
> > INF
> > maven.xdoclet.ejbdoclet.jboss.0.jaws=false
> > maven.xdoclet.ejbdoclet.jboss.0.datasource=java:/DefaultDS
> > maven.xdoclet.ejbdoclet.jboss.0.datasourceMapping=Hypersonic SQL
> > maven.xdoclet.ejbdoclet.jboss.0.typemapping=Hypersonic SQL
> > maven.xdoclet.ejbdoclet.jboss.0.generateRelations=true
> > maven.xdoclet.ejbdoclet.jboss.0.preferredRelationMapping=foreign-key
> > maven.xdoclet.ejbdoclet.jboss.0.unauthenticatedPrincipal=nobody
> > maven.xdoclet.ejbdoclet.jboss.0.createTable=true
> > maven.xdoclet.ejbdoclet.jboss.0.removeTable=true
> > maven.xdoclet.ejbdoclet.jboss.0.xmlencoding=UTF-8
> > maven.xdoclet.ejbdoclet.jboss.0.validateXML=true
> >
> >
> >
> > ============================================
> > /* ====================================================================
> >  * eChows.com Software License
> >  * ====================================================================
> >  */
> >
> > package com.echows.football.model;
> >
> >
> > import javax.ejb.CreateException;
> > import javax.ejb.EntityBean;
> > import javax.ejb.EntityContext;
> >
> >
> > /**
> >  * The UserBean.
> >  *
> >  * @ejb.bean
> >  *    type="CMP"
> >  *    cmp-version="${ejb.cmp.version}"
> >  *    name="User"
> >  *    view-type="local"
> >  *    local-jndi-name="com.echows.football.local.User"
> >  *
> >  * @ejb.transaction
> >  *    type="Required"
> >  *
> >  *
> >  * @ejb.persistence
> >  *    table-name="footballpro_user"
> >  *
> >  * @ejb.home
> >  *    local-class="com.echows.football.interfaces.UserHome"
> >  *
> >  * @ejb.interface
> >  *    local-class="com.echows.football.interfaces.User"
> >  *
> >  * @ejb.pk
> >  *    class="com.echows.football.pk.UserPK"
> >  *
> >  * @ejb.finder
> >  *    signature="Collection findAll()"
> >  *    query="SELECT OBJECT(a) FROM User AS a"
> >  *    transaction-type="Required"
> >  *    unchecked="true"
> >  *
> >  * @ejb.finder
> >  *    signature="User findByPrimaryKey(com.echows.football.pk.UserPK
pk)"
> >  *
> >  * @ejb.finder
> >  *    signature="Collection findByUserName(java.lang.String userName)"
> >  *    query="SELECT OBJECT(u) FROM User AS u WHERE u.userName = ?1"
> >  *    methof-intf="LocalHome"
> >  *    result-type-mapping="Local"
> >  *
> >  * @ejb.value-object
> >  *
> >  * @author
> >  *    <a href="mailto:eric138@yahoo.com">Eric Chow</a>
> >  */
> > public abstract class UserBean implements EntityBean {
> >
> >    protected EntityContext ctx;
> >
> >    /**
> >     * @ejb.create-method
> >     */
> >    public com.echows.football.pk.UserPK ejbCreate(String userName,
String
> > password) throws CreateException {
> >       setUserName(userName);
> >       setPassword(password);
> >
> >       return null;
> >    }
> >
> >    /**
> >     * @ejb.create-method
> >     */
> >    public com.echows.football.pk.UserPK ejbCreate(UserValue userValue)
> > throws CreateException {
> >       setUserValue(userValue);
> >
> >       return null;
> >    }
> >
> >    public void ejbPostCreate(String userName, String password) {
> >       ;
> >    }
> >
> >    public void ejbPostCreate(UserValue userValue) {
> >       ;
> >    }
> >
> >
> >    /**
> >   * Sets the password.
> >   *
> >   * @param   the password
> >   *
> >   *
> >   *
> >     * @ejb.interface-method
> >   */
> >    public abstract void setPassword(String password);
> >
> >    /**
> >   * Gets the password.
> >   *
> >   * @return  the password
> >   *
> >   *
> >   *
> >   *
> >     * @ejb.interface-method
> >     *
> >     * @ejb.transaction
> >     *      type="Supports"
> >     *
> >     * @ejb.pk-field
> >     *
> >     * @ejb.persistence
> >     *    column-name="password"
> >     *
> >     * @ejb.value-object
> >     *
> >     * @jboss.persistence
> >     *    not-null="true"
> >     *
> >     *
> >   *
> >   */
> >    public abstract String getPassword();
> >
> >    /**
> >   * Sets the userName.
> >   *
> >   * @param   the userName
> >   *
> >   *
> >   *
> >     * @ejb.interface-method
> >   */
> >    public abstract void setUserName(String userName);
> >
> >    /**
> >   * Gets the userName.
> >   *
> >   * @return  the userName
> >   *
> >   *
> >   *
> >   *
> >     * @ejb.interface-method
> >     *
> >     * @ejb.transaction
> >     *      type="Supports"
> >     *
> >     * @ejb.persistence
> >     *    column-name="username"
> >     *
> >     * @ejb.value-object
> >     *
> >     * @jboss.persistence
> >     *    not-null="true"
> >     *
> >     *
> >   *
> >   */
> >    public abstract String getUserName();
> >
> >
> >
> >    /**
> >   * Sets the userValue.
> >   *
> >   * @param   the userValue
> >   *
> >   *
> >   *
> >     * @ejb.interface-method
> >   */
> >    public abstract void setUserValue(UserValue userValue);
> >
> >    /**
> >   * Sets the userValue.
> >   *
> >   * @param   the userValue
> >   *
> >   *
> >   *
> >     * @ejb.interface-method
> >   */
> >    public abstract UserValue getUserValue();
> > }
> >
> >
> >
> >
> > ==========================
> > If you know what you are doing,
> > it is not called RESEARCH!
> > ==========================
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Generate jboss.xml and jbosscmp-jdbc.xml !!

Posted by Emmanuel Venisse <em...@venisse.net>.
I think you will obtain more informations on xdoclet mailin list.

Emmanuel

----- Original Message ----- 
From: "Eric Chow" <ec...@macaucabletv.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Friday, February 06, 2004 10:29 AM
Subject: Generate jboss.xml and jbosscmp-jdbc.xml !!


> Hi,
>
> I want to use Maven with xdoclet.
>
> I can success config the properties to use ejbdoclet, but it seems not to
> generate the jboss.xml and jbosscmp-jdbc.xml !!
>
>
>
> I create a build.properties in the same directory of project.xml, and the
> following is the contents of the build.properties and the UserBean.java.
>
>
> It can generate the ejb-jar.xml, but no jboss.xml and jbosscmp-jdbc.xml
!!!!
>
>
> Eric
>
>
>
> #------------------------------------
> # Common properties in files
> #------------------------------------
> ejb.cmp.version=2.x
>
>
>
> #------------------------------------
> # XDoclet
> #------------------------------------
> # EJBDoclet
> maven.xdoclet.ejbdoclet.destDir=${maven.build.dir}/xdoclet/ejbdoclet
> maven.xdoclet.ejbdoclet.fileset.0=true
> maven.xdoclet.ejbdoclet.fileset.0.include=**/*Bean.java
> maven.xdoclet.ejbdoclet.fileset.1=true
> maven.xdoclet.ejbdoclet.fileset.1.include=**/model/*.java
>
> maven.xdoclet.ejbdoclet.deploymentdescriptor.0=true
>
> maven.xdoclet.ejbdoclet.valueobject.0=true
> maven.xdoclet.ejbdoclet.valueobject.0.packageSubstitutions=true
>
maven.xdoclet.ejbdoclet.valueobject.0.packageSubstitutions.0.packages=model.
> *
>
maven.xdoclet.ejbdoclet.valueobject.0.packageSubstitutions.0.substituteWith=
> interfaces
>
> maven.xdoclet.ejbdoclet.utilobject.0=true
> maven.xdoclet.ejbdoclet.utilobject.0.cacheHomes=true
> maven.xdoclet.ejbdoclet.utilobject.0.includeGUID=true
> maven.xdoclet.ejbdoclet.utilobject.0.localProxies=true
> maven.xdoclet.ejbdoclet.utilobject.0.packageSubstitutions=true
>
maven.xdoclet.ejbdoclet.utilobject.0.packageSubstitutions.0.packages=model.*
>
maven.xdoclet.ejbdoclet.utilobject.0.packageSubstitutions.0.substituteWith=i
> nterfaces
>
>
> # jboss
> maven.xdoclet.ejbdoclet.jboss.0=true
>
> maven.xdoclet.ejbdoclet.jboss.0.fileset.0=true
> maven.xdoclet.ejbdoclet.jboss.0.fileset.0.include=**/*Bean.java
> maven.xdoclet.ejbdoclet.jboss.fileset.1=true
> maven.xdoclet.ejbdoclet.jboss.fileset.1.include=**/model/*Bean.java
>
> maven.xdoclet.ejbdoclet.jboss.0.Version=3.0
>
maven.xdoclet.ejbdoclet.jboss.0.destDir=${maven.build.dir}/xdoclet/ejb/META-
> INF
> maven.xdoclet.ejbdoclet.jboss.0.jaws=false
> maven.xdoclet.ejbdoclet.jboss.0.datasource=java:/DefaultDS
> maven.xdoclet.ejbdoclet.jboss.0.datasourceMapping=Hypersonic SQL
> maven.xdoclet.ejbdoclet.jboss.0.typemapping=Hypersonic SQL
> maven.xdoclet.ejbdoclet.jboss.0.generateRelations=true
> maven.xdoclet.ejbdoclet.jboss.0.preferredRelationMapping=foreign-key
> maven.xdoclet.ejbdoclet.jboss.0.unauthenticatedPrincipal=nobody
> maven.xdoclet.ejbdoclet.jboss.0.createTable=true
> maven.xdoclet.ejbdoclet.jboss.0.removeTable=true
> maven.xdoclet.ejbdoclet.jboss.0.xmlencoding=UTF-8
> maven.xdoclet.ejbdoclet.jboss.0.validateXML=true
>
>
>
> ============================================
> /* ====================================================================
>  * eChows.com Software License
>  * ====================================================================
>  */
>
> package com.echows.football.model;
>
>
> import javax.ejb.CreateException;
> import javax.ejb.EntityBean;
> import javax.ejb.EntityContext;
>
>
> /**
>  * The UserBean.
>  *
>  * @ejb.bean
>  *    type="CMP"
>  *    cmp-version="${ejb.cmp.version}"
>  *    name="User"
>  *    view-type="local"
>  *    local-jndi-name="com.echows.football.local.User"
>  *
>  * @ejb.transaction
>  *    type="Required"
>  *
>  *
>  * @ejb.persistence
>  *    table-name="footballpro_user"
>  *
>  * @ejb.home
>  *    local-class="com.echows.football.interfaces.UserHome"
>  *
>  * @ejb.interface
>  *    local-class="com.echows.football.interfaces.User"
>  *
>  * @ejb.pk
>  *    class="com.echows.football.pk.UserPK"
>  *
>  * @ejb.finder
>  *    signature="Collection findAll()"
>  *    query="SELECT OBJECT(a) FROM User AS a"
>  *    transaction-type="Required"
>  *    unchecked="true"
>  *
>  * @ejb.finder
>  *    signature="User findByPrimaryKey(com.echows.football.pk.UserPK pk)"
>  *
>  * @ejb.finder
>  *    signature="Collection findByUserName(java.lang.String userName)"
>  *    query="SELECT OBJECT(u) FROM User AS u WHERE u.userName = ?1"
>  *    methof-intf="LocalHome"
>  *    result-type-mapping="Local"
>  *
>  * @ejb.value-object
>  *
>  * @author
>  *    <a href="mailto:eric138@yahoo.com">Eric Chow</a>
>  */
> public abstract class UserBean implements EntityBean {
>
>    protected EntityContext ctx;
>
>    /**
>     * @ejb.create-method
>     */
>    public com.echows.football.pk.UserPK ejbCreate(String userName, String
> password) throws CreateException {
>       setUserName(userName);
>       setPassword(password);
>
>       return null;
>    }
>
>    /**
>     * @ejb.create-method
>     */
>    public com.echows.football.pk.UserPK ejbCreate(UserValue userValue)
> throws CreateException {
>       setUserValue(userValue);
>
>       return null;
>    }
>
>    public void ejbPostCreate(String userName, String password) {
>       ;
>    }
>
>    public void ejbPostCreate(UserValue userValue) {
>       ;
>    }
>
>
>    /**
>   * Sets the password.
>   *
>   * @param   the password
>   *
>   *
>   *
>     * @ejb.interface-method
>   */
>    public abstract void setPassword(String password);
>
>    /**
>   * Gets the password.
>   *
>   * @return  the password
>   *
>   *
>   *
>   *
>     * @ejb.interface-method
>     *
>     * @ejb.transaction
>     *      type="Supports"
>     *
>     * @ejb.pk-field
>     *
>     * @ejb.persistence
>     *    column-name="password"
>     *
>     * @ejb.value-object
>     *
>     * @jboss.persistence
>     *    not-null="true"
>     *
>     *
>   *
>   */
>    public abstract String getPassword();
>
>    /**
>   * Sets the userName.
>   *
>   * @param   the userName
>   *
>   *
>   *
>     * @ejb.interface-method
>   */
>    public abstract void setUserName(String userName);
>
>    /**
>   * Gets the userName.
>   *
>   * @return  the userName
>   *
>   *
>   *
>   *
>     * @ejb.interface-method
>     *
>     * @ejb.transaction
>     *      type="Supports"
>     *
>     * @ejb.persistence
>     *    column-name="username"
>     *
>     * @ejb.value-object
>     *
>     * @jboss.persistence
>     *    not-null="true"
>     *
>     *
>   *
>   */
>    public abstract String getUserName();
>
>
>
>    /**
>   * Sets the userValue.
>   *
>   * @param   the userValue
>   *
>   *
>   *
>     * @ejb.interface-method
>   */
>    public abstract void setUserValue(UserValue userValue);
>
>    /**
>   * Sets the userValue.
>   *
>   * @param   the userValue
>   *
>   *
>   *
>     * @ejb.interface-method
>   */
>    public abstract UserValue getUserValue();
> }
>
>
>
>
> ==========================
> If you know what you are doing,
> it is not called RESEARCH!
> ==========================
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org