SlideShare une entreprise Scribd logo
1  sur  19
Java 7 – State of the Enterprise
    Challenges, Adoption Path and Reasons to move forward …




1                      Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 2011
http://blog.eisele.net


http://twitter.com/myfear


markus.eisele@msg-systems.com
Overview



         1.    Introduction
         2.    Reasons: Why Migrate?
         3.    Migration Procedures
         4.    Challenges
         5.    Adoption Paths
         6.    Restrictions




3                                Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 2011
Enterprise principles




         Enterprises think different:
               Maximize Benefit to the Enterprise
               Business Continuity
               Common Use Applications
               Requirements-Based Change
               Responsive Change Management
               Control Technical Diversity
               Interoperability


4                           Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 2011
Why Upgrade? – new Features!



         Features of Java SE 7

         • Improved performance, stability
           and security.
         • Enhancements in the Java Plug-
           in for Rich Internet Applications
           development and deployment.
         • Java Programming language
           enhancements that enable
           developers with ease of writing
           and optimizing the Java code.
         • Enhancements in the Java
           Virtual machine to support Non-
           Java languages.

         http://www.slideshare.net/myfear/introducing-java-7

5                                         Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 2011
Why Upgrade? – Old Stuff is getting EOL‘ed!

         Java SE Support Roadmap


         Release                     EOL
                      GA Date                             EOL                     Support Period
         Family                      Notification

         1.4          Feb 2002       Dec 2006             Oct 2008                6 ½ years
         5.0          May 2004       Apr 2008             Oct 2009                5 ½ years
         6            Dec 2006       Feb 2011             Jul 2012                5 1/2 years



         Example Java for Business Support Roadmap

                                    EOL
         Release                    Notification          Premier                 Extended         Sustaining
                     GA Date
         Family                                           Support until           Support until    Period

         1.4         Feb 2002       Apr 2008              Feb 2010                Feb 2013         Indefinite
         5.0         May 2004       Jun 2009              May 2011                May 2014         Indefinite
         6           Dec 2006       Jan 2011              Dec 2013                Dec 2016         Indefinite

          http://www.oracle.com/technetwork/java/javase/eol-135779.html

6                                  Markus Eisele, Oracle ACE Director FMW & SOA                             msg systems ag, 2011
Why Upgrade? – It‘s a hype!




           Java 7 Support Slated for JetBrains IDE
           PCWorld - Feb 23 2011
           Updated Oracle NetBeans IDE offers Java 7
           Computerworld - Apr 20 2011
           Oracle releases Java 7 Standard Edition
           Inquirer - Jul 29 2011
           Eclipse Announces Full Support for Java 7
           San Francisco Chronicle - Sep 29 2011



7                                           Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 2011
Migration Procedure – General Approach




                                                 Tests



8                              Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 2011
Migration Procedure – Check & Change


      •       Pre-Flight Check
                   Development Configuration
                         Does your IDE support your version?
                         What about your build tool?
                         Your quality checkers?
                         Your ALM solutions?
                   Project Dependencies (OSS & Commercial)
                       Do your libraries run on/support new version?
                   Your Company Specific Frameworks
                       They are out there. Check them!
                   Deprecated Features
                       Do you use anything that has been deprecated?
                       Your chance to refactor a bit!
                   Incompabilities
                       http://www.oracle.com/technetwork/java/javase/compatibility-
                        417013.html#incompatibilities


      •       Change if necessary
                   Control what you do!
                   Make a list and track it!
                   Other Projects may need it to estimate efforts!
          http://download.oracle.com/javase/7/docs/webnotes/adoptionGuide/index.html

9                                                Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 2011
Migration Procedure – Build & Package


      • Check your build
           Change JRE/JDK libraries
           Change source version level for maven
           Check special ANT tasks (ftp..)


      • Change if necessary
           All of the above

           Also a very good time to :
                change build tools
                Get rid of old and unused stuff
                Clean old mess


      • Test-drive your “updated” build process carefully.



10                                 Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 2011
Migration Procedure – Deployment


      •   Using Java 7 on the Client is no save solution at the moment!
      •   http://www.java.com/ still distributes Java 1.6_29 to the public.


      •   If you chose to change your deployments there are some
          chances to improve it:
              Change your Applets to use the Deployment Toolkit (codebase)
              Utilize the new “resource per OS” feature
              Think about partly signing your JNLP files
              Some small enhancements to Applet loading (single network
               requests)




