This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Originally posted by Rajeev Nair: Andrew, What Web container or Web Server you deal in your book ?. I have Tomcat loaded and will that be OK to run the examples from your book. Do you have any sample chapters to look at?.
I do use the Tomcat 4.01 server in my book. As long as your version of Tomcat is at least 4.0, you should be able to run all the examples. There is a sample chapter available at the Apress website. I believe the link is Apress Thanks, Andrew
Andrew Patzer<br /> <br />Author of: <br /> <br /><a href="http://www.amazon.com/exec/obidos/ASIN/1590590201/ref=ase_electricporkchop/103-9402848-9855031" target="_blank" rel="nofollow">JSP Examples and Best Practices</a><br /> <br /><a href="http://www.amazon.com/exec/obidos/tg/detail/-/1590594118/qid=1109107718/sr=1-7/ref=sr_1_7/104-5148852-3564711?v=glance&s=books" target="_blank" rel="nofollow">Foundations of JSP Design Patterns</a>
Joined: Jul 11, 2002
Originally posted by ken chou: Andrew, How long did it take you to write this book? Could you tell us your background?
It took about 9 months from start to finish. That included some pretty long periods when I couldn't write though, so actually it breaks down to about 4 months of writing, 2 months of editing, and 1 month of waiting. That's about what it took for my first book (Professional Java Server Programming). I actually began programming using RPG on an AS/400. I know that makes me sound old, but really I'm only 31! I quickly moved to client/server development using tools like Visual Basic and PowerBuilder. Once I was bored with those, I picked up Java. In 1997, I wrote a timesheet application using Java servlets. That led me to writing my first book, since I was an early adopter of the technology and had come up with quite a few 'tricks' for using the technology to it's fullest. Since then, I have architected quite a few J2EE applications and have tried to stay current with the technology (which is very hard to keep up with!) Right now, I'm actually focusing more on the data side of things. I'm using OJB (from Jakarta Project) to create a persistence layer for a Struts application we're developing for a client. I've never been one to get pigeon-holed into a specific skillset. I like to try different things. I think that's what makes a good architect. Thanks for the question! Andrew
Previous post match my needs too. I'm very interested in integrating Servlets, JSP and Applets in a big Intranet (company) environment.
Joined: Jul 11, 2002
Originally posted by Ruilin Yang: Does your book cover file download and upload using JSP ? How about best practice for using Applet with JSP ? Thanks
No, my book does not cover that. My first book (Professional Java Server Programming - First Edition) contains a section on Applet-to-Servlet communication with a complete example. As I recall, Uploading files through JSP's is covered in Jason Hunter's book "Java Servlets". I think it shows an example using servlets, but it can be applied to JSP's as well.
So, my feeling on the subject is that it is okay to use scripting inside your pages for any kind of browser interaction, but not necessarily for application-specific logic.
I disagree. Documents are about information. Content and presentation of the content are different things. Although the two are often mixed, content and presentation should be separated. Modifying the presentation of the data should not require a modification to the content or structure of the document and vice versa. When presentation logic is mixed with content and document structure, changing the presentation becomes a task of bulk page editing - opening every file to change a scriptlet. Garrett