1 / 8

Enterprise aplikatsiooni deploy IBM WebSphere 5.0 serverile

Enterprise aplikatsiooni deploy IBM WebSphere 5.0 serverile. Ivo Mägi. Aplikatsiooni struktuur. applications/<appname>/ META-INF/ application.xml <ejb_module> EJB klassid META-INF/ ejb-jar.xml <web_module>/ index.html JSP pages WEB-INF/ web.xml classes/ Servleti klassid.

barton
Télécharger la présentation

Enterprise aplikatsiooni deploy IBM WebSphere 5.0 serverile

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Enterprise aplikatsiooni deploy IBM WebSphere 5.0 serverile Ivo Mägi

  2. Aplikatsiooni struktuur applications/<appname>/ META-INF/ application.xml <ejb_module> EJB klassid META-INF/ ejb-jar.xml <web_module>/ index.html JSP pages WEB-INF/ web.xml classes/ Servleti klassid

  3. application.xml ?xml version="1.0" encoding="UTF-8"?> <application id="Application_ID"> <display-name>PetStoreEAR</display-name> <description>The BluePrints Petstore Built On top of the Web Application Framework.</description> <module id="EjbModule_1"> <ejb>petstore-ejb.jar</ejb> </module> <module id="WebModule_1"> <web> <web-uri>petstore.war</web-uri> <context-root>petstore</context-root> </web> </module> </application>

  4. ejb-jar.xml <?xml version="1.0"?> <ejb-jar> <enterprise-beans> <session> <description>Näidis</description> <ejb-name>EmployeeBean</ejb-name> <home>employee.EmployeeHome</home> <remote>employee.Employee</remote> <ejb-class>employee.EmployeeBean</ejb-class> <session-type>Stateless</session-type> <transaction-type>Bean</transaction-type> </session> </enterprise-beans> </ejb-jar>

  5. web.xml <?xml version="1.0"?> <web-app> <servlet> <servlet-name>psmain</servlet-name> <servlet-class>ee.et.ps.web.controller.PSServlet</servlet-class> <init-param> <param-name>templates-inlining</param-name> <param-value>false</param-value> </init-param> <servlet-mapping> <servlet-name>psmain</servlet-name> <url-pattern>/psmain</url-pattern> </servlet-mapping> <ejb-ref> <ejb-ref-name>EmployeeBean</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <home>employee.EmployeeHome</home> <remote>employee.Employee</remote> </ejb-ref> </servlet> </web-app>

  6. WebSphere spetsiifika <appname> META-INF/ ibm-application-bnd.xmi ibm-application-ext.xmi <ejb-module> ibm-ejb-jar-bnd.xmi ibm-ejb-jar-ext.xmi <web-module> ibm-web-bnd.xmi ibm-web-ext.xmi

  7. Paketistruktuuri koostamine • AAT(Application Assembly Tool) • ANT(taskid javac+jar)

  8. Deploy • Administration console • Shelli skriptid

More Related