File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 9321
    
  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: 548

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