11                                  Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 2011
Migration Procedure – Tests


      • Excurse: If your tests randomly fail with Java 7

      • JUnit uses Class.getMethods() to find all tests
        in a class
           This list is not explicitly sorted in any order!
           Until Java 6 the methods were returned in same
            order as declared in source file! This changed with
            Java 7.


      • Repair your tests to not rely on execution
        order of @Test methods!

      • Test. Test. Test.
12                                 Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 2011
Migration Procedure – Update Documentation


      •   Why are developers adverse to documenting software
          systems they’ve worked on?
            Code should be the documentation
            The act of solving a problem is more exciting than writing
             about it
            We are lazy.
            The minute you write a doc it is out of date
            Nobody is ever going to read it
            It seemed impossible to organize documentation usefully
            ….

      •   Chances are:
            Write a “Update your environment to Java 7” checklist for your
             team-members
            Write a “How expensive it really is to migrate to Java 7” blog
             post
            Have a good idea about what to bill the customer for




13                                  Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 2011
Challenges

      •   From a desktop perspective Java 7 is still considered “for
          developers“ only.
            You still cant download it from java.com
            And your Java 6 will never ask you for an update.


      •   Some trust is lost
            The Java 7.0 release had some ugly bugs around
             http://blog.eisele.net/2011/07/dont-use-java-7-are-you-kidding-
             me.html
            We have Java 7u1 out since 19/10/11 which solved them



      •   Not all commercial products are supporting Java SE 7
          already. (e.g. WebLogic  )




14                                  Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 2011
SE 6 still not broadly adopted




15                                    Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 26/06/11
Decision making as of today.


                                                                       Your new
                                                                    project in 2011




                                                           no                            yes

                                                                     Going live before
                                                                        Q1/1212?
                                        yes                        no
                                                      All
                                              tools/environments
                                                  supported?                                   SE 6


                        yes                           no

                                Desktop
                              Development?
                                                                               SE 7
     SE 7 rolled-out?             yes


                                                           no



16                                        Markus Eisele, Oracle ACE Director FMW & SOA                msg systems ag, 2011
Lesson in a tweet




      “The best thing about a boolean is
      even if you are wrong,
      you are only off by a bit.”
      (Anonymous)




      http://www.devtopics.com/101-great-computer-programming-quotes/


17                                             Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 2011
Disclaimer




      The thoughts expressed here are
      the personal opinions of the author
      and no official statement
      of the msg systems ag.




18                   Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 2011
Thank you for your attention




     Markus Eisele

     Principle IT Architect

     Phone: +49 89 96101-0
     markus.eisele@msg-systems.com


     www.msg-systems.com




                                   www.msg-systems.com




19                            Markus Eisele, Oracle ACE Director FMW & SOA   msg systems ag, 2011

Contenu connexe

En vedette

Codecamp iasi-26 nov 2011-what's new in jpa 2.0
Codecamp iasi-26 nov 2011-what's new in jpa 2.0Codecamp iasi-26 nov 2011-what's new in jpa 2.0
Codecamp iasi-26 nov 2011-what's new in jpa 2.0
Codecamp Romania
 

En vedette (6)

From XaaS to Java EE – Which damn cloud is right for me?
From XaaS to Java EE – Which damn cloud is right for me? From XaaS to Java EE – Which damn cloud is right for me?
From XaaS to Java EE – Which damn cloud is right for me?
 
New Features of JSR 317 (JPA 2.0)
New Features of JSR 317 (JPA 2.0)New Features of JSR 317 (JPA 2.0)
New Features of JSR 317 (JPA 2.0)
 
Codecamp iasi-26 nov 2011-what's new in jpa 2.0
Codecamp iasi-26 nov 2011-what's new in jpa 2.0Codecamp iasi-26 nov 2011-what's new in jpa 2.0
Codecamp iasi-26 nov 2011-what's new in jpa 2.0
 
Seven Deadly Sins
Seven Deadly SinsSeven Deadly Sins
Seven Deadly Sins
 
The Glassfish Experience
The Glassfish ExperienceThe Glassfish Experience
The Glassfish Experience
 
All the Java ADF beginners need to know - part1
All the Java ADF beginners need to know - part1All the Java ADF beginners need to know - part1
All the Java ADF beginners need to know - part1
 

Similaire à Java 7 - State of the Enterprise

Virtual dev-day-java7-keynote-1641807
Virtual dev-day-java7-keynote-1641807Virtual dev-day-java7-keynote-1641807
Virtual dev-day-java7-keynote-1641807
rehoscript
 

Similaire à Java 7 - State of the Enterprise (20)

Java 7 - State of the Enterprise
Java 7 - State of the EnterpriseJava 7 - State of the Enterprise
Java 7 - State of the Enterprise
 
