How JRebel can save my sanity and 5+ weeks of builds and redeploys this year

Preview:

Citation preview

JRebelForDevs How JRebel Can Save Your Sanity

GO

Part 1

HOW MUCH OF YOUR CODE TIME IS SPENT CODING?

Seen this before? Also:

"My app is..."*Building*Redeploying*Restarting

http://xkcd.com/303/

www.zeroturnaround.com sales@zeroturnaround.com 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

REDEPLOYS SUCK, SO JREBEL ELIMINATES THEM

JRebel maps your project workspace directly to the application under development. When you change any class or resource in your IDE, the change is immediately

reflected in the application, skipping the build and redeploy phases.

“ “

www.zeroturnaround.com sales@zeroturnaround.com 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

JREBEL PICKS UP CHANGES TO:

- Changes to Method Bodies

- Adding / Removing Methods

- Adding / Removing Constructors

- Adding / Removing Fields

- Adding / Removing Classes

1.   Class Structures

- Adding / Removing Annotations

- Changing Static Field Value

- Adding / Removing Enum Values

- Changes Interfaces

www.zeroturnaround.com sales@zeroturnaround.com 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

- Spring Framework

- WebFlow and Spring – WS

- Hibernate

- JBoss Seam

- Google Guice

JREBEL PICKS UP CHANGES TO:

- Struts & Struts 2

- Wicket

- Stripes

- Tiles

- And more…

2.   Frameworks

www.zeroturnaround.com sales@zeroturnaround.com 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

- Changing EJB & adding new EJB on the fly - Support for JSP EL & Scriplets

- Support for JSF (Mojarra, MyFaces)

- Bean Validation support (Hibernate Validator)

- JAXB annotation changes

JREBEL PICKS UP CHANGES TO:

3. Java EE Technologies

- JAX-RS changes (RESTEasy, Jersey, CFX)

- JAX-WS support (Metro, CXF)

- JPA changes (Hibernate, EclipseLink, TopLink, OpenJPA)

- CDI changes (Weld)

www.zeroturnaround.com sales@zeroturnaround.com 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

AND REFLECTS THOSE CHANGES IN YOUR APPLICATION,

INSTANTLY

Part 2

HOW JREBEL WORKS: CLASSES

- JRebel integrates with the JVM & rewrites each class to be updateable - JRebel versions each class individually, instead of an application or module at a time - JRebel DOES NOT use classloaders!

- Changes to classes are always visible in the Reflection API

www.zeroturnaround.com sales@zeroturnaround.com 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

HOW JREBEL WORKS: FRAMEWORK CONFIG. CHANGES

- JRebel integrates directly with application servers & frameworks to propagate configuration changes from the changed classes & resources

- Annotation changes are always visible in Reflection API

- JRebel provides and extensible SDK to allow contributions from third parties. Stripes, Struts 2, Wicket and several other integrations have already been contributed

www.zeroturnaround.com sales@zeroturnaround.com 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

HOW JREBEL WORKS: WORKSPACE MAPPING

- JRebel integrates with application servers, frameworks and your IDE

- When a class or resource is being looked up, JRebel redirects straight to the workspace

- When an HTTP resource needs to be served, JRebel serves it from the workspace

petclinic.war

www.zeroturnaround.com sales@zeroturnaround.com 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

HOW JREBEL WORKS: INTEGRATION FRAMEWORKS IDEs CONTAINERS BUILD TOOLS

www.zeroturnaround.com sales@zeroturnaround.com 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

TRY JREBEL: FREE 14-DAY TRIAL Part 3

Get Your Free Trial @

JRebel.com

Try JRebel free for 14-days and see how enjoyable coding Java becomes when you don’t have to restart while making changes to class structures, resource files and framework configuration files :)

www.zeroturnaround.com sales@zeroturnaround.com 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

THANKYOU!