This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Servlets and the fly likes War File Contents Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "War File Contents" Watch "War File Contents" New topic
Author

War File Contents

Lou Pelagalli
Ranch Hand

Joined: Nov 11, 2003
Posts: 150
    
    1
Hi,

Is is customary in a war file build for server deploymnet to include the source files (.java) and generated javadoc? Anything else included in the war file that is not needed to run?

If it is not in the war file, were are the non-run production files kept?

Thanks,

Lou
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61449
    
  67

Lou Pellegrini wrote:Is is customary in a war file build for server deploymnet to include the source files (.java) and generated javadoc?

No.

Anything else included in the war file that is not needed to run?

Why would you want to include anything not required for execution?

If it is not in the war file, were are the non-run production files kept?

In a source control repository.

Or is it a client requirement to delver the source along with the working program? If so, I'd provide it in a completely separate zip archive. No need stuffing cruft into the war file.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Lou Pelagalli
Ranch Hand

Joined: Nov 11, 2003
Posts: 150
    
    1
Thank you Bear!
 
Consider Paul's rocket mass heater.
 
subject: War File Contents