This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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


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: 63211
    
  69

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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: War File Contents
 
It's not a secret anymore!