geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hernan Cunico <hcun...@gmail.com>
Subject Re: Help needed in creating enterprise application deployment plan
Date Wed, 13 Jun 2007 13:56:15 GMT
Did you see these docs
http://cwiki.apache.org/GMOxDOC11/deployment-plans.html

There are also some sample apps here
http://cwiki.apache.org/GMOxDOC11/sample-applications.html

HTH

Cheers!
Hernan

krishj wrote:
> Hi,
> 
> I am new to WAS CE. i have given a job of deploying EJB application in
> WASCE.
> But i am not sure about how to prepare the deployment plan.
> 
> i used WSAD for developing the application. it generated 3 xml files.
> 1.application.xml
> 2.ejb-jar.xml
> 3.web.xml
> 
> Now i need to write geronimo-application.xml
> can anyone help me on this ?
> 
> application.xml file:
> 
> <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
> Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
> <application id="Application_ID">
> <display-name>NamEAR</display-name>
> <module id="EjbModule_1094665284328">
> <ejb>NamService.jar</ejb>
> </module>
> <module id="WebModule_1108531169734">
> <web>
> <web-uri>NamWeb1.war</web-uri>
> <context-root>NamWeb</context-root>
> </web>
> </module>
> </application>
> 
> 
> ejb-jar.xml:
> 
> <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
> JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
> <ejb-jar id="ejb-jar_ID">
> <display-name>NamService</display-name>
> <enterprise-beans>
> 
> <session id="WorkAssignBean"> 
> <ejb-name>WorkAssignBean</ejb-name>
> <home>com.nam.facade.workassign.WorkAssignHome</home>
> <remote>com.nam.facade.workassign.WorkAssign</remote>
> <ejb-class>com.nam.service.workassign.WorkAssignBean</ejb-class>
> <session-type>Stateless</session-type>
> <transaction-type>Container</transaction-type>
> </session>
> 
> <session id="ContractBean">
> <ejb-name>ContractBean</ejb-name>
> <home>com.nam.facade.contract.ContractHome</home>
> <remote>com.nam.facade.contract.ContractRemote</remote>
> <ejb-class>com.nam.service.contract.ContractBean</ejb-class>
> <session-type>Stateless</session-type>
> <transaction-type>Container</transaction-type>
> </session>
> 
> 
> <session id="Client">
> <ejb-name>Client</ejb-name>
> <home>com.nam.facade.client.ClientHome</home>
> <remote>com.nam.facade.client.ClientRemote</remote>
> <ejb-class>com.nam.service.client.ClientBean</ejb-class>
> <session-type>Stateless</session-type>
> <transaction-type>Container</transaction-type>
> </session>
> 
> <session id="ResourceAllocation">
> <ejb-name>ResourceAllocation</ejb-name>
> <home>com.nam.facade.resourceAllocation.ResourceAllocationHome</home>
> <remote>com.nam.facade.resourceAllocation.ResourceAllocationRemote</remote>
> <ejb-class>com.nam.service.resourceAllocation.ResourceAllocationBean</ejb-class>
> <session-type>Stateless</session-type>
> <transaction-type>Container</transaction-type>
> </session>
> 
> 
> <session id="Module">
> <ejb-name>Module</ejb-name>
> <home>com.nam.facade.module.ModuleHome</home>
> <remote>com.nam.facade.module.ModuleRemote</remote>
> <ejb-class>com.nam.service.module.ModuleDetailsBean</ejb-class>
> <session-type>Stateless</session-type>
> <transaction-type>Container</transaction-type>
> </session>
> 
> <session id="ProjectList">
> <ejb-name>ProjectList</ejb-name>
> <home>com.nam.facade.project.ProjectHome</home>
> <remote>com.nam.facade.project.ProjectRemote</remote>
> <ejb-class>com.nam.service.project.ProjectBean</ejb-class>
> <session-type>Stateless</session-type>
> <transaction-type>Container</transaction-type>
> </session>
> 
> <session id="ScopeBean">
> <ejb-name>ScopeBean</ejb-name>
> <home>com.nam.facade.scope.ScopeHome</home>
> <remote>com.nam.facade.scope.ScopeRemote</remote>
> <ejb-class>com.nam.service.scope.ScopeBean</ejb-class>
> <session-type>Stateless</session-type>
> <transaction-type>Container</transaction-type>
> </session>
> <session id="ClientEmail">
> <ejb-name>ClientEmail</ejb-name>
> <home>com.nam.facade.clientEmail.ClientEmailHome</home>
> <remote>com.nam.facade.clientEmail.ClientEmailRemote</remote>
> <ejb-class>com.nam.service.clientEmail.ClientEmailBean</ejb-class>
> <session-type>Stateless</session-type>
> <transaction-type>Container</transaction-type>
> </session>
> <session id="TreeBean">
> <ejb-name>TreeBean</ejb-name>
> <home>com.nam.facade.tree.TreeHome</home>
> <remote>com.nam.facade.tree.TreeRemote</remote>
> <ejb-class>com.nam.service.tree.TreeBean</ejb-class>
> <session-type>Stateless</session-type>
> <transaction-type>Container</transaction-type>
> </session>
> <session id="Report">
> <ejb-name>Report</ejb-name>
> <home>com.nam.facade.report.ReportHome</home>
> <remote>com.nam.facade.report.ReportRemote</remote>
> <ejb-class>com.nam.service.report.ReportBean</ejb-class>
> <session-type>Stateless</session-type>
> <transaction-type>Container</transaction-type>
> </session>
> <session id="Error">
> <ejb-name>Error</ejb-name>
> <home>com.nam.facade.error.ErrorHome</home>
> <remote>com.nam.facade.error.ErrorRemote</remote>
> <ejb-class>com.nam.service.error.ErrorBean</ejb-class>
> <session-type>Stateless</session-type>
> <transaction-type>Container</transaction-type>
> </session>
> </enterprise-beans>
> </ejb-jar>
> 
> web.xml:
> 
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
> 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
> <web-app id="WebApp">
> <display-name>NamWeb</display-name>
> 
> 
> <context-param>
> <param-name>struts-layout-config</param-name>
> <param-value>config</param-value>
> </context-param>
> <context-param>
> <param-name>struts-layout-image</param-name>
> <param-value>config/images</param-value>
> </context-param>
> <context-param>
> <param-name>struts-layout-skin</param-name>
> <param-value>default</param-value>
> </context-param>
> 
> <servlet>
> <servlet-name>action</servlet-name>
> <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
> <init-param>
> <param-name>config</param-name>
> <param-value>/WEB-INF/struts-config.xml</param-value>
> </init-param>
> <init-param>
> <param-name>debug</param-name>
> <param-value>2</param-value>
> </init-param>
> <init-param>
> <param-name>detail</param-name>
> <param-value>2</param-value>
> </init-param>
> <init-param>
> <param-name>validate</param-name>
> <param-value>true</param-value>
> </init-param>
> <load-on-startup>2</load-on-startup>
> </servlet>
> 
> <servlet-mapping>
> <servlet-name>action</servlet-name>
> <url-pattern>*.do</url-pattern>
> </servlet-mapping>
> 
> <welcome-file-list>
> <welcome-file>index.html</welcome-file>
> <welcome-file>index.htm</welcome-file>
> <welcome-file>index.jsp</welcome-file>
> <welcome-file>default.html</welcome-file>
> <welcome-file>default.htm</welcome-file>
> <welcome-file>default.jsp</welcome-file>
> </welcome-file-list>
> 
> <taglib>
> <taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
> <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
> </taglib>
> <taglib>
> <taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
> <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
> </taglib>
> <taglib>
> <taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
> <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
> </taglib>
> <taglib>
> <taglib-uri>/WEB-INF/struts-nested.tld</taglib-uri>
> <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
> </taglib>
> <taglib>
> <taglib-uri>/WEB-INF/struts-template.tld</taglib-uri>
> <taglib-location>/WEB-INF/struts-template.tld</taglib-location>
> </taglib>
> <taglib>
> <taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
> <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
> </taglib>
> 
> <taglib>
> <taglib-uri>/WEB-INF/struts-layout.tld</taglib-uri>
> <taglib-location>/WEB-INF/struts-layout.tld</taglib-location>
> </taglib>
> 
> 
> 
> </web-app>
> 

Mime
View raw message