The problem is that the java:comp namespace is only available to application assicated with the namespace. So if you are running a java client in it's own JVM then only the global JNDI name space is available. So why not always use the global namespace?
David Budworth wrote: > I think the confusion is coming from the fact that JBoss doesn't > automatically bind all EJBs into the cmp: namespace. > > Which makes getHome() completely useless. > > If util.getHome() used the JNDI name instead it work work. > > But as it stands now, you must make an ejb-ref to any bean who's util > class you plan on using. > > I didn't think any appserver bound all ejbs into cmp: namespace. So I'm > not sure it's implemented to use COMP_NAME anyway. > > -david > > On Tue, 22 Jan 2002, Rickard wrote: > > >>Dave Smith wrote: >> >> >>>In the util class for the getHome() method it uses the COMP_NAME to >>>lookup the home class. Well JBOSS does not support that namespace ... >>> >> >>Yes it does. Why makes you think it doesn't? >> >>/Rickard >> >>-- >>Rickard �berg >>Author of "Mastering RMI" >>Chief Architect, TheServerSide.com >> The Middleware Company - We Build Experts! >> >> >>_______________________________________________ >>Xdoclet-devel mailing list >>[EMAIL PROTECTED] >>https://lists.sourceforge.net/lists/listinfo/xdoclet-devel >> > _______________________________________________ Xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
