The DeployableObject interface is an abstract representation
of a Java EE deployable module (JAR, WAR, RAR, EAR). A
DeployableObject provides access to the module's deployment
descriptor and class files.
Retrieve the specified class from this deployable module.
One use: to get all finder methods from an EJB
If the tool is attempting to package an module
and retrieve a class from the package, the class
request may fail. The class may not yet be
available. The tool should respect the manifest
Deprecated.As of version 1.1 replaced by
Returns the DTD version number given in the XML
DOCTYPE text provided in every standard Java EE module's
deployment descriptor file.
a string containing the DTD version number
A module's deployment descriptor file always contains
a document type identifier, DOCTYPE. The DOCTYPE statement
contains the module DTD version number in the label of the
The format of the DOCTYPE statement is:
<!DOCTYPE root_element PUBLIC
root_element - is the name of the root document in the DTD.
organization - is the name of the organization responsible
for the creation and maintenance of the DTD
label - is a unique descriptive name for the public text being
language - is the ISO 639 language id representing the natural
language encoding of th DTD.
location - is the URL of the DTD.
An example Java EE deployment descriptor DOCTYPE statement is:
In this example the label is, "DTD J2EE Application Client 1.3",
and the DTD version number is 1.3. A call to getModuleDTDVersion
would return a string containing, "1.3".
This method is being deprecated. With the addition of multiple
deployment descritors in components for J2EE 1.4 this method is
being replaced by DDBeanRoot.getDDBeanRootVersion.