|
From: Bill B. <bb...@re...> - 2008-09-23 20:23:47
|
Should be whatever JNDI you can reach the EJB at. That could be java:comp/env/WhateverYouBoundTo, or the global JNDI name of the EJB. Really anything bound in JNDI will work. Doesn't have to be an EJB. Todd Yocum wrote: > Ok, looking at the actual EJB example included in the source, I see it > also includes the name of the EAR in the JNDI name, so it would look > like its a documentation bug, is that right? > > Todd Yocum wrote: >> Hello, >> >> I am working with beta-6 of RESTEasy, and have had an issue with the >> JNDI lookup of an EJB resource. I've setup my EAR to match how the >> RESTEasy documentation recommends, but am getting an error trying to >> find the EJB unless I fully qualify the name with the name of the EAR, >> which is not what the RESTEasy docs show. >> >> I'm guessing the problem isn't really specific to RESTEasy, but how I >> have configured my EJB, since I'm relatively new to EJB/JBoss/Java. I've >> stepped through the RESTEasy code in eclipse, but couldn't spot anything. >> >> Anybody know what I'm doing wrong? >> >> Thanks! >> > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |