jQuery in Action, 2nd edition*
The moose likes EJB and other Java EE Technologies and the fly likes Stateless session Bean look up Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Stateless session Bean look up" Watch "Stateless session Bean look up" New topic
Author

Stateless session Bean look up

swarupa patil
Ranch Hand

Joined: Feb 22, 2006
Posts: 62
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 29287
    
140

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.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stateless session Bean look up
 
Similar Threads
What is Multiple Deployment of an EJB?
Unable to deploy BEAN
Performance Issue at the worst...
how to create ejb client stubs?
using stateful and stateless session bean together, what happens?