• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Improve your Developer Experiece using the WAS Liberty Profile with JRebel
 

Improve your Developer Experiece using the WAS Liberty Profile with JRebel

on

  • 2,325 views

 

Statistics

Views

Total Views
2,325
Views on SlideShare
2,263
Embed Views
62

Actions

Likes
0
Downloads
7
Comments
0

3 Embeds 62

http://zeroturnaround.com 42
http://www.ibm.com 19
http://www.tuicool.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Improve your Developer Experiece using the WAS Liberty Profile with JRebel Improve your Developer Experiece using the WAS Liberty Profile with JRebel Presentation Transcript

    • D-05 Improve your Developer Experiece using the WAS Liberty Profile with JRebel Anton Arhipov | JRebel Product Lead | ZeroTurnaround Tim deBoer | RAD & WDT Chief Architect | IBM © IBM Corporation 2012© IBM Corporation 2011
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyAgenda•  WAS, RAD and WDT•  The WAS Liberty Profile•  JRebel © IBM Corporation 2012
    • 3 IBM WebSphere Technical Convention 2012 – Berlin, Germany WebSphere Application Server Family (V8.5) WAS for WAS Hypervisor Edition WAS ND WAS for z/OS Developers Tools +Liberty +Liberty +Intelligent Tools +Liberty +Intelligent +Liberty +Intelligent Edition Profile Profile Mgmt Edition Profile Mgmt Profile Mgmt Enables efficient Optimized to instantly run Delivers near-continuous Takes full advantage of development of in VMware and other availability, with advanced the z/OS Sysplex to deliver a innovative apps server virtualization performance and mgmt highly secure, reliable, and that will run on environments capabilities, for mission- resource efficient WAS in production critical apps server experience Available as a no-charge edition for the developer WAS desktop and Provides secure, high performance transaction engine for includes Eclipse Tools +Liberty moderately sized configurations with web tier clustering and adapters Edition Profile failover across up to five application server profiles WAS Express WAS CE An open source-based, small A lower-cost, ready-to-go footprint foundation with no up- +Liberty solution to build dynamic front acquisition costs Profile Web sites & apps © IBM Corporation 2012 Built on a common code base
    • IBM WebSphere Technical Convention 2012 – Berlin, Germany Rational Application Developer and the new WAS Developer Tools Portal & Comprehensive Portlet JCA SIP iWidgets SCA Analysis CEA JSF Profiling Batch Web 2.0 Visualization Cloud Focused & mobile OSGi Java EE Team WAS & Liberty debug Team code Profile coverage Basic Eclipse WAS Developer Tools Rational Application Developer Freely available Free Premium Offering Supported for a fee © IBM Corporation 20124
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyAgenda•  WAS, RAD and WDT•  The WAS Liberty Profile•  JRebel © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, Germany What Do Developers Care About? •  Common development tasks include: fastest •  Modify file within an application •  Debug a problem in an application Hourly •  Restart/redeploy application •  Restart server Daily •  Share code with team •  Change app structure (add/remove a module/bundle) faster •  Make config change Weekly •  Share config change with team •  Reproduce problem from another environment Monthly •  Upgrade to new service release •  Create application •  Install server fast Time to complete Frequency •  All tasks should be as painless as possible, with special emphasis on the more frequent ones. If the time taken to accomplish these tasks is an impediment to the development, the cost of the fidelity of the test server runtime is challenged •  These kind of capabilities reflect on the Application Server runtime as well as6 the tools © IBM Corporation 2012
    • 7 IBM WebSphere Technical Convention 2012 – Berlin, Germany WAS v8.5: Introduces the Lightweight “Liberty” Profile – For Web, OSGi and Mobile Apps A highly composable, dynamic Server profile Dynamic Server Profile Developer First Focus Not static like Web Profile – Simplified, shareable server config (like a determines by app at a fine- dev. artifact). One XML file or several to grained level simplify sharing & reuse of config Incredibly fast: Small Download: start times: < 5 secs < 50MB Lightweight runtime Dynamic Runtime Small memory footprint: Adding features & updating WAS v8.5 configs does not require (46MB for TradeLite) Liberty Profile server restart Integrated Tooling Integration with ND Job Mgr Powerful tools. Simple Optionally manage server Eclipse feature lifecycle through ND Job Mgr Unzip Install & Deploy Popular Platforms Fidelity to full profile WAS IM or unzip to install. Unzip Adds MAC OS for Same reliable containers & QOS deploy of server + app + config development (easy migration from dev to ops) © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, Germany No Hurdles to Install •  Tools and runtime are free for development. No time limit •  Eclipse feature install for tools; 40MB zip download for server profile. –  Installation Manager also supported à same installed result. •  2 minutes from “Nothing” to “Done”: •  Install WAS Developer Tools for Eclipse Feature •  •  Use the Tools to download the WAS Liberty Profile or download 40MB zip from WASdev.net www.wasdev.net © IBM Corporation 20128
    • 9 IBM WebSphere Technical Convention 2012 – Berlin, Germany Simplified Server Configuration •  Simplest case: One XML file for all server config •  Editable within the workspace •  Exportable, shareable, versionable No need for Admin Console, wsadmin, or extended EARs server.xml X resources.xml etc. ws-security.xml © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyHighly Composable Runtime Based on ‘Features’ WAS Extensions Java EE Support jpa-2.0 jsp-2.2 restconnector-1.0 Runtime Services & servlet-3.0 appsecurity-1.0 Config Model Feature Manager HTTP Transport Application Manager Full WAS Profile WAS v8.5 Liberty Profile © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyWAS V8.5 Feature Set Programming Model Runtime zosTransaction-1.0 zWlm-1.0 zosSecurity-1.0 beanvalidation-1.0 appSecurity-1.0 jaxrs-1.1 osgi-jpa-1.0 localConnector-1.0 restConnector-1.0 blueprint-1.0 ssl-1.0 jsf-2.0 jpa-2.0 json-1.0 monitor-1.0 jsp-2.2 sessionDatabase-1.0 servlet-3.0 wab-1.0 jndi-1.0 jdbc-4.0 jaxws-2.2 cdi-1.0 ejblite-3.1 Alpha © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, Germany Liberty Profile – Startup & Footprint •  The problem of a lightweight development environment in S tartu p   &   F o o tp rin t   C o mp aris o n   o f   v ario u s   lig h tweig h t   s erv ers WebSphere has been solved! 9.0 120 S ta rtu p  time  in  sec onds  (L ower  is  B etter) 8.0 7.8 104 –  Liberty Profile startup & 93 100 7.0 footprint are on par with Footprint  in  MB  (L ower  is  B etter) 6.0 80 5.3 Tomcat. 5.0 60 –  Liberty Profile starts up in less 4.0 46 than half the time of JBoss 3.0 34 2.3 40 2.0 1.7 Web profile. 20 1.0 0.0 0 T omc a t  7.0.12 J B oss  7.0  Web   G la ssF ish  3.1   L iberty  P rofile P rofile Web  P rofile System Info: Lenovo T60p - 2 x 2.16 GHz Intel Core Duo T2600 S tartup  time 2GB RAM, Windows XP 32-bit F ootprint Apache Tomcat 7.0.12 JBoss Community Edition 7.0 Web Profile server Note: Tomcat , JBoss, and GlassFish were GlassFish Server 3.1 Open Source Edition Web Profile measured with the HotSpot JDK, while Liberty was WAS V8.5 Liberty Profile (All servers had the TradeLite benchmark application installed) measured with the IBM JDK. © IBM Corporation 201212
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyAgenda•  WAS, RAD and WDT•  The WAS Liberty Profile•  JRebel © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, Germanyhttp://jrebel.com/ibmwtc © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyThe Typical Turnaround In Java EE Environment Observe Make a results change Build, deploy, wait © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, Germany AVG ~2.5 minhttp://zeroturnaround.com/java-ee-productivity-report-2011/ © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyThe Typical Turnaround In Java EE Environment Observe Make a results change Build, deploy, wait © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyThe Turnaround Time Sink 1s – 5m 1s – 1m 0,5 – 10m ~1m build server startup application initialization in-app navigation © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyBuild Resolve dependencies Copy static resources Compile classes Package modules into JARs Package everything into WAR/EAR © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyExploded Directory Deployment © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyResource MappinggetResource(“hello.html”) read(“src/main/.../hello.html”) © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyBuild Resolve dependencies Copy static resources Compile classes Package modules into JARs Package everything into WAR/EAR © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyBuild Resolve dependencies Copy static resources Compile classes Package modules into JARs Package everything into WAR/EAR © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyHotSwap Make changes in IDE OldClassLoader MyObject.class HotSwap New code 111000100 Debugger 101010010 New code 111000100 101010010 MyObject © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyJRebel vs HotSwap HotSwap JRebel Changing method bodies + + Adding/removing methods IBM J9 + Adding/removing constructors - + Adding/removing fields - + Adding/removing classes - + Adding/removing annotations - + Replacing super class - - Adding/removing implemented - - interfaces © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, Germany JRebel Make changes in IDE OldClassLoaderFramework MyObject.clas Code s 101000101 New code JRebel 100010010 111000100 101010010 MyObject Configuration (XML, annotations,..) © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, Germanyin action © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyThe Turnaround Time Sink 1s – 5m 1s – 5m 0,5 – 10m ~1m build server startup application initialization in-app navigation © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyJRebel for WebSphere•  WebSphere 6.1•  WebSphere 7.x•  WebSphere 8.x-8.5•  WebSphere 8.5 Liberty•  Including EJB support © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyAvailable via Eclipse Marketplace •  Or the update site: http://zeroturnaround.com/update-site/ © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyJRebel Nature © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyJRebel for Liberty © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, Germanyhttp://jrebel.com/ibmwtc © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyQuestions? As a reminder, please fill out a session evaluation © IBM Corporation 2012
    • IBM WebSphere Technical Convention 2012 – Berlin, GermanyCopyright Information•  © Copyright IBM Corporation 2012. All Rights Reserved. IBM, the IBM logo, ibm.com, AppScan, CICS, Cloudburst, Cognos, CPLEX, DataPower, DB2, FileNet, ILOG, IMS, InfoSphere, Lotus, Lotus Notes, Maximo, Quickr, Rational, Rational Team Concert, Sametime, Tivoli, WebSphere, and z/OS are trademarks or registered trademarks of International Business Machines Corporation in the United States, other countries, or both. If these and other IBM trademarked terms are marked on their first occurrence in this information with a trademark symbol (® or ™), these symbols indicate U.S. registered or common law trademarks owned by IBM at the time this information was published. Such trademarks may also be registered or common law trademarks in other countries. A current list of IBM trademarks is available on the Web at “Copyright and trademark information” at ibm.com/legal/copytrade.shtml.•  Coremetrics is a trademark or registered trademark of Coremetrics, Inc., an IBM Company.•  SPSS is a trademark or registered trademark of SPSS, Inc. (or its affiliates), an IBM Company.•  Unica is a trademark or registered trademark of Unica Corporation, an IBM Company.•  Java and all Java-based trademarks and logos are trademarks of Oracle and/or its affiliates. Other company, product and service names may be trademarks or service marks of others. References in this publication to IBM products and services do not imply that IBM intends to make them available in all countries in which IBM operates. © IBM Corporation 2012