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
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "MVC design pattern " Watch "MVC design pattern " New topic
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.
 
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: MVC design pattern
 
Similar Threads
Where to go from here?
difference between mvc and mvc2 ??
Struts selection
design patterns to separate the task of writing the GUI screens and business logic
MVC - A PATTERN OR A FRAMEWORK?