{"id":3034,"date":"2011-10-17T09:06:40","date_gmt":"2011-10-17T14:06:40","guid":{"rendered":"http:\/\/jianmingli.com\/wp\/?p=3034"},"modified":"2011-10-17T09:06:40","modified_gmt":"2011-10-17T14:06:40","slug":"weblogic-11g-deployment-descriptors","status":"publish","type":"post","link":"https:\/\/jianmingli.com\/wp\/?p=3034","title":{"rendered":"WebLogic 11g: Deployment Descriptors"},"content":{"rendered":"<span id=\"Overview\"><h2>Overview<\/h2><\/span>\n<p>* Uses annotations so:<br \/>\n&#8211; Requires JDK 1.5 and above.<br \/>\n&#8211; Deployment descriptors are optional<\/p>\n<span id=\"Web_app\"><h3>Web app<\/h3><\/span>\n<p>* Contains:<br \/>\n&#8211; One or more servlet or JSP<br \/>\n&#8211; Helper Java classes<br \/>\n* <a href=\"http:\/\/download.oracle.com\/docs\/cd\/E17904_01\/web.1111\/e13712\/weblogic_xml.htm#WBAPP571\">Descriptors<\/a>:<br \/>\n&#8211; <a href=\"http:\/\/java.sun.com\/xml\/ns\/javaee\/web-app_2_5.xsd\">web.xml<\/a> (optional)<br \/>\n&#8211; <a href=\"http:\/\/xmlns.oracle.com\/weblogic\/weblogic-web-app\/1.2\/weblogic-web-app.xsd\">weblgoic.xml<\/a> (optional)<\/p>\n<span id=\"EJB_modules_EB_SB_MDB\"><h3><a href=\"http:\/\/download.oracle.com\/docs\/cd\/E17904_01\/web.1111\/e13720\/toc.htm\">EJB modules<\/a> (EB, SB, MDB)<\/h3><\/span>\n<p>* Contains:<br \/>\n* Descriptors:<br \/>\n&#8211; <a href=\"http:\/\/java.sun.com\/xml\/ns\/javaee\/ejb-jar_3_0.xsd\">ejb-jar.xml<\/a><br \/>\n&#8211; <a href=\"http:\/\/xmlns.oracle.com\/weblogic\/weblogic-ejb-jar\/1.2\/weblogic-ejb-jar.xsd\">weblogic-ejb-jar.xml<\/a><br \/>\n&#8211; weblogic-cmp-rdbms-jar.xml (for CMB)<br \/>\n&#8211; <a href=\"http:\/\/xmlns.oracle.com\/weblogic\/weblogic-rdbms-jar\/1.2\/weblogic-rdbms-jar.xsd\">weblogic-rdbms-jar.xml<\/a><br \/>\n&#8211; <a href=\"http:\/\/xmlns.oracle.com\/weblogic\/persistence-configuration\/1.0\/persistence-configuration.xsd\">persistence-configuration.xml<\/a><\/p>\n<span id=\"Connector_modules\"><h3>Connector modules<\/h3><\/span>\n<p>* aka: resource adapters.<br \/>\n* Enables JEE apps to access a remote EIS.<br \/>\n* <a href=\"http:\/\/download.oracle.com\/docs\/cd\/E17904_01\/web.1111\/e13732\/weblogic_ra_xml.htm#ADAPT242\">Descriptors<\/a>:<br \/>\n&#8211; <a href=\"http:\/\/java.sun.com\/xml\/ns\/j2ee\/connector_1_5.xsd\">ra.xml<\/a><br \/>\n&#8211; <a href=\"http:\/\/xmlns.oracle.com\/weblogic\/weblogic-connector\/1.0\/weblogic-connector.xsd\">weblogic-ra.xml<\/a><\/p>\n<span id=\"Enterprise_apps\"><h3>Enterprise apps<\/h3><\/span>\n<p>* Contains one or more:<br \/>\n&#8211; web app modules<br \/>\n&#8211; EJB moduels<br \/>\n&#8211; Resource adapters<br \/>\n&#8211; Client app (optional)<br \/>\n* <a href=\"http:\/\/download.oracle.com\/docs\/cd\/E17904_01\/web.1111\/e13706\/app_xml.htm#i1007581\">Descriptors<\/a>:<br \/>\n&#8211; <a href=\"http:\/\/java.sun.com\/xml\/ns\/javaee\/application_5.xsd\">application.xml<\/a> (optional)<br \/>\n&#8211; <a href=\"http:\/\/xmlns.oracle.com\/weblogic\/weblogic-application\/1.2\/weblogic-application.xsd\">weblogic-application.xml<\/a> (optional)<br \/>\n&#8211; client-application.xml (optional)<\/p>\n<span id=\"Web_services\"><h3>Web services<\/h3><\/span>\n<p>* Implements SOAP 1.1, WSDL 1.1<br \/>\n* <a href=\"http:\/\/download.oracle.com\/docs\/cd\/E17904_01\/web.1111\/e13750\/toc.htm\">Descriptors<\/a>:<br \/>\n&#8211; <a href=\"http:\/\/java.sun.com\/xml\/ns\/javaee\/javaee_web_services_1_2.xsd\">webservices.xml<\/a><br \/>\n&#8211; <a href=\"http:\/\/xmlns.oracle.com\/weblogic\/weblogic-webservices\/1.1\/weblogic-webservices.xsd\">weblogic-webservices.xml<\/a><br \/>\n&#8211; <a href=\"http:\/\/xmlns.oracle.com\/weblogic\/weblogic-wsee-clientHandlerChain\/1.0\/weblogic-wsee-clientHandlerChain.xsd\">weblogic-wsee-clientHandlerChain.xml<\/a><br \/>\n&#8211; <a href=\"http:\/\/xmlns.oracle.com\/weblogic\/webservice-policy-ref\/1.1\/webservice-policy-ref.xsd\">weblogic-webservices-policy.xml<\/a><br \/>\n&#8211; <a href=\"http:\/\/xmlns.oracle.com\/weblogic\/weblogic-wsee-standaloneclient\/1.0\/weblogic-wsee-standaloneclient.xsd\">weblogic-wsee-standaloneclient.xml<\/a><\/p>\n<span id=\"Client_App\"><h3>Client App<\/h3><\/span>\n<p>* Descriptors:<br \/>\n&#8211; <a href=\"http:\/\/java.sun.com\/xml\/ns\/javaee\/application-client_5.xsd\">application-client.xml<\/a><br \/>\n&#8211; <a href=\"http:\/\/download.oracle.com\/docs\/cd\/E17904_01\/web.1111\/e13717\/appa.htm#SACLT231\">weblogic<\/a> <a href=\"http:\/\/xmlns.oracle.com\/weblogic\/weblogic-application-client\/1.2\/weblogic-application-client.xsd\">application-client.xml<\/a><\/p>\n<span id=\"WebLogic_Specific_Modules\"><h3>WebLogic Specific Modules<\/h3><\/span>\n<span id=\"JDBC_modules\"><h4><a href=\"http:\/\/download.oracle.com\/docs\/cd\/E17904_01\/web.1111\/e13737\/packagedjdbc.htm#JDBCA272\">JDBC modules<\/a><\/h4><\/span>\n<p>* <a href=\"http:\/\/download.oracle.com\/docs\/cd\/E17904_01\/web.1111\/e13737\/packagedjdbc.htm#JDBCA272\">Descriptors<\/a><br \/>\n&#8211; <a href=\"http:\/\/xmlns.oracle.com\/weblogic\/jdbc-data-source\/1.0\/jdbc-data-source.xsd\">FileName-jdbc.xml<\/a><\/p>\n<span id=\"JMS_modules\"><h4><a href=\"http:\/\/download.oracle.com\/docs\/cd\/E17904_01\/web.1111\/e13738\/deployjms.htm#JMSAD225\">JMS modules<\/a><\/h4><\/span>\n<p>* Descriptors:<br \/>\n&#8211; <a href=\"http:\/\/xmlns.oracle.com\/weblogic\/weblogic-jms\/1.2\/weblogic-jms.xsd\">FileName-jms.xml<\/a><\/p>\n<span id=\"WebLogic_Diagnostic_Framework_WLDF_modules\"><h4>WebLogic Diagnostic Framework (WLDF) modules<\/h4><\/span>\n<p>* <a href=\"http:\/\/download.oracle.com\/docs\/cd\/E17904_01\/web.1111\/e13714\/deploying_app_modules.htm#WLDFC283\">Descriptors<\/a>:<br \/>\n&#8211; <a href=\"http:\/\/xmlns.oracle.com\/weblogic\/weblogic-diagnostics\/1.0\/weblogic-diagnostics.xsd\">weblogic-diagnostics.xml<\/a><\/p>\n<span id=\"Auto-Generate_Descriptiors\"><h2>Auto-Generate Descriptiors<\/h2><\/span>\n<span id=\"ddinit\"><h3>ddinit<\/h3><\/span>\n<p>* Command-line utilities that<br \/>\n&#8211; examine the classes you have assembled in a staging directory<br \/>\n&#8211; build the appropriate deployment descriptors based on the servlet classes, and so on<\/p>\n<pre>\r\njava weblogic.marathon.ddinit.WebInit c:\\stage\r\njava weblogic.marathon.ddinit.EarInit c:\\stage\r\n<\/pre>\n<span id=\"weblogic.DDConverter\"><h3>weblogic.DDConverter<\/h3><\/span>\n<p>* Upgrade from previous releases<\/p>\n<pre>\r\njava weblogic.DDConverter -d c:\/temp my.ear\r\n<\/pre>\n<span id=\"Deployment_Plan\"><h2>Deployment Plan<\/h2><\/span>\n<span id=\"Descriptors\"><h3><a href=\"http:\/\/download.oracle.com\/docs\/cd\/E17904_01\/web.1111\/e13702\/understanding.htm#DEPGD114\">Descriptors<\/a><\/h3><\/span>\n<p>&#8211; <a href=\"http:\/\/xmlns.oracle.com\/weblogic\/deployment-plan\/1.0\/deployment-plan.xsd\">plan.xml<\/a><\/p>\n<span id=\"Generate_Plans\"><h3><a href=\"http:\/\/download.oracle.com\/docs\/cd\/E17904_01\/web.1111\/e13702\/config.htm#DEPGD169\">Generate Plans<\/a><\/h3><\/span>\n<p>* weblogic.PlanGenerator<\/p>\n<span id=\"References\"><h2>References<\/h2><\/span>\n<p>* <a href=\"http:\/\/download.oracle.com\/docs\/cd\/E17904_01\/web.1111\/e13706\/toc.htm\">Oracle\u00ae Fusion Middleware Developing Applications for Oracle WebLogic Server 11g Release 1 (10.3.4) Part Number E13706-04<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview * Uses annotations so: &#8211; Requires JDK 1.5 and above. &#8211; Deployment descriptors are optional Web app * Contains: &#8211; One or more servlet or JSP &#8211; Helper Java classes * Descriptors: &#8211; web.xml (optional) &#8211; weblgoic.xml (optional) EJB &hellip; <a href=\"https:\/\/jianmingli.com\/wp\/?p=3034\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[91],"tags":[],"class_list":["post-3034","post","type-post","status-publish","format-standard","hentry","category-weblogic"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p8cRUO-MW","_links":{"self":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3034","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3034"}],"version-history":[{"count":5,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3034\/revisions"}],"predecessor-version":[{"id":3658,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=\/wp\/v2\/posts\/3034\/revisions\/3658"}],"wp:attachment":[{"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3034"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3034"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jianmingli.com\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3034"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}