> > I want my beans to have JNDI names in the style of ejb/beanname.
> > Problem is, for bean with local interface only (eg. local CMP entity
> > beans)
> > the jndi-name attribute of the @ejb:bean tag doesn't work. Well it
> works
> > but
> > if puts my only the beanname as jndi name in jboss.xml. If I use the
> > local-jndi-name attribute it works, however this of course puts
> > local-jndi-name tags in my jboss.xml. Those local-jndi-names don't
> work
> > for
> > me because JBoss has trouble with finding the beans in JNDI then.
> >
> > Has anyone had similar problems?
>
> Use local-jndi-name for local beans, jndi-name is for remote ones. I
> don't know about local-jndi-name in jboss.xml, but I've heard jboss2.4
> can't lookup from global jndi namespace (or something like that). I'm
> sure Vincent or Dimtri will comment on it....

yeah, I'm still trying to get my head around this one.  As soon as I know
how I'm suppose to make my local beans available in jndi I'll ensure XDoclet
can do it with a tag.  Problem at the moment is my understanding of JBoss -
as you noticed, local-jndi-name doesn't seem to work :(

cheers
dim


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to