IBM Software Group I Web Sphere Software IBM Web Sphere Application Server v6 WebSphere Rapid Deployment Web Sphere 5uftuesre 叫 ND: DBI%删E IBM Proof of Technology O2005 3M Corporasan IBM Product Introduction Exploration IBM Software Group I Web Sphere software Agenda Web Sphere Rapid Deployment Overview b Annotation-based Programming b Deployment Automation Setting up and using WRD for Deployment Automation Annotation-based Programming Details Usage Scenarios a Summary
1 ® IBM Software Group © 2005 IBM Corporation IBM Proof of Technology IBM Product Introduction + Exploration IBM Software Group | WebSphere Software IBM WebSphere Application Server v6 WebSphere Rapid Deployment IBM Software Group | WebSphere software WebSphere Application Server v6 2 Agenda WebSphere Rapid Deployment Overview Annotation-based Programming Deployment Automation Setting up and using WRD for Deployment Automation Annotation-based Programming Details Usage Scenarios Summary
BM Software Group WebSphere software Section Web Sphere Rapid Deployment(WRD) Overview IBM Software Group I Web Sphere software WRD: Goals For the developer/tester it will Simplify development of Web Sphere applications ewer artifacts to produce and maintain Fewer concepts and technologies to understand Simplify deployment of Web Sphere applications Reduced amount of information that must be collected by user to install application Automated application installation process Automated process for activating incremental changes to an application on running
2 IBM Software Group | WebSphere software WebSphere Application Server v6 3 WebSphere Rapid Deployment (WRD) WebSphere Rapid Deployment (WRD) Overview Section IBM Software Group | WebSphere software WebSphere Application Server v6 4 WRD: Goals For the developer/tester it will: Simplify development of WebSphere applications: Fewer artifacts to produce and maintain Fewer concepts and technologies to understand Simplify deployment of WebSphere applications: Reduced amount of information that must be collected by user to install application Automated application installation process Automated process for activating incremental changes to an application on running server
WRD: What is it and Where does it run? WRD is a collection of Eclipse plug-ins hin IBM Rational l Developer and Application Server Toolkit (AST) applications b Deployment Automation: Uses a headless(non-GUn)mode on a user defined file m directory, defined as a WRD workspace Uses IDE for Annotation-based GUI) for Free- form and 二盖 deployment automation IBM Software Group I Web Sphere software WRD: Annotation-based Programming Developer adds metadata tags into application source code Uses XDoclet tag syntax, where defined he metadata to generate additional artifacts needed to run the application on Minimizes number of artifacts a developer needs to create and understand-user maintains the single artifact tiple Java Source Files Annotation-based programming and application artifacts n name"Hello"type"stately ejbinterface method view ty pemboth Code Hello Bean SSB
3 IBM Software Group | WebSphere software WebSphere Application Server v6 5 WRD: What is it and Where does it run? WRD is a collection of Eclipse plug-ins: Annotation-based programming – used within IBM Rational Web/Application Developer and Application Server Toolkit (AST) applications Deployment Automation: Deployment Automation: Uses a headless (non-GUI) mode on a user defined file GUI) system directory, defined as a WRD workspace Uses headless (nonGUI) for Free-form and Auto-app Install deployment automation Uses IDE for Annotation-based Programming IBM Software Group | WebSphere software WebSphere Application Server v6 6 WRD: Annotation-based Programming Developer adds metadata tags into application source code Uses XDoclet tag syntax, where defined WRD uses the metadata to generate additional artifacts needed to run the application on the Application Server Minimizes number of artifacts a developer needs to create and understand – user maintains the single artifact Single Java Source File with Annotation-based programming HelloHomeSSB HelloSSB HelloBeanSSB HelloLocalSSB HelloLocalHomeSSB Multiple Java Source Files and application artifacts Generates package com.ibm.wrd; /** * @ejb.session name="Hello" type="Stateless" * view-type=both jndi-name="HelloBean" */ public class Hello { /** * @ejb.interface-method view-type=both */ public String hello(String name) { return "Hello: " + name; } } EJB Deployment Code Hello.java
BM Software Group WebSphere software WRD: Deployment Automation Enable automatic installation of applications and modules onto a running Web Sphere Server-local or remote servers Free form application development(initially only available in Headless b Enables a" Hot Directory concept for"file copy and Notepad development and deployment Constructs a well-formed ear file from individual artifacts IBM Software Group I Web Sphere software WRD: Change Detection/Triggering Process Monitors the file system for changes in the WRD user workspace Drive processing operations based on the detection of change in artifacts of Generates new application artifacts from existing artifacts Drive deployment to the targeted WebSphere Application Server Make Update Artifacts if needed (Headless
4 IBM Software Group | WebSphere software WebSphere Application Server v6 7 WRD: Deployment Automation Enable automatic installation of applications and modules onto a running WebSphere Server - local or remote servers Free form application development (initially only available in Headless mode) Enables a “Hot Directory” concept for “file copy” and “Notepad” development and deployment Constructs a well-formed EAR file from individual artifacts Makes key decisions about default settings Support deployment of fine-grained application changes IBM Software Group | WebSphere software WebSphere Application Server v6 8 WRD: Change Detection/Triggering Process Monitors the file system for changes in the WRD user workspace Drive processing operations based on the detection of change in artifacts of the application Generates new application artifacts from existing artifacts Drive deployment to the targeted WebSphere Application Server J2EE Apps (EARs) Config Files Change Detection / Trigger Process Listen for changes Use fine-grained application update Updates Generate Artifacts if needed User-created folder on File System (Headless mode) Make Updates
WRD Styles: autoappinstall and freeform odule arch Applicati Server Java Source J2EE artifacts (Java J2EE artfa IBM Software Group I Web Sphere software Setting up Deployment Automation
5 IBM Software Group | WebSphere software WebSphere Application Server v6 9 WRD Styles: autoappinstall and freeform Add J2EE Applications or Module archives to WRD workspace Change Detection / Trigger Process Application – Installed, Restarted, Reinstalled or Uninstalled autoappinstall Static File (Image, HTML) Servlet, JSP, etc. Java Source Change Detection / Trigger Process WRD generates J2EE artifacts and package Application – Installed, Restarted, Reinstalled or Uninstalled Add J2EE artifacts to WRD workspace – J2EE project structure not required J2EE Apps (EARs) and/or EJB Jars WAR Client Jars Module Archives User creates individual J2EE artifacts (Java Source, Web resources, etc) freeform IBM Software Group | WebSphere software WebSphere Application Server v6 10 Setting up Deployment Automation Setting up Deployment Automation Section