my dog learned polymorphism
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
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "session beans in MVC?" Watch "session beans in MVC?" New topic
Author

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?

Cheers,
Narayana
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17225
    
    1

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: session beans in MVC?
 
Similar Threads
Hibernate and stateless session beans
SF Session bean threading
�Session Beans vs Entity Beans�
controller or model
session bean or entity bean?