File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Automated Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Automated "deployment descriptor" /xml creation?" Watch "Automated "deployment descriptor" /xml creation?" New topic

Automated "deployment descriptor" /xml creation?

Marvin Harrison

Joined: Mar 03, 2005
Posts: 20
Understand now how to build the basic deployment descriptor, get servlets up, it's a blast.

Currently for each app, I just copy the WEB-INF and META-INF, including all files/web.xml file from one old app, and replace the class name and servlet mapping name with those of the NEW app.

This is fairly quick but curious if, via an IDE, or other means it can be faster.

I read that certain "java web-application" deployment tools can auto-create the web.xml file.(no specifics given)

Have ANT installed, never used it yet, plan to start this weekend-

Also read ANT can auto-create the web.xml file, but it's only a skeleton, in which case, what's the point, unless ANT auto-creates all of the needed subdirs as well.(hope it does, this will save copy/paste time of dirs/files)

Thank you, this isn't posted in ANT forum, in case there are alternate suggestions, though am suspecting that will be dominant.
James Carman
Ranch Hand

Joined: Feb 20, 2001
Posts: 580
You might want to check out XDoclet.

James Carman, President<br />Carman Consulting, Inc.
I agree. Here's the link:
subject: Automated "deployment descriptor" /xml creation?
It's not a secret anymore!