Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Andrew Patzer
Author
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Author
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does your book cover file download and upload using JSP ?
How about best practice for using Applet with JSP ?
Thanks
 
Velika Srbija
Ranch Hand
Posts: 172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
 
Vedhas Pitkar
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found quiet all of the postings very interesting.
That's why I'll try to qualify for the giveaway.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic