I have a JBoss server runing in machine TTT1 and it needs to use a bean that resides
in the JBoss server in TTT2.
The 2.0 Draft Specification says I should use <ejb-ref> in my first server to identify
the bean in the second server. This works fine, except I cannot determine the correct
coding of the link string <ejb-link>. What is the type: of the URL for the <ejb-link>
reference?
Following is an example of the ejb reference block I have in the xml.
<ejb-ref>
<description>Sample bean generated by coolgen placed here for ease of
early testing</description>
<ejb-ref-name>ejb/S_STRESS_31K</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>cool.models.coop07.java.S_STRESS_31KpsHome</home>
<remote>cool.models.coop07.java.S_STRESS_31Kps</remote>
<ejb-link>jndi://ttt1.ca.com:1099/S_STRESS_31Kps</ejb-link>
</ejb-ref>
BTW: When I create an initial context with
~factory.initial=org.jnp.interfaces.NamingContextFactory, and
~provider.url=ttt1.ca.com:1099
I can lookup the remote home objects and use them.
Tim Tye
Computer Associates
Senior Software Developer
tel: +1 972 801-6436
fax: none
pager: none
mobile: +1 214 924-6396
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]