当前位置:高等教育资讯网  >  中国高校课件下载中心  >  大学文库  >  浏览文档

《IBM WebSphere Application Server》教程:P06-WASv6_AppManagement

资源类别:文库,文档格式:PDF,文档页数:15,文件大小:558.29KB,团购合买
点击下载完整版文档(PDF)

BM Web Sphere Application Server v6 pplication Manag 叫 ND: DBI%删E IBM Proof of Technolo O2005 3M Corporasan IBM Product Introduction Exploration IBM Software Group I Web Sphere software Agenda Application Management Overview Application Installation and Configuration Fine-grained Application Update Enhanced ear Application Server Toolkit(AST)

1 ® IBM Software Group © 2005 IBM Corporation IBM Proof of Technology IBM Product Introduction + Exploration IBM WebSphere Application Server v6 Application Management IBM Software Group | WebSphere software WebSphere Application Server v6 Agenda ƒ Application Management Overview ƒ Application Installation and Configuration ƒ Fine-grained Application Update ƒ Enhanced Ear ƒ Application Server Toolkit (AST)

BM Software Group WebSphere software Section Overview IBM Software Group I Web Sphere software J2EE Deployment Cycle Model Write and compile code C mpe del Rational populate Deploy Descriptors and package Assemble AST EAR file EAR fi Install the eAr Configure application During and after installation b Bindings, Deployment Target ication Web Sphere Application Server Update Application Admin Clients

2 IBM Software Group | WebSphere software WebSphere Application Server v6 Overview Section IBM Software Group | WebSphere software WebSphere Application Server v6 J2EE Deployment Cycle Model ƒ Write and compile code ƒ Populate Deployment Descriptors and package EAR file ƒ Install the EAR ƒ Configure application During and after installation Bindings, Deployment Target Information, etc ƒ Update Application Rational Tooling and AST WebSphere Application Server Admin Clients Write and Compile code Assemble EAR file Install Application Configure Application Update Application

Stand Alone Server: Application End to End Install/Manage Admin client Applicati Web client IBM Software Group I Web Sphere software Network Deployment: Application-End to End Admin c Target=Node A, Server A Sync Web client 白 CELL

3 IBM Software Group | WebSphere software WebSphere Application Server v6 Stand Alone Server: Application – End to End Install/Manage Web Server Config Files Web client Admin client EJB client IBM Software Group | WebSphere software WebSphere Application Server v6 Network Deployment: Application – End to End Node Agent Server A Node A Server B Node Agent Server C Node B Server D Config Config Files Files Config Files Admin Client Install/Manage Synch Target=Node A, Server A EJB Client Web Server Web client

J2EE SI Support at J2EE 1.4 Backward compatibility for J2EE 1.2 and J2EE 1.3 applications J2EE 1.4 EAR files can contain j2EE 1.2 and j2EE 1.3 modules Stub Generation Packaging deployment code with clients (ejbdeploy) Client view jar contains remote interfaces and stubs EJB implementation jar contains the bean and ties b Web Sphere does not require this structure, but can generate it with tools Application Deploy PI (JSR 88) J2EE 1.4 deployment model Alternative to Web Sphere Administrative clients(Admin Console, wsadmir IBM Software Group I Web Sphere software Application Installation and Configuration

4 IBM Software Group | WebSphere software WebSphere Application Server v6 J2EE Support ƒ Support at J2EE 1.4 Backward compatibility for J2EE 1.2 and J2EE 1.3 applications J2EE 1.4 EAR files can contain J2EE 1.2 and J2EE 1.3 modules ƒ Stub Generation Packaging deployment code with clients (ejbdeploy) ƒ Client view jar contains remote interfaces and stubs ƒ EJB implementation jar contains the bean and ties WebSphere does not require this structure, but can generate it with tools and exploit it at deployment ƒ Application Deployment API (JSR 88) J2EE 1.4 deployment model Alternative to WebSphere Administrative clients (Admin Console, wsadmin, custom) IBM Software Group | WebSphere software WebSphere Application Server v6 Application Installation and Configuration Application Installation and Configuration Section

BM Software Group WebSphere software Tools Administrative Console JMX Clients Ant Scripts IBM Software Group I Web Sphere software Installing an Application Using Admin Console Administrative Console provides a wizard Deployer provides necessary information )JNDi names of ejbs b Target Mappings to server/cluster Can map application to a Web server Web services bindings Applications >Enterprise Applications >Install an 5

