Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes EJB and other Java EE Technologies and the fly likes Ejb$ Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Ejb$ Struts" Watch "Ejb$ Struts" New topic
Author

Ejb$ Struts

ramu chandra
Greenhorn

Joined: Nov 22, 2007
Posts: 7
how can we call ejbs from struts?give one example?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9924
    
158

The same way as you do from other parts of the application. You will have to do a JNDI lookup using the jndi-name of the bean.


[My Blog] [JavaRanch Journal]
 
 
subject: Ejb$ Struts
 
Similar Threads
Action class in Struts
Struts interview questions
InnerHTML and struts tags
URL rewrite to maintain session state
Eclipse IDE - How to set up a Struts 2 project