Whats Cool in Java E 6
Whats Cool in Java E 6Whats Cool in Java E 6
Whats Cool in Java E 6
 
Governing services, data, rules, processes and more
Governing services, data, rules, processes and moreGoverning services, data, rules, processes and more
Governing services, data, rules, processes and more
 
Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1Enterprise java unit-1_chapter-1
Enterprise java unit-1_chapter-1
 
JavaEE 6 and GlassFish v3 at SFJUG
JavaEE 6 and GlassFish v3 at SFJUGJavaEE 6 and GlassFish v3 at SFJUG
JavaEE 6 and GlassFish v3 at SFJUG
 
Huge Enterprise Systems Architecture Design with Java EE
Huge Enterprise Systems Architecture Design with Java EEHuge Enterprise Systems Architecture Design with Java EE
Huge Enterprise Systems Architecture Design with Java EE
 
Java EE 6 & GlassFish 3
Java EE 6 & GlassFish 3Java EE 6 & GlassFish 3
Java EE 6 & GlassFish 3
 
EE4J: Java EE & Jakarta EE JFR & JMC
EE4J: Java EE & Jakarta EE  JFR & JMCEE4J: Java EE & Jakarta EE  JFR & JMC
EE4J: Java EE & Jakarta EE JFR & JMC
 
Virtual dev-day-java7-keynote-1641807
Virtual dev-day-java7-keynote-1641807Virtual dev-day-java7-keynote-1641807
Virtual dev-day-java7-keynote-1641807
 
Lulu.com.java.j2 ee.job.interview.companion.2nd.edition.apr.2007
Lulu.com.java.j2 ee.job.interview.companion.2nd.edition.apr.2007Lulu.com.java.j2 ee.job.interview.companion.2nd.edition.apr.2007
Lulu.com.java.j2 ee.job.interview.companion.2nd.edition.apr.2007
 
One java book
One java bookOne java book
One java book
 
Java j2ee job interview companion ebook
Java j2ee job interview companion ebookJava j2ee job interview companion ebook
Java j2ee job interview companion ebook
 
The Nuxeo Way: leveraging open source to build a world-class ECM platform
The Nuxeo Way: leveraging open source to build a world-class ECM platformThe Nuxeo Way: leveraging open source to build a world-class ECM platform
The Nuxeo Way: leveraging open source to build a world-class ECM platform
 
Java E
Java EJava E
Java E
 
Java EE 6 Hands-on Workshop at Dallas Tech Fest 2010
Java EE 6 Hands-on Workshop at Dallas Tech Fest 2010Java EE 6 Hands-on Workshop at Dallas Tech Fest 2010
Java EE 6 Hands-on Workshop at Dallas Tech Fest 2010
 
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
Java EE 6 & GlassFish v3: Paving the path for the future - Spark IT 2010
 
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 IndiaJava EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
Java EE 6 & GlassFish v3: Paving the path for the future - Tech Days 2010 India
 
Virtual dev-day-java7-keynote-1641807
Virtual dev-day-java7-keynote-1641807Virtual dev-day-java7-keynote-1641807
Virtual dev-day-java7-keynote-1641807
 
The State of Java under Oracle at JCertif 2011
The State of Java under Oracle at JCertif 2011The State of Java under Oracle at JCertif 2011
The State of Java under Oracle at JCertif 2011
 
JavaOne Update zur Java Plattform
JavaOne Update zur Java PlattformJavaOne Update zur Java Plattform
JavaOne Update zur Java Plattform
 

Plus de Markus Eisele

Stay productive while slicing up the monolith
Stay productive while slicing up the monolith Stay productive while slicing up the monolith
Stay productive while slicing up the monolith
Markus Eisele
 
Nine Neins - where Java EE will never take you
Nine Neins - where Java EE will never take youNine Neins - where Java EE will never take you
Nine Neins - where Java EE will never take you
Markus Eisele
 

Plus de Markus Eisele (20)

Sustainable Software Architecture - Open Tour DACH '22
Sustainable Software Architecture - Open Tour DACH '22Sustainable Software Architecture - Open Tour DACH '22
Sustainable Software Architecture - Open Tour DACH '22
 
Going from java message service (jms) to eda
Going from java message service (jms) to eda Going from java message service (jms) to eda
Going from java message service (jms) to eda
 
Let's be real. Quarkus in the wild.
Let's be real. Quarkus in the wild.Let's be real. Quarkus in the wild.
Let's be real. Quarkus in the wild.
 
What happens when unicorns drink coffee
What happens when unicorns drink coffeeWhat happens when unicorns drink coffee
What happens when unicorns drink coffee
 
Stateful on Stateless - The Future of Applications in the Cloud
Stateful on Stateless - The Future of Applications in the CloudStateful on Stateless - The Future of Applications in the Cloud
Stateful on Stateless - The Future of Applications in the Cloud
 
Java in the age of containers - JUG Frankfurt/M
Java in the age of containers - JUG Frankfurt/MJava in the age of containers - JUG Frankfurt/M
Java in the age of containers - JUG Frankfurt/M
 
Java in the Age of Containers and Serverless
Java in the Age of Containers and ServerlessJava in the Age of Containers and Serverless
Java in the Age of Containers and Serverless
 
Migrating from Java EE to cloud-native Reactive systems
Migrating from Java EE to cloud-native Reactive systemsMigrating from Java EE to cloud-native Reactive systems
Migrating from Java EE to cloud-native Reactive systems
 
Streaming to a new Jakarta EE / JOTB19
Streaming to a new Jakarta EE / JOTB19Streaming to a new Jakarta EE / JOTB19
Streaming to a new Jakarta EE / JOTB19
 
Cloud wars - A LavaOne discussion in seven slides
Cloud wars - A LavaOne discussion in seven slidesCloud wars - A LavaOne discussion in seven slides
Cloud wars - A LavaOne discussion in seven slides
 
Streaming to a new Jakarta EE
Streaming to a new Jakarta EEStreaming to a new Jakarta EE
Streaming to a new Jakarta EE
 
Reactive Integrations - Caveats and bumps in the road explained
Reactive Integrations - Caveats and bumps in the road explained  Reactive Integrations - Caveats and bumps in the road explained
Reactive Integrations - Caveats and bumps in the road explained
 
Stay productive while slicing up the monolith
Stay productive while slicing up the monolithStay productive while slicing up the monolith
Stay productive while slicing up the monolith
 
Stay productive while slicing up the monolith
Stay productive while slicing up the monolithStay productive while slicing up the monolith
Stay productive while slicing up the monolith
 
Stay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolithStay productive_while_slicing_up_the_monolith
Stay productive_while_slicing_up_the_monolith
 
Architecting for failure - Why are distributed systems hard?
Architecting for failure - Why are distributed systems hard?Architecting for failure - Why are distributed systems hard?
Architecting for failure - Why are distributed systems hard?
 
Stay productive while slicing up the monolith
Stay productive while slicing up the monolith Stay productive while slicing up the monolith
Stay productive while slicing up the monolith
 
Nine Neins - where Java EE will never take you
Nine Neins - where Java EE will never take youNine Neins - where Java EE will never take you
Nine Neins - where Java EE will never take you
 
How lagom helps to build real world microservice systems
How lagom helps to build real world microservice systemsHow lagom helps to build real world microservice systems
How lagom helps to build real world microservice systems
 
CQRS and Event Sourcing for Java Developers
CQRS and Event Sourcing for Java DevelopersCQRS and Event Sourcing for Java Developers
CQRS and Event Sourcing for Java Developers
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Java 7 - State of the Enterprise

  • 1. Java 7 – State of the Enterprise Challenges, Adoption Path and Reasons to move forward … 1 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011
  • 3. Overview 1. Introduction 2. Reasons: Why Migrate? 3. Migration Procedures 4. Challenges 5. Adoption Paths 6. Restrictions 3 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011
  • 4. Enterprise principles Enterprises think different:  Maximize Benefit to the Enterprise  Business Continuity  Common Use Applications  Requirements-Based Change  Responsive Change Management  Control Technical Diversity  Interoperability 4 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011
  • 5. Why Upgrade? – new Features! Features of Java SE 7 • Improved performance, stability and security. • Enhancements in the Java Plug- in for Rich Internet Applications development and deployment. • Java Programming language enhancements that enable developers with ease of writing and optimizing the Java code. • Enhancements in the Java Virtual machine to support Non- Java languages. http://www.slideshare.net/myfear/introducing-java-7 5 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011
  • 6. Why Upgrade? – Old Stuff is getting EOL‘ed! Java SE Support Roadmap Release EOL GA Date EOL Support Period Family Notification 1.4 Feb 2002 Dec 2006 Oct 2008 6 ½ years 5.0 May 2004 Apr 2008 Oct 2009 5 ½ years 6 Dec 2006 Feb 2011 Jul 2012 5 1/2 years Example Java for Business Support Roadmap EOL Release Notification Premier Extended Sustaining GA Date Family Support until Support until Period 1.4 Feb 2002 Apr 2008 Feb 2010 Feb 2013 Indefinite 5.0 May 2004 Jun 2009 May 2011 May 2014 Indefinite 6 Dec 2006 Jan 2011 Dec 2013 Dec 2016 Indefinite http://www.oracle.com/technetwork/java/javase/eol-135779.html 6 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011
  • 7. Why Upgrade? – It‘s a hype! Java 7 Support Slated for JetBrains IDE PCWorld - Feb 23 2011 Updated Oracle NetBeans IDE offers Java 7 Computerworld - Apr 20 2011 Oracle releases Java 7 Standard Edition Inquirer - Jul 29 2011 Eclipse Announces Full Support for Java 7 San Francisco Chronicle - Sep 29 2011 7 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011
  • 8. Migration Procedure – General Approach Tests 8 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011
  • 9. Migration Procedure – Check & Change • Pre-Flight Check  Development Configuration  Does your IDE support your version?  What about your build tool?  Your quality checkers?  Your ALM solutions?  Project Dependencies (OSS & Commercial)  Do your libraries run on/support new version?  Your Company Specific Frameworks  They are out there. Check them!  Deprecated Features  Do you use anything that has been deprecated?  Your chance to refactor a bit!  Incompabilities  http://www.oracle.com/technetwork/java/javase/compatibility- 417013.html#incompatibilities • Change if necessary  Control what you do!  Make a list and track it!  Other Projects may need it to estimate efforts! http://download.oracle.com/javase/7/docs/webnotes/adoptionGuide/index.html 9 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011
  • 10. Migration Procedure – Build & Package • Check your build  Change JRE/JDK libraries  Change source version level for maven  Check special ANT tasks (ftp..) • Change if necessary  All of the above  Also a very good time to :  change build tools  Get rid of old and unused stuff  Clean old mess • Test-drive your “updated” build process carefully. 10 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011
  • 11. Migration Procedure – Deployment • Using Java 7 on the Client is no save solution at the moment! • http://www.java.com/ still distributes Java 1.6_29 to the public. • If you chose to change your deployments there are some chances to improve it:  Change your Applets to use the Deployment Toolkit (codebase)  Utilize the new “resource per OS” feature  Think about partly signing your JNLP files  Some small enhancements to Applet loading (single network requests) 11 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011
  • 12. Migration Procedure – Tests • Excurse: If your tests randomly fail with Java 7 • JUnit uses Class.getMethods() to find all tests in a class  This list is not explicitly sorted in any order!  Until Java 6 the methods were returned in same order as declared in source file! This changed with Java 7. • Repair your tests to not rely on execution order of @Test methods! • Test. Test. Test. 12 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011
  • 13. Migration Procedure – Update Documentation • Why are developers adverse to documenting software systems they’ve worked on?  Code should be the documentation  The act of solving a problem is more exciting than writing about it  We are lazy.  The minute you write a doc it is out of date  Nobody is ever going to read it  It seemed impossible to organize documentation usefully  …. • Chances are:  Write a “Update your environment to Java 7” checklist for your team-members  Write a “How expensive it really is to migrate to Java 7” blog post  Have a good idea about what to bill the customer for 13 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011
  • 14. Challenges • From a desktop perspective Java 7 is still considered “for developers“ only.  You still cant download it from java.com  And your Java 6 will never ask you for an update. • Some trust is lost  The Java 7.0 release had some ugly bugs around http://blog.eisele.net/2011/07/dont-use-java-7-are-you-kidding- me.html  We have Java 7u1 out since 19/10/11 which solved them • Not all commercial products are supporting Java SE 7 already. (e.g. WebLogic  ) 14 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011
  • 15. SE 6 still not broadly adopted 15 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 26/06/11
  • 16. Decision making as of today. Your new project in 2011 no yes Going live before Q1/1212? yes no All tools/environments supported? SE 6 yes no Desktop Development? SE 7 SE 7 rolled-out? yes no 16 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011
  • 17. Lesson in a tweet “The best thing about a boolean is even if you are wrong, you are only off by a bit.” (Anonymous) http://www.devtopics.com/101-great-computer-programming-quotes/ 17 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011
  • 18. Disclaimer The thoughts expressed here are the personal opinions of the author and no official statement of the msg systems ag. 18 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011
  • 19. Thank you for your attention Markus Eisele Principle IT Architect Phone: +49 89 96101-0 markus.eisele@msg-systems.com www.msg-systems.com www.msg-systems.com 19 Markus Eisele, Oracle ACE Director FMW & SOA msg systems ag, 2011