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

"Bootiful" JRebel

Josh Long
November 20, 2014

"Bootiful" JRebel

Spring's about as efficient a way to build applications on the JVM as they come, but the JVM itself offers some room for improvement. Class changes, for example, require redeploys and dramatically slow down a developer's iteration cycle. ZeroTurnaround's JRebel can help! It knows how to reload all manner of class changes (add new methods, fields, constructors, methods, etc.) _and_ inform the frameworks (like Spring and JPA) that sit above those reloaded classes of the changes. In this talk, Adam Koblentz and I look at how to get started, and keep going, faster than ever before!

Josh Long

November 20, 2014
Tweet

More Decks by Josh Long

Other Decks in Programming

Transcript

  1. Josh Long (⻰龙之春)
    @starbuxman
    [email protected]
    github.com/joshlong
    the reloaded revolution
    “ BOOTIFUL”
    Adam Koblentz
    @akoblentz
    [email protected]
    zeroturnaround.com/jrebel

    View Slide

  2. Adam Koblentz
    @akoblentz [email protected]
    Product Marketing Manager - JRebel, ZeroTurnaround
    Used to write enterprise Java code for
    a financial company, now tries to
    improve the lives of Java developers
    everywhere
    |

    View Slide

  3. Josh Long (⻰龙之春)
    @starbuxman [email protected]
    |
    Jean Claude
    van Damme! Java mascot Duke some thing’s I’ve authored...
    Spring Developer Advocate, Pivotal

    View Slide

  4. Unless otherwise indicated, these slides are © 2013-2014 Pivotal Software, Inc. and licensed under a

    Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
    4
    Revolutionary tools for developing quality
    software faster.

    View Slide

  5. § Stop Redeploying
    § View Code Changes
    Instantly
    § Over 50,000 happy users
    Unless otherwise indicated, these slides are © 2013-2014 Pivotal Software, Inc. and licensed under a

    Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/

    View Slide

  6. Agenda
    § What is JRebel
    § Why use JRebel
    § How do I install it
    § Spring
    § Let’s see them in action
    § How do I get JRebel
    Unless otherwise indicated, these slides are © 2013-2014 Pivotal Software, Inc. and licensed under a

    Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/

    View Slide

  7. What is JRebel
    View Code Changes Instantly
    Unlike built-in JVM HotSwap, JRebel does not require debug mode,
    and supports class schema changes like adding methods or fields.
    JRebel supports:
    § Java classes
    § Resource files
    § 80+ Frameworks and their configurations
    Unless otherwise indicated, these slides are © 2013-2014 Pivotal Software, Inc. and licensed under a

    Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/

    View Slide

  8. Why use JRebel
    Developers on average spend one full work month per year
    waiting for redeploys
    With JRebel
    • View code changes instantly, code, save, refresh.
    • Finish sprints on time
    • Go home on time, don’t cut feature scope.
    • JRebel increases team velocity by up to 40% (backed by surveys and
    case studies).
    • Change anything
    • JRebel allows you to change your code and frameworks, regardless of
    your app’s complexity.
    Unless otherwise indicated, these slides are © 2013-2014 Pivotal Software, Inc. and licensed under a

    Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/

    View Slide

  9. JRebel compared to HotSwap
    Unless otherwise indicated, these slides are © 2013-2014 Pivotal Software, Inc. and licensed under a

    Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/

    View Slide

  10. What we support
    Unless otherwise indicated, these slides are © 2013-2014 Pivotal Software, Inc. and licensed under a

    Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/

    View Slide

  11. How do I install JRebel
    Unless otherwise indicated, these slides are © 2013-2014 Pivotal Software, Inc. and licensed under a

    Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/
    Let’s see!

    View Slide

  12. § Stop Redeploying
    § View Code Changes
    Instantly
    § Over 50,000 happy users
    § $1 per day ($365/year)
    § Save 5+ weeks per year
    § Go home and see your kids!
    Unless otherwise indicated, these slides are © 2013-2014 Pivotal Software, Inc. and licensed under a

    Creative Commons Attribution-NonCommercial license: http://creativecommons.org/licenses/by-nc/3.0/

    View Slide

  13. Questions?
    Josh Long (⻰龙之春)
    @starbuxman
    [email protected]
    slideshare.net/joshlong
    github.com/joshlong
    http://spring.io
    @akoblentz
    @ZeroTurnaround
    [email protected]
    zeroturnaround.com/jrebel
    slideshare.net/ZeroTurnaround
    Adam Koblentz
    &
    http://0t.ee/springboot1
    http://start.spring.io
    jrebel trial:
    spring boot:

    View Slide