wood burning stoves 2.0*
The moose likes JSP and the fly likes This weeks giveaway : Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "This weeks giveaway : "JSP Examples and Best Practices"." Watch "This weeks giveaway : "JSP Examples and Best Practices"." New topic
Author

This weeks giveaway : "JSP Examples and Best Practices".

Andrew Patzer
Author
Ranch Hand

Joined: Jul 11, 2002
Posts: 30
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>
Andrew Patzer
Author
Ranch Hand

Joined: Jul 11, 2002
Posts: 30
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
Ruilin Yang
Ranch Hand

Joined: Jan 06, 2002
Posts: 150
Does your book cover file download and upload using JSP ?
How about best practice for using Applet with JSP ?
Thanks
Velika Srbija
Ranch Hand

Joined: Jan 15, 2002
Posts: 172
Previous post match my needs too.
I'm very interested in integrating Servlets, JSP and Applets in a big Intranet (company) environment.
Andrew Patzer
Author
Ranch Hand

Joined: Jul 11, 2002
Posts: 30
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.
Garrett Smith
Ranch Hand

Joined: Jun 27, 2002
Posts: 401

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


comp.lang.javascript FAQ: http://jibbering.com/faq/
Vedhas Pitkar
Ranch Hand

Joined: Jan 27, 2001
Posts: 445
Hi Andrew !I would like to know whether there are any specific coding standards for JSP?If so, where canI find them?Plz Excuse,I'm a beginner.
Anselme Bender
Greenhorn

Joined: May 22, 2002
Posts: 21
I found quiet all of the postings very interesting.
That's why I'll try to qualify for the giveaway.


Anselme Bender<br />SCJP2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: This weeks giveaway : "JSP Examples and Best Practices".