Below is an excerpt from an Java World article circa 1999 (author:
mailto:[EMAIL PROTECTED]) describing the difference between
Model 1 vs. Model 2.

The early JSP specifications advocated two philosophical approaches for
building applications using JSP technology. These approaches, termed the JSP
Model 1 and Model 2 architectures, differ essentially in the location at
which the bulk of the request processing was performed. In the Model 1
architecture, shown in Figure 1, the JSP page alone is responsible for
processing the incoming request and replying back to the client. There is
still separation of presentation from content, because all data access is
performed using beans. Although the Model 1 architecture should be perfectly
suitable for simple applications, it may not be desirable for complex
implementations. Indiscriminate usage of this architecture usually leads to
a significant amount of scriptlets or Java code embedded within the JSP
page, especially if there is a significant amount of request processing to
be performed. While this may not seem to be much of a problem for Java
developers, it is certainly an issue if your JSP pages are created and
maintained by designers -- which is usually the norm on large projects.
Ultimately, it may even lead to an unclear definition of roles and
allocation of responsibilities, causing easily avoidable project-management
headaches. 


I believe sun originated the terms Model 1 and Model 2 in this context.


----- Original Message -----
From: "Galbreath, Mark" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 11:20 AM
Subject: RE: Difference between MVC and MVC2 architectures


> There's no such thing as "MVC-2" (it's "Model 2") and it's not an
> architecture; it's a design pattern.  Further, what little difference
> between the two is thoroughly explained on the first page of
> jakarta.apache.org/struts.
>
> Mark
>
> -----Original Message-----
> From: bhatia10 [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 29, 2002 12:11 PM
> To: Struts Users Mailing List
> Subject: Difference between MVC and MVC2 architectures
>
>
> What is the difference between a MVC and MVC-2 architectures. How does
> Struts satisfy the MVC-2 architecture and why is it not just the MVC
> architecture.
>
> I would appreciate it if someone cud explain this briefy.
>
> Regards.
>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to