This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java and have Dr. Raoul-Gabriel Urma & Richard Warburton on-line!
See this thread for details.
Win a copy of Real-World Software Development: A Project-Driven Guide to Fundamentals in Java this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

How to define <ejb-link> if the ejb resides in another EAR

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello everybody,

I have 2 questions about ejb references
The first one is ,if the following relation is correct:

File "ibm-web-bnd.xmi" File "web.xml"

<ejb-ref-bindings xmi:type="common:EJBRemoteRef"> ------> <ejb-ref>
<ejb-ref-bindings xmi:type="common:EJBLocalRef"> -------> <ejb-local-ref>


The second one is, how to define the element <ejb-link>, if the referenced EJB resides in another EAR.


<ejb-ref id="EJBRef_MyBean">
<ejb-ref-name>ejb/MyBean</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>MyBeanHome</home>
<remote>MyBeanRemote</remote>
<ejb-link>???</ejb-link>
</ejb-ref>

Normally the <ejb-link> use the actual bean name, which defined in a ejb-jar.xml file. But how could he find
it if the referenced actual bean resides in another EAR?

Thanks in advance.

Jennifer
 
Always! Wait. Never. Shut up. Look at this tiny ad.
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!