File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes session beans in MVC? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "session beans in MVC?" Watch "session beans in MVC?" New topic

session beans in MVC?

LakshmiNarayana vishnu
Ranch Hand

Joined: Aug 03, 2006
Posts: 39
Hi Friends,
Can i use Session beans as contrller in struts frame work?If so how can i do it?

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

No because Struts is a Web Framework that the Controller is a Front Controller Servlet. You can have Actions call EJBs if you want, but be careful and use the common design patterns for this like ServiceLocator, and Business Delegate.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
I agree. Here's the link:
subject: session beans in MVC?
It's not a secret anymore!