Spring Tooling Update - New & Noteworty (at SpringOne 2011)

Spring Tooling Update
New & Noteworthy

Andy Clement – SpringSource/VMware
Martin Lippert – SpringSource/VMware




© 2011 SpringOne 2GX. All rights reserved. Do not distribute without permission.
Speaker Introduction

           Andy Clement
              –  Staff Engineer, R&D
              –  Lead, Language Lab



           Martin Lippert
              –  Senior Member Technical Staff, R&D
              –  Lead, Development Tools




2
Disclaimer
•  This session may contain product features that are
   currently under development.
•  This session/overview of the new technology represents
   no commitment from SpringSource/VMware to deliver
   these features in any generally available product. 
•  Features are subject to change, and must not be
   included in contracts, purchase orders, or sales
   agreements of any kind. 
•  Technical feasibility and market demand will affect final
   delivery. 
•  Pricing and packaging for any new technologies or
   features discussed or presented have not been
   determined.


3
Agenda
•  What’s New?
    –  Java 7
    –  Spring 3.1 tooling
    –  Groovy + Grails (+ Gradle)
•  Cloud Foundry™
    –  Working with Cloud Foundry™ from within STS
•  Summary
•  Q&A




4
Updates on the way
•  STS is updated to:
    –    Eclipse 3.7.1 (latest Eclipse Indigo release)
    –    Spring 3.1 RC1
    –    Includes IDE support for Java7
    –    Maven 3.0.3 + m2e 1.0
    –    Spring Roo 1.1.5 (with support for 1.2.0.M1)
    –    vFabic tc Server 2.6.1

•  Includes EGit now




5
Java 7

     STS 2.8.0 brings you language tooling for the
            latest Java7 updates, including

         Diamond (generic instance creation)
                    Multi-catch
                 Try-with-resource
                 Strings in switch
               Polymorphic methods




6
Demo
    Java 7 in STS




7
Spring 3.1 Tooling


          STS 2.8.0 introduces support for
                      Profiles
                  c-Namespace




        …just the first steps, more to come...




8
Demo
    Spring 3.1 in STS




9
Groovy + Grails + Gradle



              Supported versions
              Groovy 1.8.3/1.7.10
               Grails 2.0.0/1.3.7




10
Groovy: the details
•  Still focused on edit/save/compile/test experience
     –  Highlighting/search/navigation/inferencing
     –  Refactoring
     –  Code assist
        •  More generics aware
        •  Easily extensible via DSLD
     –  Improved script support
     –  Improved debugging support
•  Groovy-Eclipse compiler usable from maven
     –  Same compiler in your IDE as in your build




11
Grails: the details
•  More wizards, contextually aware
•  DSLD support for lots of grails DSLs
     –  constraints/detached criteria queries/etc
•  Multi-artifact refactoring
•  More GSP support
     –  navigation, search, code assist, tag awareness
•  Configurable grails project explorer




12
Demo
     Groovy & Grails




13
Gradle
•  Introduced in STS 2.7.0
•  Based on new Gradle tools API
     –  designed with Gradle team
•  Three key parts
     –  import wizard
     –  dependency management
     –  task execution
•  To follow
     –  editing support




14
Demo
     Gradle




15
Agent based reloading (SpringLoaded)
•  Try it out under tc server configuration options
•  It is the reloading mechanism for Grails 2.0
•  Recent support
     –  groovy reloading
     –  enum reloading
     –  JDK/CGLIB proxy auto reloading
•  Improved memory profile
•  Reduced impact at startup time, runtime
•  What’s next?
     –  Improving the spring plugin



16
Demo
     Agent-based reloading




17
Cloud Foundry™

                                               .js



     Data                                            Private	
  	
  
     Services
                                                     Clouds	
  	
  


            Msg                            Public	
  
            Services
                                           Clouds	
  


                        Other     Micro	
  
                       Services   Clouds	
  




18
Spring on Cloud Foundry™


     STS provides first-class support for working with
      Spring apps and Cloud Foundry™, including:
                  Direct deployment
               Updating changed code
                  App configuration
                Browsing remote files




19
Demo
     Spring on Cloud Foundry™




20
Other languages on Cloud Foundry™


          You get the same experience
             working with STS for:
                     Scala
                Groovy/Grails




21
Debugging Apps




22
Debugging in the Cloud


        STS now provides first-class debug support
                    for Cloud Foundry™:
                Start apps in debug mode
            Use the feature-rich IDE debugger
     While the app is running inside Cloud Foundry™




23
Demo
     Debugging Apps on Local + Micro Cloud Foundry™




24
Profiling for the Cloud


             Spring Insight is the answer
            directly accessible from STS
                 Providing a web UI




           MORE ON SPRING INSIGHT
            FOR CLOUD FOUNDRY™:
          TOMORROW - DON’T MISS IT!!!

25
Demo
     Spring Insight on Cloud Foundry™ with STS




26
Lets talk about the development
     of STS itself…




27
Release Cycles

•  Continuous Delivery
                –  STS releases roughly every 3 month
                –  Minor bugfix and/or compatibility releases in between




                                                                                      2.8.0
                                                     2.7.0
                               2.6.0




                                                                           2.7.2
                                                                2.7.1
                                          2.6.1
                    2.5.2
     2.5.1




                                                                           Sep 2011
                                          May 2011
     Nov 2010




                                                                Jul 2011
                    Jan 2011




                                                                                      Oct 2011
                               Mar 2011




                                                     Jul 2011




28
Release Cycles

•  Continuous Delivery
                –  2-3 milestones between releases
                –  Going public roughly every six weeks




                                                                    2.8.0.M2
                                                         2.8.0.M1
                                   2.7.0.M2
                        2.7.0.M1




                                                                               2.8.0
                                              2.7.0
     2.6.0




                                                                    Sep 2011
                                                         Aug 2011
                        May 2011




                                   Jun 2011




                                                                               Oct 2011
     Mar 2011




                                              Jul 2011




•  Nightly builds always available


29
What’s next?
•  Spring tooling
     –  More advanced 3.1 support, especially for profiles
     –  Spring Data support
     –  Performance
•  Cloud Foundry™
     –  To be announced…
•  Groovy-Grails
     –  Remaining Grails 2.0 support
     –  Gradle editing




30
What’s next?
•  STS 2.9.0 planned for March 2012
     –  On top of Eclipse Indigo SR2
     –  Compatibility with Eclipse Juno milestone builds

•  STS 3.0.0 planned for August 2012
     –  On top of Eclipse Juno
     –  Dropping support for Helios



•  Ah, one more thing:
     –  WIP: making STS open-source J


31
http://www.springsource.com/developer/sts

aclement@vmware.com        mlippert@vmware.com
@andy_clement              @martinlippert



Q&A
1 of 32

More Related Content

Similar to Spring Tooling Update - New & Noteworty (at SpringOne 2011)(20)

Recently uploaded(20)

Green Leaf Consulting: Capabilities DeckGreen Leaf Consulting: Capabilities Deck
Green Leaf Consulting: Capabilities Deck
GreenLeafConsulting170 views
CXL at OCPCXL at OCP
CXL at OCP
CXL Forum183 views
ThroughputThroughput
Throughput
Moisés Armani Ramírez28 views
METHOD AND SYSTEM FOR PREDICTING OPTIMAL LOAD FOR WHICH THE YIELD IS MAXIMUM ...METHOD AND SYSTEM FOR PREDICTING OPTIMAL LOAD FOR WHICH THE YIELD IS MAXIMUM ...
METHOD AND SYSTEM FOR PREDICTING OPTIMAL LOAD FOR WHICH THE YIELD IS MAXIMUM ...
Prity Khastgir IPR Strategic India Patent Attorney Amplify Innovation23 views
ChatGPT and AI for Web DevelopersChatGPT and AI for Web Developers
ChatGPT and AI for Web Developers
Maximiliano Firtman152 views
[2023] Putting the R! in R&D.pdf[2023] Putting the R! in R&D.pdf
[2023] Putting the R! in R&D.pdf
Eleanor McHugh34 views

