| Author |
MVC design pattern
|
kri shan
Ranch Hand
Joined: Apr 08, 2004
Posts: 1300
|
|
|
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.
|
 |
 |
|
|
subject: MVC design pattern
|
|
|