Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Developing Cloud-Native Applications with the Spring Tool Suite

Developing Cloud-Native Applications with the Spring Tool Suite

Martin Lippert

September 16, 2015
Tweet

More Decks by Martin Lippert

Other Decks in Technology

Transcript

  1. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ SPRINGONE2GX WASHINGTON, DC Developing cloud-native applications with the Spring Tool Suite Kris De Volder, Martin Lippert @kdvolder, @martinlippert
  2. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Safe Harbor Statement The following is intended to outline the general direction of Pivotal's offerings. It is intended for information purposes only and may not be incorporated into any contract. Any information regarding pre-release of Pivotal offerings, future updates or other planned modifications is subject to ongoing evaluation by Pivotal and is subject to change. This information is provided without warranty or any kind, express or implied, and is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions regarding Pivotal's offerings. These purchasing decisions should only be based on features currently available. The development, release, and timing of any features or functionality described for Pivotal's offerings in this presentation remain at the sole discretion of Pivotal. Pivotal has no obligation to update forward looking information in this presentation. 2
  3. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ about us Kris De Volder • Spring Tool Suite team • working on providing IDE support for Spring Boot • Past: Groovy Grails Tool Suite, Pivotal’s Eclipse Plugins for Gradle, Faculty Member in the Department of Computer Science at the University of British Columbia. Ph.D in Computer Science. 3 Martin Lippert • Spring Tool Suite team • working on micro-service and cloud- native app tooling • long-time Eclipse committer, project lead for Eclipse Flux and PMC member of the Eclipse Cloud Development project • long background on agile software development
  4. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Eclipse and the Spring Tool Suite 4
  5. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Tool Suite vs. Eclipse • “The Spring Tool Suite is an Eclipse-based development environment that is customized for developing Spring applications.” [from https://spring.io/tools/sts] 5
  6. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ What’s new in Eclipse 4.5 and STS 3.7.1 6
  7. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Eclipse 4.5 News • nested projects view (finally) • improved dark theme • huge text search speedup • full support for Java8, including additional highlights such as: • quick fixes for working with Lambda expressions (and converting them) • improved compiler performance • Java9 beta support available • but very limited • Docker tools • Installer for Eclipse (Oomph) 7
  8. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Demo 8
  9. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ STS 3.7.1 News • based on Eclipse Mars.1 (4.5.1) • lots of goodies for working with Spring Boot apps • properties file editor (incl. content-assist, validation, hovers) • YML file editor (incl. content-assist, validation, hovers) • improved “Run as Spring Boot app” • improved Spring Starter wizard • performance improvements • signed OSX app bundle • … 9
  10. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Demo 10
  11. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Cloud Foundry Integration for Eclipse • improved performance • certain operations dramatically faster than in previous versions • improved support for Spring Boot • drag&drop deploy, no manual nature addition required anymore • additional improvements under the hood 11
  12. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ The Cloud Foundry Plugin for Eclipse is now a member of the Eclipse Cloud Development top-level project 12
  13. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Cloud-native applications 13
  14. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ The way we build software changes dramatically 14
  15. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Continuous Delivery DevOps Containers Microservices 15
  16. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Spring Boot and Spring Cloud for building, connecting, and operating microservices 16
  17. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Cloud Foundry the cloud-native runtime 17
  18. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ But what does that mean for our tools? 18
  19. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ most of the developer tools are built for the pre-pre-pre-cloud-native era 19
  20. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ cloud-native tools • deal with large number of small (independent) projects • need to keep an overview (grouping, tagging, filtering) • what is running/what not? • where is it running? • quick access to console and log output • need quick access to running app • projects get created more frequently 20
  21. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ cloud-native tools • need access to remote cloud-native runtime (like CF) • deploy to (multiple) runtime(s) • run and update services on cloud-native runtime • use existing services and apps on cloud-native runtime 21
  22. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Demo 22
  23. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Try it at the Demo Lounge 23
  24. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Future directions 24
  25. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Future Directions • Lattice support (http://lattice.cf/) • integrate into boot dashboard • seamless integration for running, deploying, updating, scaling micro-services • console integration, support for debugging • Enhance mixed local / cloud improvements • https, CF-internal ngrok/tunnel technology, … • Remote debugging CF apps • via ssh instead of devtools tunnel, improve performance 25
  26. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ upcoming STS releases • STS 3.7.1 • end of September, early October 2015 • shortly after Eclipse Mars.1 (4.5.1) • STS 3.7.2 • early March 2016 • shortly after Eclipse Mars.2 (4.5.2) • STS 3.8.0 • early July 2016 • shortly after Eclipse Neon (4.6) GA 26
  27. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ Q&A 27 Get the Spring Tool Suite from: https://spring.io/tools
  28. Unless otherwise indicated, these slides are © 2013-2015 Pivotal Software,

    Inc. and licensed under a
 Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/ 28 Learn More. Stay Connected. @springcentral Spring.io/video Kris De Volder [email protected] @kdvolder Martin Lippert [email protected] @martinlippert