Spring Tooling Update - New & Noteworty (at SpringOne 2011)

  • 1. Spring Tooling Update New & Noteworthy Andy Clement – SpringSource/VMware Martin Lippert – SpringSource/VMware © 2011 SpringOne 2GX. All rights reserved. Do not distribute without permission.
  • 2. Speaker Introduction Andy Clement –  Staff Engineer, R&D –  Lead, Language Lab Martin Lippert –  Senior Member Technical Staff, R&D –  Lead, Development Tools 2
  • 3. Disclaimer •  This session may contain product features that are currently under development. •  This session/overview of the new technology represents no commitment from SpringSource/VMware to deliver these features in any generally available product.  •  Features are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind.  •  Technical feasibility and market demand will affect final delivery.  •  Pricing and packaging for any new technologies or features discussed or presented have not been determined. 3
  • 4. Agenda •  What’s New? –  Java 7 –  Spring 3.1 tooling –  Groovy + Grails (+ Gradle) •  Cloud Foundry™ –  Working with Cloud Foundry™ from within STS •  Summary •  Q&A 4
  • 5. Updates on the way •  STS is updated to: –  Eclipse 3.7.1 (latest Eclipse Indigo release) –  Spring 3.1 RC1 –  Includes IDE support for Java7 –  Maven 3.0.3 + m2e 1.0 –  Spring Roo 1.1.5 (with support for 1.2.0.M1) –  vFabic tc Server 2.6.1 •  Includes EGit now 5
  • 6. Java 7 STS 2.8.0 brings you language tooling for the latest Java7 updates, including Diamond (generic instance creation) Multi-catch Try-with-resource Strings in switch Polymorphic methods 6
  • 7. Demo Java 7 in STS 7
  • 8. Spring 3.1 Tooling STS 2.8.0 introduces support for Profiles c-Namespace …just the first steps, more to come... 8
  • 9. Demo Spring 3.1 in STS 9
  • 10. Groovy + Grails + Gradle Supported versions Groovy 1.8.3/1.7.10 Grails 2.0.0/1.3.7 10
  • 11. Groovy: the details •  Still focused on edit/save/compile/test experience –  Highlighting/search/navigation/inferencing –  Refactoring –  Code assist •  More generics aware •  Easily extensible via DSLD –  Improved script support –  Improved debugging support •  Groovy-Eclipse compiler usable from maven –  Same compiler in your IDE as in your build 11
  • 12. Grails: the details •  More wizards, contextually aware •  DSLD support for lots of grails DSLs –  constraints/detached criteria queries/etc •  Multi-artifact refactoring •  More GSP support –  navigation, search, code assist, tag awareness •  Configurable grails project explorer 12
  • 13. Demo Groovy & Grails 13
  • 14. Gradle •  Introduced in STS 2.7.0 •  Based on new Gradle tools API –  designed with Gradle team •  Three key parts –  import wizard –  dependency management –  task execution •  To follow –  editing support 14
  • 15. Demo Gradle 15
  • 16. Agent based reloading (SpringLoaded) •  Try it out under tc server configuration options •  It is the reloading mechanism for Grails 2.0 •  Recent support –  groovy reloading –  enum reloading –  JDK/CGLIB proxy auto reloading •  Improved memory profile •  Reduced impact at startup time, runtime •  What’s next? –  Improving the spring plugin 16
  • 17. Demo Agent-based reloading 17
  • 18. Cloud Foundry™ .js Data Private     Services Clouds     Msg Public   Services Clouds   Other Micro   Services Clouds   18
  • 19. Spring on Cloud Foundry™ STS provides first-class support for working with Spring apps and Cloud Foundry™, including: Direct deployment Updating changed code App configuration Browsing remote files 19
  • 20. Demo Spring on Cloud Foundry™ 20
  • 21. Other languages on Cloud Foundry™ You get the same experience working with STS for: Scala Groovy/Grails 21
  • 23. Debugging in the Cloud STS now provides first-class debug support for Cloud Foundry™: Start apps in debug mode Use the feature-rich IDE debugger While the app is running inside Cloud Foundry™ 23
  • 24. Demo Debugging Apps on Local + Micro Cloud Foundry™ 24
  • 25. Profiling for the Cloud Spring Insight is the answer directly accessible from STS Providing a web UI MORE ON SPRING INSIGHT FOR CLOUD FOUNDRY™: TOMORROW - DON’T MISS IT!!! 25
  • 26. Demo Spring Insight on Cloud Foundry™ with STS 26
  • 27. Lets talk about the development of STS itself… 27
  • 28. Release Cycles •  Continuous Delivery –  STS releases roughly every 3 month –  Minor bugfix and/or compatibility releases in between 2.8.0 2.7.0 2.6.0 2.7.2 2.7.1 2.6.1 2.5.2 2.5.1 Sep 2011 May 2011 Nov 2010 Jul 2011 Jan 2011 Oct 2011 Mar 2011 Jul 2011 28
  • 29. Release Cycles •  Continuous Delivery –  2-3 milestones between releases –  Going public roughly every six weeks 2.8.0.M2 2.8.0.M1 2.7.0.M2 2.7.0.M1 2.8.0 2.7.0 2.6.0 Sep 2011 Aug 2011 May 2011 Jun 2011 Oct 2011 Mar 2011 Jul 2011 •  Nightly builds always available 29
  • 30. What’s next? •  Spring tooling –  More advanced 3.1 support, especially for profiles –  Spring Data support –  Performance •  Cloud Foundry™ –  To be announced… •  Groovy-Grails –  Remaining Grails 2.0 support –  Gradle editing 30
  • 31. What’s next? •  STS 2.9.0 planned for March 2012 –  On top of Eclipse Indigo SR2 –  Compatibility with Eclipse Juno milestone builds •  STS 3.0.0 planned for August 2012 –  On top of Eclipse Juno –  Dropping support for Helios •  Ah, one more thing: –  WIP: making STS open-source J 31
  • 32. http://www.springsource.com/developer/sts aclement@vmware.com mlippert@vmware.com @andy_clement @martinlippert Q&A