[EMAIL PROTECTED] wrote:
>
> Hi folks,
>
> one question about the JNDI service.
> Is it not possible to use a composite JNDI name for a bean like e.g.
> "ejb/MyBean" as it is proposed by SUN in the EJB specification?
>
> Tried it but it does not seem to work. When taking a look at the bound
> JNDI names via the admintool, I just see the ejb name being bound.
>
> Any ideas?
>
The standard rmiregistry does not support composite names, and the
jeremie registry does the same up to now. In a future version, this
will be supported. So today, you cannot use composite name as jndi names
for your beans.
Another way to access a bean (from another bean) is to use
java:comp/env/ejb/...
but this does not work too, because it's not yet supported in jonas.
This should
be fixed in a next version...
--
Philippe Durieux ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bull - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED]
-> Download our EJBServer at http://www.evidian.com/ejb <-
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".