File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes EJB and other Java EE Technologies and the fly likes EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB" Watch "EJB" New topic


kishore goswami

Joined: Aug 13, 2003
Posts: 18
In J2EE implementation of MVC design a model is a javabean or an EJB ?
Sergiu Truta
Ranch Hand

Joined: Dec 16, 2003
Posts: 121
Here's how James Goodwill defines the MVC components in his book "Mastering Jakarta Struts":
The Model - Represents the data objects. The Model is what is
being manipulated and presented to the user.
The View - Serves as the screen representation of the Model. It is
the object that presents the current state of the data
The Controller - Defines the way the user interface reacts to the user�s
input. The Controller component is the object that manipulates the Model, or data object.
[ February 05, 2004: Message edited by: sergiu truta ] I'm walking the path...
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
It can be both. It can also be none of those two, but plain old Java objects instead.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link:
subject: EJB
It's not a secret anymore!