This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Automated "deployment descriptor" /xml creation?" Watch "Automated "deployment descriptor" /xml creation?" New topic
Author

Automated "deployment descriptor" /xml creation?

Marvin Harrison
Greenhorn

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.
 
 
subject: Automated "deployment descriptor" /xml creation?
 
Similar Threads
wsjspc ant task
struts/jboss/tomcat application not working
new to servlets
Servlets-3b Ant deploy issue
STEP-BY-STEP creating a WAR file