Hi everyone, now, as Hans has spoken already, I'd also recommend reading his book. I've read the first edition a year ago and bought the second one unseen last month. I rather seldom give praise to computer books, but O'Reilly's 'Java Server Pages' is one of the few books on JSP that - as you may only find out after- wards - really teach you something. It's fun to read, too. This is not just my own personal thinking, but also the feedback I get from my co-developers. In fact from every- one I found worth lending or at least recommending rea- ding it :) The book is often criticized (especially the first version) for making extensive use of the custom taglib Hans provided with the first edition. People saying this have not really read it from beginning to end, I say. Taglibs are meant to make things easier, but from a developer's view, they don't spare you from having to understand the details behind the scenes first, and that's the context in which the 'ora' tags live as well. Apart from that, the book takes you from the first simple steps in JSP to more and more advan- ced designs, giving a short, understandable, but always concise overview on different designs (from pure JSP implementations to alternatives including servlets and J2EE). There are chapters on load balancing | clustering, different possible approa- ches to security issues, thread safety and all such things that you sooner or later stumble about when developing real-world applications. Hans shows you all this if you just persist in your efforts. This is something that makes the book remarkable in some way. There are quite a lot of books on my shelf, some with 'Mastering', 'Professional' or 'Core' in their titles. But if I want to look up something, the first book I usually get first is 'Java Server Pages'. In the second edition, things got more difficult, for the book has grown to some degree. Coming back to the 'ora' tags: these have mostly been replaced by the JSTL now which Hans (of course) focuses on in the second edition. Still, it's alway a good idea to look at the sources (www.thejspbook.com). Apart from his fame from Gefion (try the LWS!) or the Apache Project, these are just examples of good coding IMHO, well documented and easy to understand (if you have some Java background). Some clever things to be discovered there :)
Of course, I don't agree with Hans Bergsten on all of the topics. Mostly about details. Personally, for example, I think that Strut's ActionForms (which are beans | value objects after all) are basically a good thing and not irrevocably tying you to the Struts framework, especially when it comes to the Presentation layer. You can happily use the ActionForward mechanism and just replace the View (JSP and the Struts taglibs) component in MVC with an XML/XSLT processor like Castor (www.exolabs.org) or something else with bean2xml serialization. There's a rather influential article on www.javaworld.com' by some lead developers from orbeon.com, covering the basics of the XSLT approach, I recommend reading that. But that's just an alternative, and the book is about JSP, after all. By the way: the JSTL and JSTL EL are explained in detail in the second edition, and that's still my reference on this topic. Considering Chapter 18: if I hadn't read the first edition first, which cove- red the 'action' approach, my learning curve would have been steeper. But well...nothing's perfect, after all. So, finally coming to some- thing near the end, at least, from my own experiences I'd recommend to read 'The JSP book', if you can. From that you may get on to explore other grounds, but you'll have a solid foundation, at least. Considering MVC in general, I'd recommend installing the Struts .wars, briefly studing the documentation and then analyse a 'real-world' example of MVC2, comfortably named 'struts-example.war'. This one's also got a tutorial walk-through that explains the details, but you need some background about the Struts 'action' MVC implementation for really understanding things, and it quite heavily uses the Struts taglibs. Still, this is also a good example you can learn something from. Whew. So much text, no one will read it in detail anyway, so I'm going to bed. Leaves one question: Androids may dream of electric sheep (remember Blade Runner?), but is the same thing true for developers as well? Tomorrow we might now :) Good night from -- Chris (SCPJ2) > -----Original Message----- > From: A mailing list about Java Server Pages specification > and reference [mailto:[EMAIL PROTECTED]] On Behalf Of sri sri > Sent: Tuesday, November 26, 2002 7:00 AM > To: [EMAIL PROTECTED] > Subject: servlets beans and jsp > > > Hi, > > I have been going through a lot of stuff about how an > application can be built using MVC architecture. But , I > didnt get a good site which explains a basic example using > the above structure and interacts with a database.There is a > site ...www.stardeveloper.com , which explains how to use > these three at once but the example that he has provided is > complex. Can anyone send me good links about the basics . > > Thanks in advance > > Sri > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now > > ============================================================== > ============= > 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