hi; there have been numerous mails regarding this with no real answer. browsing through the answers people gave to the posted questions i hope someone with real knowledge could shed some light on this. (by the way, this issue is poorly explained by literature also).
i am starting to use the ujb.util for my lookup. the default artifacts seem to use a physical lookup (JNDI name) and when specyfing kind="logical" on the bean, the look up is with the COMP name. coming from EJB background, of course i want to use the logical to decouple the JNDI name of the bean from the lookup code which accesses the beans. the COMP name generated is as the following pattern "java:comp/env/ejb/<@ejb.bean name>Local". my question is simple. i try to lookup this bean from other beans. should my other beans synchronize their ejb-ref according to the COMP name and change their lookup code to what specified in the COMP name? or am i wrong? can i determine what the COMP name will be using the standard tasks? (no modifying a template). if the case i do need this synchronization, than it seems to me its only worth using xdoclet util objects from standalone clients that do not run inside a client container (cant use the java:comp/env anyway) cause if i can have amximum flexibility and decoupling, and i am looking up the same bean in 20 different places, i will probably want 20 different lookup strings and bind the 20 strings to the same phisical name and this seems impossible to my understanding. i would appreciate any indepth explanation thanks in advance ____________________ Guy Katz Allot Communications [EMAIL PROTECTED] tel: +972 9 7619288 fax: +972 9 7443626 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
