$30 off During Our Annual Pro Sale. View Details »

JCON_ONLINE_2022__From_Zero_to_Spring_Boot_Hero_using_GitHub_Codespaces.pdf

 JCON_ONLINE_2022__From_Zero_to_Spring_Boot_Hero_using_GitHub_Codespaces.pdf

Martin Lippert

September 20, 2022
Tweet

More Decks by Martin Lippert

Other Decks in Programming

Transcript

  1. Martin Lippert, @martinlippert
    October 2022
    From Zero to Spring Boot Hero
    using GitHub Codespaces
    Copyright © 2022 VMware, Inc. or its affiliates.

    View Slide

  2. What is GitHub Codespaces?
    ● https://github.com/features/codespaces
    ● Visual Studio Code as a commercially hosted Cloud IDE
    ● Enabled for Teams and GitHub Enterprise, Beta for Individuals
    ● Pay as you go
    Codespaces

    View Slide

  3. What is possible in Codespaces?
    ● Install Visual Studio Code extensions (e.g. install Java language support)
    ● Use via browser
    ● Use via locally installed Visual Studio Code
    Codespaces

    View Slide

  4. Live Demo

    View Slide

  5. Dev Containers is the real magic behind the scenes
    ● You can describe the dev environment as config files (devcontainer.json)
    ● Commit the config files to the project to share them
    ● Run them locally on Docker or remotely via Codespaces
    ● Spec: https://containers.dev/
    Dev Containers

    View Slide

  6. Live Demo

    View Slide

  7. Codespaces
    ● https://github.com/features/codespaces
    ● Enabled for Teams and GitHub Enterprise, Beta for Individuals
    ● Pay as you go
    Java and Spring
    ● Java Extension Pack (language support, running, debugging, testing, maven, etc.)
    ● Spring Extension Pack (Spring specific extensions like start.spring.io-integration, fast
    navigation, live hovers, code snippets, refactorings, code completion, etc.)
    Resources

    View Slide

  8. Spring Tools
    ● Visual Studio Code extension (VSCode, GitHub Codespaces, GitPod, etc.)
    ● Eclipse IDE extension
    ● (IntelliJ has their own solution as part of IntelliJ IDEA Ultimate Edition)
    Need help?
    ● Take a look at the user guide: https://github.com/spring-projects/sts4/wiki/
    ● File an issue: https://github.com/spring-projects/sts4/issues
    ● Ask on SO: https://stackoverflow.com/questions/ask?tags=spring-tools-4
    ● Contact us on Twitter: http://twitter.com/springtools4/
    Resources

    View Slide

  9. Thank you
    Contact me at [email protected]
    @martinlippert
    © 2022 Spring. A VMware-backed project.

    View Slide