IBM Software Group IBM Rational Application Developer V
® IBM Software Group IBM Rational Application Developer V 6 & V 7 vs. Web. Sphere Studio Application Developer V 5. x What’s New Bill. Hahn@us. ibm. com (http: //Java. SOA. com) © 2005 IBM Corporation
SDO Folio Alloc IBM Software Group | Graph EJB WS WS 6 Mkt Sim Portal Design Fina Dash UML 1 UML 2 Code Prof Dyna E 2 E V 6 Highlights - Areas of Innovation - Enhancements and New Capabilities Lifecycle Integrations (Enhanced Rational/Web. Sphere Eclipse based Integrations) Requirements Explorer View Model Explorer View Clear. Case Views for managing changing artifacts Clear. Quest Views for managing collaborative activities Testing Tools Views RAD Construction Tooling Enhancements JSF, SDO, Web Services, etc. J 2 EE 1. 4/1. 3/1. 2 Portal/Portlet Integration Crystal Reports Enhanced Unit/Component Testing Code Review and Runtime Analysis for Profiling Built-in Coder-friendly UML Visualizations for Class/Sequence diagrams And much more… New UML 2 Engine 2 New code base End-2 -End UML 2 modeling Easier GUI development © 2003 IBM Corporation
IBM Software Group | Lifecycle Development Disciplines 3 © 2003 IBM Corporation
IBM Software Group | V 5. x IBM Rational Tools by Discipline ü Web. Sphere Studio Eclipse Integration BI Modeler Requisite. Pro XDE & Studio & Clear. Case & Clear. Quest & Project Console Integration across/within tools (i. e. change requests) 4 © 2003 IBM Corporation
IBM Software Group | V 6 Lifecycle Tools by Discipline (RAD & RSA) RAD + BI Modeler RAD or RSA RAD RAD Project Console & Clear. Quest 5 © 2003 IBM Corporation
IBM Software Group | Existing Tools In WSAD V 5. x and RAD V 6 Analyst UML 2 -way Modeling J 2 EE, Web Services, JSF, etc. Unit Testing, etc. Automated J 2 EE Packaging Architect Tester Visually Model Design, Model, Create, Simulate Application Construct, Components, Hand Code Execute and Services and Monitor Generate and Report Business Applications Data Tests Processes q q Project Mgr 6 Developer q Follow a common process q Manage Change Track project status and assets Manage requirements q Manage Quality © 2003 IBM Corporation
IBM Software Group | New V 6 Integrated Views/Perspectives Process Modeler Requisite. Pro Explorer Views Functional, Manual, Performance, Analysis Clear. Case Explorer Views Analyst Architect Tester Visually Model Design, Model, Create, Simulate Application Construct, Components, Hand Code Execute and Services and Monitor Generate and Report Business Applications Data Tests Processes Clear. Quest Explorer Views q q Project Mgr 7 Developer q Follow a common process q Manage Change Track project status and assets Manage requirements q Manage Quality © 2003 IBM Corporation
IBM Software Group | Lifecycle Tools are Integrated as Views in V 6 8 1 © 2003 IBM Corporation
IBM Software Group | The IBM Software Development Platform A team based approach supporting all development imperatives Analyst Architect Developer Tester Model, Simulate, Assemble, and Monitor Business Processes Model Application Components, Services And Data Rapidly Construct, Integrate And Generate Applications Design, Create, Execute And Report Tests Project Manager Executive 9 Deployment Manager Provision, Configure, Tune And Troubleshoot Applications § Follow A Common § Communicate Process Requirements § Manage And Measure § Manage Change And Projects And Portfolios Assets § Manage Quality § Align Investments With Business Objectives § Analyze And Monitor Project Portfolios © 2003 IBM Corporation
IBM Software Group | The IBM Software Development Platform Prior to the V 6 announcement Analyst Web. Sphere Business Integration Modeler & Monitor Rational Rose XDE Modeler Architect Developer Web. Sphere Studio Family Rational Rose XDE family Rational Rose XDE Developer for Java Rational Rose XDE Developer for Visual Studio Rational Purify. Plus Tester Rational Functional Tester for Java & Web Rational Robot Rational Performance Tester Deployment Manager Tivoli Monitoring Tivoli Configuratio n Manager Rational Team Unifying Platform Project Manager Executive 10 © 2003 IBM Corporation
IBM Software Group | The IBM Software Development Platform V 6 - What’s new & enhanced Analyst Web. Sphere Business Integration Modeler & Monitor Rational Software Modeler Architect Rational Software Architect Developer Tester Rational Application Developer Rational Functional & Manual Tester Rational Web Developer Rational Performance Tester Customer Extensions Project Manager Deployment Manager Tivoli Configuration Manager Tivoli Monitoring 3 rd Party ISV Tools Rational Team Unifying Platform Rational Portfolio Manager Executive 11 © 2003 IBM Corporation
IBM Software Group | Rational software Design and construction tools • UML Language Transforms • Structural Review & Control • C/C++ Development Tools Rational Software Architect • UML 2. 0 Pattern/ Transform Authoring • Reusable Asset Browser Rational Software Modeler • • • Web Development Web Services Development Rich Client Development XML & Database Tools 4 GL Development Rational Application Developer Rational Web Developer Eclipse • J 2 EE/EJB & Portal Development • Component Testing • Code Review & Runtime Analysis • UML Visual Editors • Configuration Management 12
IBM Software Group | Rational software IBM Rational Web Developer for Web. Sphere Software Follow on to Web. Sphere Studio Site Developer New Rapid Application Development capabilities focused on ease of use Web UI construction • Visual site layout tools • Drag-and-drop web client construction supporting range of web client technologies: • HTML, JSP, Servlet • Struts, JSF and SDO Database tools • Explore and design database schema • SQL Query Builder • Stored procedure builder • • EGL Simplified 4 GL for Web Application Development Text User Interface Programs Support (3270, Curses) Visual. Age Generator -> EGL Migration Tool Java Runtime Targets IBM Rational Web Developer Web UI construction Data tools Rich Client UI construction Enterprise Generation Language Rich Client UI construction • Visual Editor for Java for rich client composition • Supports Swing, AWT, SWT widgets Web Services Tools • Create/manipulate services • WSDL visual editor • UDDI Registry browser XML Tools • XML and XSD tooling support Web Services Tools XML Tools • • Eclipse Java Development Tools J 2 SE development tools Code completion, search, refactoring Extensible Team APIs to support CM integration (CVS, Clear. Case, and many others) Plug-in Development Environment for extensibility 13
IBM Software Group | Rational software IBM Rational Application Developer for Web. Sphere Software Follow on to Web. Sphere Studio Application Developer • • • J 2 EE/EJB Tooling J 2 EE construction tools Supports Web. Sphere and Web. Logic Supports J 2 EE 1. 2, 1. 3, 1. 4 Rapid Deployment for WAS v 6 Integrated WAS test environments O/R mapping Code Analysis Tools • Both static source code analysis and dynamic runtime analysis • Source code analysis for rule violation detection: Globalization, J 2 EE/J 2 SE Best Practices, Private API Usage, Performance • Sequence diagram runtime trace with performance, thread and code coverage annotation • Advanced memory leak detection • Remote data collection across multiple servers • User-defined run-time probes • Interactive reports and metrics IBM Rational Application Developer Component/Unit Test J 2 EE/EJB Tooling Portal/Portlet Design Tools Code Analysis Tools UML Visual Editors IBM Rational Web Developer for Web. Sphere Software RUP Configuration for J 2 EE Component/Unit Test • JUnit-based testing of Java components, EJBs and Web Services • Test prioritization recommendation based on code analysis • Automated test case generation through usage of test patterns • Datapool editor for data-driven testing • Optimized unit testing through a set of metrics in the test creation wizard • Test creation wizard offers a set of test patterns to automatically generate test Portal/Portlet Design Tools • Visual Portal site and page layout tools • Visual Portlet layout and preview • Integrated Portal test environment UML Visual Editors • Class diagrams for Java/EJB structure • Sequence diagrams for method body visualization • IDEF 1 X/IE diagrams for Database and XML schema • Dynamic topic diagrams • Javadoc integration • Visual refactoring Clear. Case LT 14
IBM Software Group | Rational software V 6 Highlights 15
IBM Software Group | Rational software V 6 Highlights Continued § Eclipse 3. 0 support § Improved Welcome Experience 4 Extensive collection of samples, tutorials, overviews, tours, enhanced doc. § SDO mediator/tools * § J 2 EE 1. 4 (updates to standards) * § JSF, WDO/SDO, page designer enhancements 4 For point/click Web User Interface development § Web Diagram Editor support for JSF § Visual Editor for Java Enhancement 4 SWT support § Latest WDDI, WS-I Web Services standards * § Fewer server restarts, server configuration synch, etc. * * indicates Web. Sphere Application Server v 6 dependency 16
IBM Software Group | Rational software V 6 Highlights Continued - Eclipse V 3 enhancements § More responsive User Interface 4 From enhanced concurrency support and asynchronous task management § New look and feel 4 Based on user feedback § Reduced User Interface complexity through progressive disclosure 4 Capabilities support enables a tool to filter the views, wizards, actions, etc available initially available to use 4 At trigger points more advanced function is revealed 4 Users can adjust the amount of initial function Teams can share preference settings 4 Expanded user settings/preferences support with multiple scopes § Many V 2. x partner tools will work with V 3 4 High degree of binary compatibility between V 2. x Eclipse plug-ins and Eclipse V 3 -based products 4 Please consult your vendor to determine the status of the tools you use 17
IBM Software Group | Rational software V 6 Focusing on Ease of Learning – Roadmap s er Time te hi p Pa Confident Usage W Developing skills and expertise Becoming Productive te W hi rs pe a P Day to Day Show me Improved Search (product and web) Context Sensitive Help RUP Advisor Cheat Sheets Sample / Tutorial Galleries Help System developer. Works Rational University Redbooks Process education RUP Configurations Best Practices 3 rd party books ed eb Welcome Experience Product Tour Mini videos OOB Tutorials OOB Samples Info for returning users Links to web content Links to formal education s ba W Initial / Early Quick Successes in tra al m oo n ed io at uc r ss a Cl g in m or F Skill and Experience Information designed to take the user from early successes…. then helping them become productive…. . and then helping them develop appropriate skills and expertise 18
IBM Software Group | Rational software V 6 Focusing on Ease of Learning – Tutorial Gallery Watch and Learn : Learn how to perform certain tasks by playing these short video recordings. Play and Learn : Learn by watching viewlets. These viewlets guide you through a simulation of tasks without interacting with the product resources. Do and Learn : Learn by going through the hands-on tutorial where you can work with the product and develop applications. 19
IBM Software Group | Rational software V 6 Focusing on Ease of Learning – Samples Gallery Showcase Samples : Complete solution which you can deploy and run which demonstrates the best practices for application development. Application Samples : Working applications which shows the usage of different tools and their interactions with the product and may require configuration to run on your system. Technology Samples : Code-centric samples that focus on a single tool or API in the product. Ideal for leveraging technology specific code snippets. 20
IBM Software Group | Rational software V 6 Page Designer – New Look, JSF/SDO Enhancements Simplified Navigator hides the complexity of J 2 EE Construct pages by dragging and dropping rich web components from a customizable Palette The Data View lets you configure and drag and drop data to automatically create a data bound UI Page templates separate out common page elements in a single template file WDO accesses and updates data without writing any code! Property views allow easy customization of the selected component The Quick Edit View allows scripting of client or server side events in Java or Java Script. §Web Application Development is Drag and Drop Simple! Code assist writes the code for you! § Rapid UI Creation § Instant binding of UI to Data § Simple Data Access with WDO/SDO § Quick Server-side event scripting (with Java Server Faces) 21
IBM Software Group | Rational software V 6 Web Services Tools – Improvements § J 2 EE 1. 4 (Web services are part of J 2 EE standard) § Usability improvements in Web services wizards and WSDL editor 4 Focus on authoring of WS-I compliant Web services 4 New WSDL wizard to create basic WSDL files that comply to WS-I rules § Automatic TCP/IP Monitor configuration from wizards. § Enhanced samples and tutorials in Samples Gallery & Tutorial Gallery § Support for updated WS-I Basic Profile and latest UDDI release 22
IBM Software Group | Rational software V 6 IBM Rational Application Developer for Web. Sphere Software § All IBM Rational Web Developer for Web. Sphere Software enhancements § Web. Sphere Rapid Deploy * 4 Annotated EJB development § Code Quality Assurance 4 Code review 4 Component Unit Test Automation 4 Enhanced Runtime Analysis § UML 2 Visual Modeling and Design § Portal Development § EJB session façade generation * § Crystal Reports integration § Clear Case integration and enhancements § RUP process guidance * indicates Web. Sphere Application Server v 6 dependency 23
IBM Software Group | Rational software RAD V 6 J 2 EE 1. 4/1. 3/1. 2 (Web. Sphere 5. 0/5. 1/6. 0) § Web Services and XML support 4 4 4 Standards / Portability - XML Schema definitions for all deployment descriptors JAX-P 1. 2 - New properties for XML parsers JAX-R - XML registry API JAX-RPC - APIs for representing WSDL-based services as RPCs in Java (&vice-versa) JSR 109 - Web services programming and deployment model SAAJ 1. 1 - SOAP Attachments API for Java § Other 4 4 4 Servlet 2. 4 JSP 2. 0 Extensible deployment descriptors Request/response listeners Expression Language Simple Tag Extension § JDBC 3. 0 4 Meta data and cursor support § Messaging 4 4 EJB 2. 1 Typed message beans (used for any inbound JCA including pluggable JMS provider) Timer service Web service end-point support 24
IBM Software Group | Rational software Changes in Server Support in RAD v 6 § Existing support still in RAD v 6. 0 4 WAS J 2 EE extensions available in the deployment descriptor 4 WAS v 5. 0/v 5. 1/V 6. 0 support 4 No longer in v 6. 0: § All WAS v 4. 0 support removed § Can still build J 2 EE 1. 2 applications, export, and deploy manually § Supported Servers in RAD v 6. 0 4 Web. Sphere (Express, Base) Application Server v 5. 0, v 5. 1 Test Environments and remote server 4 Web. Sphere (Express, Base, & ND) Application Server v 6. 0 Test Environment & server 4 Web. Sphere Portal v 5. 0, v 5. 1 4 Apache Tomcat v 3. 2, v 4. 0, v 4. 1, v 5. 0 4 HTTP servers 25
IBM Software Group | Rational software RAD support of Web. Sphere v 6 § Don’t keep server configuration within the workspace 4 Use server’s admin console to do all configuration § Applications are published using Web. Sphere Rapid Deploy § All communication with the server is done via JMX 4 Local and remote servers work identically from within the tools § V 6 server stays running at all times 4 Never need to restart server unless switching between Run/Debug/Profiling modes § No RAC or additional installation required for remote support – works with any WAS v 6 server, any location § Test Environment is an exact Web. Sphere server § Works on all platforms 26
IBM Software Group | Rational software RAD support of Web. Sphere v 6 § Usage model changes/enhanced § Every EAR you deploy remains deployed in server unless you uninstall it from server § Use WAS 6 server profiles if you need different server configurations 4 Use WAS profile creation tool to create new profile 4 Associate new profile with RAD server 27
IBM Software Group | Rational software V 6 “Web. Sphere Rapid Deploy” (WRD) § To simplify the development experience for Web. Sphere applications by: 4 Increase the seamlessness of the iterative Build/Test cycle 4 Reduce or eliminate server restarts § During initial artifact creation (i. e. create Java, EJBs, Web Services, etc. ) § During iterative build scenarios (i. e. coding the logic in Java, etc. ) § To simplify the deployment experience for Web. Sphere applications by: 4 Automating the process of installing an application on Web. Sphere 4 Reducing the amount of information that must be configured manually on WAS (i. e. Datasources, etc. ) 4 Automating the process of activating incremental changes to an application on a running server (i. e. Add/Change code/configuration of an application) 28
IBM Software Group | Dynamic Development (Avoiding the “RESTART” Situations) Two main stages in dynamic development Creating New Artifacts Changing Existing Artifacts 29 © 2003 IBM Corporation
IBM Software Group | Rational software Code Quality Assurance § Analyze Project/Workspace to find problems of various types: 4 Globalization 4 J 2 EE Best Practices 4 J 2 SE Best Practices 4 Private API Usage 4 Performance 4 Naming Conventions § Produce interactive reports with violations and metrics § Provides explanations, examples, and quick fixes for problems § Allow users to create, enable and disable validation rules § Allow users to create their own rules based on rule templates 4 Complete Code Review (200+ rules) 4 Quick Code Review (34 rules) 30
IBM Software Group | Rational software Code Review 31
IBM Software Group | Rational software Code Review Details View § Details panel 4 Content depends on Rule Match selected in the Navigation Panel § Basic Details based on HTML templates § Custom Details consist of SWT widgets § Explanation describes: 4 Mechanics of anti-pattern 4 How to avoid 4 Shows one or more examples of a problem § Fix section is present if interactive Quick Fix is available Example 1: String + operator Example 2: Tangle 32
IBM Software Group | Rational software Code Review 33
IBM Software Group | Rational software UML 2 Diagram Editing – Visually Browse/Edit § Visual UML diagrams 4 UML class diagrams for Java, EJB Topic Diagram 4 IDEF 1 X, and IE editing for data objects 4 Edit/refactor through diagrams § Browse, Navigate and Query through diagrams Sequence Diagram 4 Topic diagrams for automatic diagram creation 4 UML 2. 0 interaction diagrams for visualizing method bodies § Develop using Sequence Diagrams Database Diagram 4 Easier to understand existing code § Javadoc integration for diagrams 4 Improved printing support § Usability and workflow improvements § § Class Diagram Assisted diagramming Browse diagrams In-diagram editing Diagram Explorer § Low overhead way of adopting UML and visual development 34
IBM Software Group | Rational software Component Test Automation § Java class, EJB and Web Services (incl. . NET) components testing 4 Based on the JUnit framework § Provide testing guidance 4 What to test first based on static metrics § Automated test case generation 4 Based on test patterns § Data driven testing § Automated regression testing § Integrated with Code Coverage § Change management support through integration with Clear. Case & Clear. Quest § Implementation of the OMG Testing Profile 35
IBM Software Group | Rational software Component Test Automation 36
IBM Software Group | Rational software Code Coverage Annotated source shows lines hit/missed Coverage Navigator shows outline view 37
IBM Software Group | Rational software Runtime Analysis § Built-in tools helps developer isolate and fix performance problems § Advanced sequence diagrams 4 Performance Call. Graph 4 Line Level Code Coverage 4 Advanced Memory Leak Analysis 4 Dynamic User Defined Probes 4 Thread Analysis § Profiling tools can seamlessly trace across multiple servers Monitor Trace Data Server 1 Server 2 Agent Controller Servlet EJBs 38
IBM Software Group | Rational software Specify an analysis threshold. Select 2 heapdumps 39
IBM Software Group | Rational software Thread Analysis Sequence Diagram is correlated to threads view Time window Vertical bars show lock interactions between threads Focus bar 40
IBM Software Group | Rational software 1 st Class Support for Portal App Development Create Test & Debug Web. Sphere Portal Visual Portlet & Portal Site Development ü ü JSF, Struts Enterprise Application Integration Portal page Layout Themes and Skins Import & Deploy Integrated Portal Test Environment for WP 5. 0. 2. 2 and 5. 1 (when available) Import & Deploy Wizard 41
IBM Software Group | Rational software Visual Portlet Development The Data View lets you configure and drag and drop data to automatically create a data bound UI SDO accesses and updates data without writing any code! The Quick Edit View allows scripting of client or server side events in Java or Java Script. Code assist writes the code for you! § Design, Deploy, Debug, Test and Preview Portlets § Portlet project wizard to create basic portlets, JSF portlets, and Struts portlets § Web services client Portlet § Portlet project support for the IBM portlet API and the JSR 168 portlet API Construct pages by dragging and dropping rich web components from a customizable Palette Add Click-2 -Action and People Awareness capability by dragging and dropping these components § Business Portlet Development with WPAI (5. 1)–SAP, Seibel portlets § Testing and debugging of portlets within the workbench using the Web. Sphere Portal Test Environment or a remote server § Click-to-Action 42
IBM Software Group | Rational software Visual Portal Development Drag and Drop a Page, Portlet, Label, Row or Column to Layout your Portal Page Visual Theme and Skin Editing Visualize and Customize Portal page § Design, Deploy, Debug and Test Portal Applications § WYSIWYG Portal Designer for designing portal page (layout, navigation links) § Import/Deployment wizards for Portal Page § Built-in Portal Test Environment for WP 5. 0. 2. 2 and WP 5. 1 (post v 6) § Visual Themes and Skins development 43
IBM Software Group | Rational software Emerging Standard Service Data Objects (SDO): Unified Access to Heterogeneous Data Sources Read/ Update § Provides a common programming interface to access data from multiple heterogeneous sources RDBMS Data Mediator Service § Supports both static and dynamic data APIs § Supports disconnected operation § Decouples application code from data access code § Designed for use with tools to increase programmer productivity Client XML Data Mediator Service SDO Data. Graph JDBC JDO RDBMS DOM SAX <XML> JAXB JAX-RPC Web Services Data Mediator Service SOAP JCA Data Mediator Service JCA Query data sources, create data graphs containing data objects, apply changes back to the data source Service Data Objects (SDO) is a specification created by IBM & BEA, submitted to JCP as JSR 235 in December 2003. Expert Group Formation Stage, not part of J 2 EE yet 44
IBM Software Group | Rational software EJB session façade generation § Create session façade bean 4 From CMP mapping 4 Encapsulates the data and logic properties of one or more CMP entity beans 4 Also creates corresponding SDO § Result is a session bean instance that references the SDO Session Facade SDO Data. Graph RDBMS Data Mediator Service JDBC JDO RDBMS Query data sources, create data graphs containing data objects, apply changes back to the data source 45
IBM Software Group | Rational software Crystal Reports § Crystal Reports 4 Reporting standard for J 2 EE today 4 Independent reporting standard across development, deployment and database architectures 46
IBM Software Group | Rational software Clear. Case SCM Adapter Enhancements § Full Dynamic View support 4 File system notification § Improved compare/merge support 4 Integrated with Eclipse compare/merge framework § Improved Disconnected Mode 4 Manual Disconnect § Workspace / view management 4 Support for workspace switching § Setup & Getting Started § Best practices and online help improvements 47
IBM Software Group | Rational software Process Guidance - RUP Navigator – Context Sensitive 48
IBM Software Group | Rational software 49
Resources http: //ibm. com/developer (IBM developer. Works for technologies and/or products) Java, J 2 EE, Web Services and other technology zones are on the left hand side Web. Sphere Zone: http: //ibm. com/developer/websphere Rational Zone: http: //ibm. com/developer/rational Free Education Portal: http: //ibm. com/developer/training http: //www. redbooks. ibm. com (How-To Step-by-step Practical Implementation Books) Java/J 2 SE/J 2 EE Tutorials: Java Tutorial Online , J 2 EE Tutorial BOOK http: //Java. SOA. com (a. k. a. Java. Dev. Tools. com, Rational. Central. com, Web. Sphere. Central. com) (Tutorials, Links, Presentations, White Papers, Articles, etc. ) 50
- Slides: 50