This week's book giveaway is in the Open Source forum.
We're giving away four copies of RabbitMQ in Depth and have Gavin Roy on-line!
See this thread for details.
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

Win a copy of RabbitMQ in Depth this week in the Open Source forum!
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