Robert S. Sfeir wrote:
> Hopefuly Hans will read this:
>
> Does the new edition cover MVC Extensively?  I find it hard to find
> enough info on that framework... or I should say there could not be
> enough information on the framework.  It seems there are so many
> different approaches to it, and every author has their own way of
> implementing it.

It does. I introduce the MVC pattern in Part I. In Part II, I use JSP
pages for both the Controller and View role and often a bean as the
Model. That's because this part of the book should be readable by
people who are not hardcore programmers. Part III deals with what you
most likely have in mind. One chapter gives a more detailed overview
of what MVC is and how it applies to web applications, assigning the
MVC roles to various J2EE component types and gives advice on when
to use which type. Another chapter provides a complete example with
a servlet as the Controller, JSP pages as the View and a bean as the
Model, plus the new listener and filter component types for function-
ality that is better represented by these component types instead of a
servlet (as was the norm before Servlet 2.3). Finally, one chapter deals
with beans and things to think about when designing beans for a web
application, such as using a bean as the Model.

> The book I am reading now (Advance JavaServer Pages) seems to extract
> the presentation layer (V) from the Model and Controller (MC), but what
> I am trying to find out is how I can FURTHER separate the Model and
> Controller because right now it feels like MC + V and not M + V + C.
>
> In any case if anyone has any reference I can get my hands on to look
> at yet another MVC approach I would really appreciate it.  (Yes I know
> about struts, but I want to write my own framework :-)  )

Of course you do :-) I use Struts in the complete example with a servlet
Controller, but I go through all the Struts methods of interest so you
can follow a similar pattern if you want to develop your own framework.

In addition, the second edition is completely revised to cover all
new JSP 1.2 features and the JSP Standard Tag Library (JSTL) 1.0. Some
readers of the first edition have accused me of hiding all the good
stuff in my own custom actions (I didn't; the implementation of the
most interesting actions were described in Part II, and all source
code is available as well). I hope they will be glad to find that almost
all custom actions have been replaced by JSTL actions in the second
edition.

Hans
> On Friday, August 9, 2002, at 08:35 AM, Ivey, Brian wrote:
>
>> I strongly agree with this recommendation. I am reading this book
>> right now.
>> A new edition is coming out in about a week. You may want to wait for
>> it.
>>
>> -----Original Message-----
>> From: Paul Foxton [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, August 09, 2002 4:48 AM
>> To: [EMAIL PROTECTED]
>> Subject: Re: Suggestion for JSP book
>>
>>
>> In general I steer clear of wrox books now.
>>
>> The information is generally ok but their proof-reading isn't up to
>> much,
>> I've bought a few wrox books and they're always littered with errors.
>> I'm
>> sure others would disagree but thats my experience.
>>
>> Personally I would recommend JavaServer Pages (2nd edition) by Hans
>> Bergsten
>> (O'reilly) - its by far the best I've seen for an introductory text.
>>
>> You'll also find Hans posting on this list, his posts are always
>> knowledgable and informative. If you only buy one jsp book buy this
>> one.
>>
>>
>>
>>> -----Original Message-----
>>> From: Ganesh Kamath D (RBIN/DBA-JOT) *
>>> [mailto:[EMAIL PROTECTED]]
>>> Sent: Friday, August 09, 2002 5:53 AM
>>> To: [EMAIL PROTECTED]
>>> Subject: Suggestion for JSP book
>>> Importance: High
>>>
>>>
>>> I am planning to learn JSP and implement my next project in it. I came
>>> across these 3 books:
>>>
>>> 1. Professional Java Server Programming J2EE 1.3 Edition (Wrox) 2.
>>> Professional JSP 2nd Edition (Wrox) 3. J2EE Unleashed (SAMS,
>>> Techmedia)
>>>
>>> Pls suggest which is best. Also suggest me if there are better books.
>>>
>>> thanks and regards,
>>> Ganesh
>>>
>>> ===============================================================
>>> ============
>>> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>>> JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body:
>>> "set
>>> JSP-INTEREST DIGEST".
>>> Some relevant FAQs on JSP/Servlets can be found at:
>>>
>>> http://archives.java.sun.com/jsp-interest.html
>>> http://java.sun.com/products/jsp/faq.html
>>> http://www.esperanto.org.nz/jsp/jspfaq.jsp
>>> http://www.jguru.com/faq/index.jsp
>>> http://www.jspinsider.com
>>>
>>
>> =======================================================================
>> ====
>> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>> JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set
>> JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found
>> at:
>>
>>  http://archives.java.sun.com/jsp-interest.html
>>  http://java.sun.com/products/jsp/faq.html
>>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>>  http://www.jguru.com/faq/index.jsp
>>  http://www.jspinsider.com
>>
>> =======================================================================
>> ====
>> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>> JSP-INTEREST".
>> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>> DIGEST".
>> Some relevant FAQs on JSP/Servlets can be found at:
>>
>>  http://archives.java.sun.com/jsp-interest.html
>>  http://java.sun.com/products/jsp/faq.html
>>  http://www.esperanto.org.nz/jsp/jspfaq.jsp
>>  http://www.jguru.com/faq/index.jsp
>>  http://www.jspinsider.com
>
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
> http://archives.java.sun.com/jsp-interest.html
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.jsp
> http://www.jguru.com/faq/index.jsp
> http://www.jspinsider.com
>


--
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com
JavaServer Pages        http://TheJSPBook.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to