5 IBM Software Group | WebSphere software WebSphere Application Server v6 Tools ƒ Administrative Console ƒ wsadmin ƒ JMX Clients ƒ Ant Scripts IBM Software Group | WebSphere software WebSphere Application Server v6 Installing an Application Using Admin Console ƒ Administrative Console provides a wizard ƒ Deployer provides necessary information: JNDI names of EJBs Target Mappings to server/cluster Can map application to a Web server Web services bindings ƒ Applications >Enterprise Applications >Install an Application

BM Software Group WebSphere software Installing a New Application Using wsadmin Interactive install Prompts user for binding information sAdminApp installInteractive c: /My App1ear Non-interactive install Bindings could be pre-configured in EAR or specified on command SAdminApp install C: /My App1ear b Use the wsadmin -conntype NONE option if server is stopped IBM Software Group I Web Sphere software Other Operations Administrative Console has uninstall function Applications can also be started and stopped Export applications to file system Lits installed ape的 nt A phg appian can be de时mupe stan stop Install Uninstall Update Rolau Update Ramow Fla Epar Expert De I

6 IBM Software Group | WebSphere software WebSphere Application Server v6 Installing a New Application Using wsadmin ƒ Options Interactive install ƒ Prompts user for binding information ƒ $AdminApp installInteractive c:/MyApp1.ear Non-interactive install ƒ Bindings could be pre-configured in EAR or specified on command ƒ $AdminApp install c:/MyApp1.ear Use the wsadmin –conntype NONE option if server is stopped IBM Software Group | WebSphere software WebSphere Application Server v6 Other Operations ƒ Administrative Console has uninstall function ƒ Applications can also be started and stopped ƒ Export applications to file system

BM Software Group WebSphere software Section Fine-grained Application Update IBM Software Group I Web Sphere software Application Update Overview Fine-grained update Capability to update parts or all of a running application b Allows application sub-components to be supplied b Restart parts of the application Preserves application configuration Classloader settings, shared libraries, etc 7

7 IBM Software Group | WebSphere software WebSphere Application Server v6 Fine-grained Application Update grained Application Update Section IBM Software Group | WebSphere software WebSphere Application Server v6 Application Update Overview ƒ Fine-grained update Capability to update parts or all of a running application Allows application sub-components to be supplied Restart parts of the application Preserves application configuration ƒ Classloader settings, shared libraries, etc

Input to Application Update Process Entire application or its components Complete Application Provided in ear file Application Modules plication modules can be added, removed or updated Partial Application Zip file which contains application artifacts b Individual Application Files For additions and updates, the file and the URi relative to eaR root is provided Application Change Options Remove IBM Software Group I Web Sphere software Update Using Partial Application Partial Application is a zip file containing application artifacts(it is not a valid j2ee archive) Same hierarchical structure as they appear in the application EAR file During update, the contents are added or replaced within the deployed application EAR If the update zip contains a jar file, then the entire jar is replaced 8

8 IBM Software Group | WebSphere software WebSphere Application Server v6 Input to Application Update Process ƒ Entire application or its components Complete Application ƒ Provided in ear file Application Modules ƒ Individual application modules can be added, removed or updated Partial Application ƒ Zip file which contains application artifacts Individual Application Files ƒ For additions and updates, the file and the URI relative to EAR root is provided ƒ Application Change Options Add Remove Update IBM Software Group | WebSphere software WebSphere Application Server v6 Update Using Partial Application ƒ Partial Application is a zip file containing application artifacts (it is not a valid j2ee archive) ƒ Same hierarchical structure as they appear in the application EAR file. ƒ During update, the contents are added or replaced within the deployed application EAR ƒ If the update zip contains a jar file, then the entire jar is replaced

