In J2EE implementation of MVC design a model is a javabean or an EJB ?
Joined: Dec 16, 2003
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...
Joined: Jan 23, 2002
It can be both. It can also be none of those two, but plain old Java objects instead.