Dain, the point that is not documented anywhere (AFAIK) is that local interfaces are by default bound in the local/ context.
So, if your bean is "ABean" and you do not specify anything in the jboss.xml file, you should do a lookup for "local/ABean". > -----Mensaje original----- > De: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]En nombre de Dain > Sundstrom > Enviado el: lunes, 26 de noviembre de 2001 0:10 > Para: 'marc fleury'; Hunter Hillegas; JBoss Dev > Asunto: RE: [JBoss-dev] Local Interfaces in Rabbit Hole - Working? > > > Actually I didn't write the local interface code. I'll assume > that you are > using an integrated stack (integrated web server). Did you use the > local-jndi-name in the jboss.xml file, which I did write? It looks like > this: (I'm typing this on the fly so there may be errors) > > <jboss> > <enterprise-beans> > <entity> > <ejb-name>OrderEJB</ejb-name> > <local-jndi-name>commerce/Order</local-jndi-name> > </entity> > </enterprise-beans> > </jboss> > > I know this works between EJBs, and it works with regular classes. I have > not tested from a web tier, because I didn't know one was integrated yet. > > -dain > > > -----Original Message----- > > From: marc fleury [mailto:[EMAIL PROTECTED]] > > Sent: Sunday, November 25, 2001 4:46 PM > > To: Hunter Hillegas; JBoss Dev > > Subject: RE: [JBoss-dev] Local Interfaces in Rabbit Hole - Working? > > > > > > I will let dain answer this, but afaik his stuff relies on it so if it > > wasn't implemented you would see it. > > > > For the record, I will mention that only NEW features where > > added to RH, it > > is not like we went I rewrote the stuff, in fact MOST of the > > codebase in RH > > is the old one. We are rewriting as we go, but stuff that > > dramatically > > changes from one to the other just shouldn't be there. > > > > That being said is there a test for local stuff in RH? We > > would need to run > > that and make sure. > > > > marcf > > > > |-----Original Message----- > > |From: [EMAIL PROTECTED] > > |[mailto:[EMAIL PROTECTED]]On Behalf Of > > |Hunter Hillegas > > |Sent: Sunday, November 25, 2001 4:43 PM > > |To: JBoss Dev > > |Subject: [JBoss-dev] Local Interfaces in Rabbit Hole - Working? > > | > > | > > |Is local interface support completely implemented in Rabbit > > Hole at this > > |point? > > | > > |I thought that it was but I am having trouble with my app > > that uses only > > |local interfaces... > > | > > |Basically any attempt to grab beans via their local > > interfaces from my > > |servlets fail with a NameNotFound exception. I verified the > > JNDI names in > > |the Jboss Web console but integrated Jetty fails to track them down. > > | > > |Julian Gosnell suggested that perhaps local interfaces were > > not completely > > |implemented... > > | > > |I was wondering if that is the case... > > | > > |Thanks for any info, > > |Hunter > > | > > | > > |_______________________________________________ > > |Jboss-development mailing list > > |[EMAIL PROTECTED] > > |https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > _______________________________________________ > > Jboss-development mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development