I'm completely mystified that I can't (easily!) find Oracle's latest reference specifications for JAR, WAR and EAR file structures. By this I mean:
JARs
MANIFEST-INF
MANIFEST.MF
WARs
MANIFEST-INF
WEB-INF
web.xml
or any other config filesEARs
application.xml
and any other config filesNot only can I not find any of these items, I can't even find something off the Oracle site (docs.oracle.*) entitled "WAR File Specification", "EAR File Specification" or their likes. Am I completely missing something here?
The search results I do find are for servlet specifications, and old versions of servlets at that (2.2, etc.).
I'm looking for the definitive URLs that tell me exactly how I need to structure and configure my JARs, WARs and EARs according to the latest specs. Thanks in advance.
(I assume you meant META-INF and not MANIFEST-INF...)
JARs:
Latest is Java7, see http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html for all of the three listed above:
WARs
All these specs are quite "normalized", i.e. distributed and referencing various other sources. Since Oracle took over Sun all the links are in the same lousy state as all the other Oracle documentation :-/
Hope that helps.
Is Packaging Applications - The Java EE 6 Tutorial what you seek?
Update
I normally hesitate to post links I found from the Wikipedia pages, but some of these look like the latest specifications (Java 6) and are quite detailed.
Java EE : XML Schemas for Java EE Deployment Descriptors is tagged as December 10th, 2009 but states that it is the latest version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With