This content has been marked as final.
Show 7 replies
-
1. Re: Service (SAR file) that relies on an EJB...
starksm64 Nov 11, 2004 8:27 PM (in response to daorriss)The ejb container has a jmx name of the form
"jboss.j2ee:service=EJB" + ",jndiName=" + jndiName
where jndiName is the name of the home interface, or the local home if the ejb does not provide a remote home.
You can also embed the ejb jar in the sar and use the Russian doll depth first deployment order to ensure the ejb is deployed before the containing sar. -
2. Re: Service (SAR file) that relies on an EJB...
daorriss Nov 15, 2004 10:34 AM (in response to daorriss)"scott.stark@jboss.org" wrote:
The ejb container has a jmx name of the form"jboss.j2ee:service=EJB" + ",jndiName=" + jndiName
where jndiName is the name of the home interface, or the local home if the ejb does not provide a remote home.
You can also embed the ejb jar in the sar and use the Russian doll depth first deployment order to ensure the ejb is deployed before the containing sar.
Scott,
Thanks for writing back. You live in Snoqualmie Pass, eh? I didn't even know they had internet access out there now.. ;)
OK.. the second option you mentioned - I understood. And that might be doable. But the first one - that threw me off. You explained the JMX name, but I don't see how I would *access* that or why I would use it..
Thanks for your time.
DaveO -
3. Re: Service (SAR file) that relies on an EJB...
daorriss Nov 17, 2004 5:14 PM (in response to daorriss)Steve,
Still having a hard time getting your suggestion to work.. any example you can point out? -
4. Re: Service (SAR file) that relies on an EJB...
pique Nov 25, 2004 7:47 AM (in response to daorriss)
jboss.j2ee:service=EJB,jndiName=BEANNAME -
5. Re: Service (SAR file) that relies on an EJB...
pique Nov 25, 2004 7:49 AM (in response to daorriss)<mbean code="com.some.body.class.name" name="ISS:service=UUU"> <depends>jboss.j2ee:service=XXX,jndiName=YYY</depends> </mbean>
-
6. Re: Service (SAR file) that relies on an EJB...
daorriss Dec 1, 2004 12:05 AM (in response to daorriss)"pique" wrote:
<mbean code="com.some.body.class.name" name="ISS:service=UUU"> <depends>jboss.j2ee:service=XXX,jndiName=YYY</depends> </mbean>
THAT was was I needed.
THANK you. -
7. Re: Service (SAR file) that relies on an EJB...
citystory Mar 9, 2005 11:03 PM (in response to daorriss)What if the bean is on another JBoss server?
"scott.stark@jboss.org" wrote:
The ejb container has a jmx name of the form"jboss.j2ee:service=EJB" + ",jndiName=" + jndiName
where jndiName is the name of the home interface, or the local home if the ejb does not provide a remote home.
You can also embed the ejb jar in the sar and use the Russian doll depth first deployment order to ensure the ejb is deployed before the containing sar.