File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes what is mean by j2ee deployment descriptore and runtime deployment descriptor? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "what is mean by j2ee deployment descriptore and runtime deployment descriptor?" Watch "what is mean by j2ee deployment descriptore and runtime deployment descriptor?" New topic
Author

what is mean by j2ee deployment descriptore and runtime deployment descriptor?

mohit mehta
Greenhorn

Joined: Sep 07, 2004
Posts: 7
please help me this is interview question?
what is the use of two different type of deployment descriptor?
1 J2EE deployment descriptor.
2 runtime deployment descriptor
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

I dont know what is run-time deployment descriptor. J2EE deployment descriptor is assocaiated with J2EE application and configures the deployment component. For example application.xml is assocaiated with ear application.

More here
http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/deployment/deployment5.html


Groovy
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
There are two types of deployment descriptors: J2EE and runtime.

A J2EE deployment descriptor
is defined by a J2EE specification and can be used to configure deployment settings on any J2EE-compliant implementation.

A runtime deployment descriptor
is used to configure J2EE implementation-specific parameters. For example, the Sun Java System Application Server Platform Edition 8 runtime deployment descriptor contains information such as the context root of a Web application, the mapping of portable names of an application's resources to the server's resources, and Application Server implementation-specific parameters, such as caching directives.

The Application Server runtime deployment descriptors are named sun-moduleType.xml and are located in the same directory as the J2EE deployment descriptor.


Reference Website
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Overview5.html


SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8919

So A runtime deployment descriptor is a vendor specific DD.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: what is mean by j2ee deployment descriptore and runtime deployment descriptor?