Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

War File Contents

 
Lou Pelagalli
Ranch Hand
Posts: 150
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Lou Pelagalli
Ranch Hand
Posts: 150
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Bear!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic