Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

session beans in MVC?  RSS feed

 
LakshmiNarayana vishnu
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
Can i use Session beans as contrller in struts frame work?If so how can i do it?

Cheers,
Narayana
 
Mark Spritzler
ranger
Sheriff
Posts: 17309
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!