File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts" Watch "struts" New topic


nihar Routray

Joined: Feb 12, 2007
Posts: 2
How you can call session bean(ejb) from struts program.
please write small program
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
Writing EJB client code is no different in a Struts application than for any other type of application. Just look at the documentation you're using to write your EJBs. There will undoubtedly be examples of how to write EJB client code there.

Be aware that client code for an EJB Version 3 session bean will be different than for an EJB version 2.x session bean.

Consultant, Sima Solutions
I agree. Here's the link:
subject: struts
It's not a secret anymore!