wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts2 Calling a Stateless Session Bean from my Action class 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 » Frameworks » Struts
Bookmark "Struts2 Calling a Stateless Session Bean from my Action class" Watch "Struts2 Calling a Stateless Session Bean from my Action class" New topic
Author

Struts2 Calling a Stateless Session Bean from my Action class

RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528

Can any body please help me with this :

How can i call my SessionBean (EJB3.0) from my Struts Action class.
Any links(examples) avialable for this purpose

Thanks in Advance.


If you want something you never had do something which you had never done
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9280
    
  17

Ravi can you look at this although it is incomplete but still it might help...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Celinio Fernandes
Ranch Hand

Joined: Jun 28, 2003
Posts: 547

You can do a basic lookup, it will work.
ps:
Injecting your EJB is something different


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCBCD 5
Visit my blog
RaviNada Kiran
Ranch Hand

Joined: Jan 30, 2009
Posts: 528
Ankit Garg wrote:Ravi can you look at this although it is incomplete but still it might help...


Hey Ankit Your link really helped me .

Thanks a lot .Have a great days ahead
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts2 Calling a Stateless Session Bean from my Action class
 
Similar Threads
how to use sendResponse in action class?
Struts 1.0.1 using Wsad
Newbie: Struts 1 -> Passing from one struts action to another
Struts2 - Single action class vs. multiple action classes
JSP Radio button value retrieval