1..war is actually .zip format, you can use Winzip to do one, want to compress it into .zip and change the suffix name to WAR, just pay attention to the level of compression and the position of the corresponding configuration file. It is generally used to create a wizard of the development tool.
2. WAR package is generally a file used for publishing, usually not imported in other projects, only JAR package will import into other projects, doing a 3.war file in engineering properties like a compressed package, is To integrate web applications, if you import WAR into your project, see what you are, if you want to use the class, you will import it directly in the properties of the project, but you can only use the Class file inside (that is You said the ordinary class). If you want to call this WAR package in other WAR packages, you must put the packets you want to play in the properties of the current WAR package, so you can call it. You can call.
But the truly practice is to put your War, Jar to an EAR package, release it together. 4. WAR is like a directory. WAR internal uses relative path or directory name (this name will be the name of the WAR). Note that the file under the directory is compressed, and should not directly compress the directory. (Computed into ZIP Renaissance Estimation) This should be no problem.