Set the jndi-name and/or local-jndi-name in your @ejb.bean tag.
The COMP_NAME will be "java:comp/env/<jndi-name>" with all "." replaced by "/".

ex:

@ejb.bean jndi-name="ejb.ObjectLib"

Will generate this in the home:
   public static final String COMP_NAME="java:comp/env/ejb/ObjectLib";
   public static final String JNDI_NAME="ejb.ObjectLib";

-----Original Message-----
From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 21, 2003 12:20
To: [EMAIL PROTECTED]
Subject: [Xdoclet-user] COMP-NAME and JNDI-NAME in home interface



    Hi,

    Is there any way to control the values of COMP-NAME and JNDI-NAME in 
the home interface generated by XDoclet? I guess that as long as you use 
the util object generated to locate the reference to the home interface 
you MUST use the values that XDoclet generates as the value in ejb-refs 
from any place that uses that util object, as the util objects uses them 
to locate the home interface. Am I right?

    Regards
    Jose



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to