Update Using Partial Application Application EAR dule jal Partial Application ZIP a/b/File 1 燃 t/w/File 5 Modul Module2 war/m/n/File 3 /Module3. jar 一JARf WHIle 1 Final Application EAR k/File2 oulet a/b/File1 After Update Module2 wa e/f/File 1 a/b/File1 in Module.jar of the ear is replaced g/h/File m/n/File3 is added to module 2 war in Ear file m/n/File3 Module3. jar in the EAR is entirely replaced Module3. j t/u/File 5 IBM Software Group I Web Sphere software File deletions In a partial application, file deletion is specified using a special meta-data file META-INF/ibm-partialapp-delete props Can be at Application Scope or Module Scope Application EAR Partial Application ZIP Application EAR a/b/File 1 a/b/File 2 /Module1 jar/META-INFI Module1 ja e/f/File 1 ibm-partialapp-delete props Module 2w Module2 1/ 1 k/VFile2

9 IBM Software Group | WebSphere software WebSphere Application Server v6 Update Using Partial Application Application EAR Module1.jar a/b/File1 c/d/File2 Module2.war e/f/File1 g/h/File2 Module3.jar i/j/File1 k/l/File2 Partial Application ZIP /Module1.jar/a/b/File1 /Module2.war/m/n/File3 /Module3.jar JAR file After Update a/b/File1 in Module1.jar of the EAR is replaced m/n/File3 is added to Module2.war in EAR file Module3.jar in the EAR is entirely replaced Final Application EAR Module1.jar a/b/File1 c/d/File2 Module2.war e/f/File1 g/h/File2 m/n/File3 Module3.jar r/s/File4 t/u/File5 r/s/File4 t/u/File5 IBM Software Group | WebSphere software WebSphere Application Server v6 File Deletions ƒ In a partial application, file deletion is specified using a special meta-data file META-INF/ibm-partialapp-delete.props ƒ Can be at Application Scope or Module Scope Application EAR Module1.jar a/b/File1 a/b/File2 e/f/File1 Module2.war i/j/File1 k/l/File2 Partial Application ZIP /Module1.jar/META-INF/ ibm-partialapp-delete.props Application EAR (final) Module1.jar e/f/File1 Module2.war i/j/File1 a/b/File* k/l/File2

BM Software Group WebSphere software Application Restart Behavior Module level Start and Stop operations supported Update Scenario Default Behavior Module Addition(EJB Start new module if application is running. Other modules Web Module deletion Stop Web module if application is running and remove it. Other modules are not affected Web Module Updates For metadata changes, Web module is recycled. All other All other changes Restart the application, if running IBM Software Group I Web Sphere software Application Update User Interface Control Interfaces b Administrative Console b Programmatic MBean interface Rollout Update(ripple) feature provides 100% application availability b This can be selected in the Application Update User Interfaces b When this is selected the application update is applied on each node in turn 10

10 IBM Software Group | WebSphere software WebSphere Application Server v6 Application Restart Behavior ƒ Module level Start and Stop operations supported All other changes Restart the application, if running For metadata changes, Web module is recycled. All other changes are applied dynamically. Web Module Updates Stop Web module if application is running and remove it. Other modules are not affected. Web Module Deletion Start new module if application is running. Other modules are not affected. Module Addition (EJB, Web…) Update Scenario Default Behavior IBM Software Group | WebSphere software WebSphere Application Server v6 Application Update User Interface ƒ Control Interfaces Administrative Console wsadmin Programmatic MBean interface ƒ Rollout Update (ripple) feature provides 100% application availability This can be selected in the Application Update User Interfaces When this is selected the application update is applied on each node in turn

点击下载完整版文档(PDF)VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
共15页,试读已结束,阅读完整版请下载
相关文档

关于我们|帮助中心|下载说明|相关软件|意见反馈|联系我们

Copyright © 2008-现在 cucdc.com 高等教育资讯网 版权所有