File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

communicate one ejb bean to another ejb bean

 
thomas davis
Ranch Hand
Posts: 207
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Enterprise Beans are building blocks that can be used alone or with other enterprise beans to build complete
How to communicate one ejb bean to another ejb bean?
Can I call one ejb bean in another ?
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, you can call on EJB from another. You will use the same lookup code to call an ejb from another.
 
thomas davis
Ranch Hand
Posts: 207
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you please send me the code snippet,I mean how to call it ?
Is it possible to call another stateless or stateful or entity bean from another bean ?
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<hr></blockquote>
Pradeep, why not use ejb-ref if you need to avoid hardcoding the JNDI name of the other bean?

[ August 08, 2003: Message edited by: Lasse Koskela ]
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic