Hello,

after generating a Home with XDoclet, i get two different constants in this 
Home class:

public static final String 
COMP_NAME="java:comp/env/ejb/TopograhpyPoolManagementService";
  |    public static final String 
JNDI_NAME="ejb/TopograhpyPoolManagementService";

There is one utility class generated for creation of the Home object. This 
class has a method lookup which uses the comp_name, but if i use this method i 
get a name not bound exception. If i use the jndi_name it works. But this files 
are generated by xdoclet and so i doesn't want not modify them.

Whats the difference betwenn this constants? Why is it not working with the 
comp constant.

I'am using JBoss 4.0.

best regards 
sven

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861022#3861022

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861022


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to