how jrebel can save my sanity and 5+ weeks of builds and redeploys this year

13
JRebelForDevs How JRebel Can Save Your Sanity GO

Upload: zeroturnaround

Post on 10-May-2015

14.219 views

Category:

Technology


0 download

TRANSCRIPT

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

JRebelForDevs How JRebel Can Save Your Sanity

GO

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

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 [email protected] 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

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

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 [email protected] 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

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

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 [email protected] 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

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

- 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 [email protected] 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

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

- 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 [email protected] 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

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

AND REFLECTS THOSE CHANGES IN YOUR APPLICATION,

INSTANTLY

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

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 [email protected] 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

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

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 [email protected] 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

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

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 [email protected] 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

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

HOW JREBEL WORKS: INTEGRATION FRAMEWORKS IDEs CONTAINERS BUILD TOOLS

www.zeroturnaround.com [email protected] 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

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

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 [email protected] 399 Boylston Street, Suite 300, Boston, MA, 02116, USA

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

THANKYOU!