File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Stateless session Bean look up

 
swarupa patil
Ranch Hand
Posts: 62
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I am new to EJB 3.0.
I need help to lookup for my stateless session bean.
I developed one sesison bean. I want to use this bean
in my web project.
Can any one give me the steps to do this?

I am using Sun application server 9.1.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33697
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The steps differ based on where you are calling the EJB from within your web layer. If you are calling the EJB directly from a servlet, you can use an annotation to inject the EJB. Otherwise, you need to look up the EJB using JNDI.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic