How to Make Jar/War Archive with Java Classes


To be processed correctly, your jar/war archives with the compiled Java classes should have the certain structure of folders. They include the com folder containing all Java classes of your site/application. This folder has the same structure as the project directory.

The following image demonstrates the structure of jar/war archive:



And here is the structure of com folder in this archive:



The sequence of embedded folders (\com\google\gwt\sample\stockwatcher\ in this example) is the same as in the project folder.

Next page