• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Detail in book on deployment descriptor?

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome Jayson & Kevin! How much time does the book devote to the deployment descriptor? Some books barely mention it, while others go into extreme detail. The book Core Servlets & Java Server Pages, 2nd Edition devotes barely a page to it, and defers discussion to Volume 2 of the book which isn't even out yet! I'm very new to servlets and am not sure just how important the deployment descriptor is, although it seems as if you could do a lot with it.
Thanks,
Mike
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The best way to know the Deployment descriptor is to read the spec.
 
Author
Posts: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Michael,
The book gives good coverage to the deployment descriptor. It is introduced in the first chapter (setting up Java/Tomcat) and throughout the book whe entire web.xml file is described in related sections, e.g. servlet mapping/servlet init parameters/environment variables in the Servlet chapter, mapping JSP/JSP initial parameters/JSP Configuration is covered in JSP chapter, error pages and exception handling elements are covered in the logging chapter, filter mapping and filter initial parameters are covered in the filter chapter, security-related elements are covered in the security chapter, etc....
We literally try to cover everything you can do with the deployment descriptor, but of course we try to pay the most attention to the parts of it that you will likely find most helpful.
[ January 28, 2004: Message edited by: Jayson Falkner ]
 
Ranch Hand
Posts: 1514
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Michael, the book "More Servlets and JavaServer Pages" devotes the entire chapter 5 to the deployment descriptor. Several other chapter inb the book also touch on it too.
 
Michael Cleary
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks all!
Jayson, the approach you take in the book sounds really good, expecially to a servlet newbie like me.
Thanks again,
Mike
 
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"The book gives good coverage to the deployment descriptor. It is introduced in the first chapter (setting up Java/Tomcat) " -Jayson Falkner
Hi Jayson,
Just wondering, how come you only like to give examples on Tomcat? How about example on Resin?
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Justine Jade wrote: Just wondering, how come you only like to give examples on Tomcat? How about example on Resin?
I would imagine that the point of a book such as this is to focus on the standards that all servlet container vendors should stick to. Deployment descriptors are an important part of the servlet API specification, and should be equally supported on all compliant containers.
Tomcat is the reference implementation, so it makes sense to discuss such things in the context of Tomcat. You should find that the examples work just as well on Resin.
 
Joy Jade
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, Frank.
 
You will always be treated with dignity. Now, strip naked, get on the probulator and hold this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic