learn java
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 The Software Craftsman this week in the Agile 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
Have you tried LearnNowOnline? http://www.learnnowonline.com/
subject: struts