aspose file tools*
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
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB" Watch "EJB" New topic
Author

EJB

kishore goswami
Greenhorn

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
objects.
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 ]

...watch me...as I'm walking the path...
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: EJB