aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes MVC design pattern Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "MVC design pattern " Watch "MVC design pattern " New topic
Author

MVC design pattern

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1368
In the MVC design pattern, why don't we assign EJB as a controller ?
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Originally posted by kri shan:
In the MVC design pattern, why don't we assign EJB as a controller ?



I think MVC design pattern, in Controller is main structure of program but MVC is suitable in Web Tier more than Business Tier.

When you want to use EJB , the Controller of MVC to call EJB Controller in Business tier.

So, you can implement EJB Controller with MVC Concept.

------- In my job , i separate EJB Controller in business tierwhich it's flexible and faster to develope.


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
PNS Subramanian
Ranch Hand

Joined: Jul 13, 2004
Posts: 150
From my understanding of business tier,
the stateless session ejb does act as a Controller;
the stateful session bean as a business process and
the entity bean as a model.
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Originally posted by PNS Subramanian:
From my understanding of business tier,
the stateless session ejb does act as a Controller;
the stateful session bean as a business process and
the entity bean as a model.


I'm agree with you.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: MVC design pattern
 
Similar Threads
Where to go from here?
difference between mvc and mvc2 ??
design patterns to separate the task of writing the GUI screens and business logic
Struts selection
MVC - A PATTERN OR A FRAMEWORK?