Monday, November 19, 2012

How to Organize the files in a project and how to deliver it to customer

To Organize the files in a java project:


To deliver the project to the customer, we use the following formats:

1. Jar(Java Archive) - For standalone appns

2. War (Web Archive) - For Webbased appns (ie Servlets & JSPs)

3. EAR ( Enterprize Archive) - For Enterprize appns  ( ie EJBs & Spring)

To create JAR or WAR files:

Class files path> jar -cvf  filename. Extension   ( The externsion may be jar or war as per our requirement)

To Extract JAR or WAR files:

Class files path> jar -xvf  filename. Extension   ( The externsion may be jar or war as per our requirement)

No comments:

Post a Comment