wood burning stoves 2.0*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Any pattens before access EJB when using 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 » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Any pattens before access EJB when using Struts" Watch "Any pattens before access EJB when using Struts" New topic
Author

Any pattens before access EJB when using Struts

sarah Marsh
Ranch Hand

Joined: Mar 06, 2001
Posts: 282
Hello:

Are there any pattens could/better to be used before access EJB when using Struts?

Thanks a lot!
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Business Delegate?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Bruno Casneuf
Greenhorn

Joined: Jun 21, 2004
Posts: 2
Hi,

you could use the combination: business delegate-service locator-session fa´┐Żade.

Bruno
sarah Marsh
Ranch Hand

Joined: Mar 06, 2001
Posts: 282
Does it mean calling the business delegate from Struts Action class?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Yep.
 
 
subject: Any pattens before access EJB when using Struts
 
Similar Threads
How to access a Bean in From Separate EAR.
Design patterns
How to include EJB modules?
Network Bandwidth consumed, slows application
EJB 3, EJB Share in SCEA 5 Exam