It seems you are waiting for the home interface to be bound to the JNDI.
This might be a naive question as I haven't tried creating a dependency on
an EJB, but can't you define the depend to be
jboss.j2ee:jndiName=...,service=...? I'm assuming that if the home
interface is bound that the EJB must be able to be manufactured at that
stage.

Otherwise, could you implement a simple polling in your MBean to keep
trying to locate the home interface in JNDI until it is available? Crude
but operational, I suppose.

JonB

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Ittay Dror
> Sent: Thursday, 26 June 2003 2:25 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] execute some command at end of
> deployment/startup
>
>
> why use the web side of things? what i want to initialize is my beans.
> ins't there a j2ee way of doing that?
>
> thanx,
> ittay

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to