WebLogic 11g: Deployment Descriptors

Overview

* Uses annotations so:
– Requires JDK 1.5 and above.
– Deployment descriptors are optional

Web app

* Contains:
– One or more servlet or JSP
– Helper Java classes
* Descriptors:
web.xml (optional)
weblgoic.xml (optional)

EJB modules (EB, SB, MDB)

* Contains:
* Descriptors:
ejb-jar.xml
weblogic-ejb-jar.xml
– weblogic-cmp-rdbms-jar.xml (for CMB)
weblogic-rdbms-jar.xml
persistence-configuration.xml

Connector modules

* aka: resource adapters.
* Enables JEE apps to access a remote EIS.
* Descriptors:
ra.xml
weblogic-ra.xml

Enterprise apps

* Contains one or more:
– web app modules
– EJB moduels
– Resource adapters
– Client app (optional)
* Descriptors:
application.xml (optional)
weblogic-application.xml (optional)
– client-application.xml (optional)

Web services

* Implements SOAP 1.1, WSDL 1.1
* Descriptors:
webservices.xml
weblogic-webservices.xml
weblogic-wsee-clientHandlerChain.xml
weblogic-webservices-policy.xml
weblogic-wsee-standaloneclient.xml

Client App

* Descriptors:
application-client.xml
weblogic application-client.xml

WebLogic Specific Modules

JDBC modules

* Descriptors
FileName-jdbc.xml

JMS modules

* Descriptors:
FileName-jms.xml

WebLogic Diagnostic Framework (WLDF) modules

* Descriptors:
weblogic-diagnostics.xml

Auto-Generate Descriptiors

ddinit

* Command-line utilities that
– examine the classes you have assembled in a staging directory
– build the appropriate deployment descriptors based on the servlet classes, and so on

java weblogic.marathon.ddinit.WebInit c:\stage
java weblogic.marathon.ddinit.EarInit c:\stage

weblogic.DDConverter

* Upgrade from previous releases

java weblogic.DDConverter -d c:/temp my.ear

Deployment Plan

Descriptors

plan.xml

Generate Plans

* weblogic.PlanGenerator

References

* Oracle® Fusion Middleware Developing Applications for Oracle WebLogic Server 11g Release 1 (10.3.4) Part Number E13706-04

This entry was posted in weblogic. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


*

This site uses Akismet to reduce spam. Learn how your comment data is processed.