Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

of

JavaScript Frameworks and Java EE – A Great Match Slide 1 JavaScript Frameworks and Java EE – A Great Match Slide 2 JavaScript Frameworks and Java EE – A Great Match Slide 3 JavaScript Frameworks and Java EE – A Great Match Slide 4 JavaScript Frameworks and Java EE – A Great Match Slide 5 JavaScript Frameworks and Java EE – A Great Match Slide 6 JavaScript Frameworks and Java EE – A Great Match Slide 7 JavaScript Frameworks and Java EE – A Great Match Slide 8 JavaScript Frameworks and Java EE – A Great Match Slide 9 JavaScript Frameworks and Java EE – A Great Match Slide 10 JavaScript Frameworks and Java EE – A Great Match Slide 11
Upcoming SlideShare
JMS.Next(): JMS 2.0 and Beyond
Next
Download to read offline and view in fullscreen.

42 Likes

Share

Download to read offline

JavaScript Frameworks and Java EE – A Great Match

Download to read offline

The sea change in JavaScript frameworks is shifting the pendulum away from today's thin-client based server-side web frameworks like Spring MVC and JSF to JavaScript powered rich clients. With strong support for REST, WebSocket and JSON, Java EE is well positioned to adapt to this landscape.

In this heavily code driven session, we will show you how you can utilize today's most popular JavaScript frameworks like AngularJS and React to utilize the core strengths of Java EE using JAX-RS, WebSocket, JSON-P, JSON-B, CDI and Bean Validation.

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

JavaScript Frameworks and Java EE – A Great Match

  1. 1. Others Talk, We Listen. JavaScript Frameworks and Java EE – A Great Match Reza Rahman Senior Architect rrahman@captechconsulting.com @reza_rahman
  2. 2. CapTech Full-service US national IT consulting firm that focuses on client best interests, trust, servant leadership, culture, professionalism and technical excellence. #28 in Vault's Consulting Top 50 #3 Best Consulting Internship #9 Best Overall Internship #1 in Meeting Client’s Needs #7 Best Firm to Work For #1 in Career Development Ranked for the 7th Consecutive Year Copyright © 2015 CapTech Ventures, Inc. All rights reserved.
  3. 3. Agenda • JavaScript Frameworks in Perspective • Java EE Capabilities • Java EE + JavaScript Frameworks Copyright © 2015 CapTech Ventures, Inc. All rights reserved.
  4. 4. JavaScript Frameworks in Perspective • Thin client vs. rich client debate is very old • Server-side web frameworks have ruled for a while • JSF, Spring MVC • AJAX mild shift to client • PrimeFaces, GWT • Rich clients powered by JavaScript frameworks making a comeback • Improving JavaScript engines • Better tools (jQuery, MV* frameworks, Chrome, FireFox) • Standards advancement (CSS3, HTML5, WebSocket, HTML Components…) Copyright © 2015 CapTech Ventures, Inc. All rights reserved.
  5. 5. Computer Science is About Tradeoffs • Rich clients clearly better at some things • Complex, dense, dynamic interfaces • “Single page applications” (Applets ;-)) • Not a panacea • Heavily form, workflow driven applications • Server-side rendering still better in terms of maturity, reliability, security, accessibility, internationalization, SEO • JavaScript development not without it’s pains… • Likely co-existence in the long term • Maybe even in the same application! Copyright © 2015 CapTech Ventures, Inc. All rights reserved.
  6. 6. My Big Fat Rich-Client Architecture • Very similar to client/server architecture of lore • Client responsible for UI rendering, basic input validation, logic and state • Server responsible for business logic, domain model, persistence • Communication protocols • REST for majority of cases • WebSocket when full-duplex communication needed • Server-Sent Events (SSE) when only server streaming needed • JavaScript frameworks support REST well, but not WebSocket/SSE • Typical interchange format is JSON Java EE is a great server-side platform for this architecture. Copyright © 2015 CapTech Ventures, Inc. All rights reserved.
  7. 7. Java EE + JavaScript Copyright © 2015 CapTech Ventures, Inc. All rights reserved. EJB 3EJB 3 ServletServlet CDICDI JPAJPA JAX-RSJAX-RS BeanValidationBeanValidation WebSocketWebSocket JSON-BJSON-B JavaScript FrameworkJavaScript Framework JAXBJAXB SSESSE JSON-PJSON-P
  8. 8. Java EE + JavaScript Demo https://github.com/m-reza-rahman/javaee-javascript Copyright © 2015 CapTech Ventures, Inc. All rights reserved.
  9. 9. Summary • JavaScript frameworks gaining traction • Java EE well positioned as a JavaScript rich client backend, especially with JAX-RS, the Java API for WebSocket and JSON-P • Support will be even stronger with Java EE 8 • You can use demo code as a starting point Copyright © 2015 CapTech Ventures, Inc. All rights reserved.
  10. 10. Resources • Angular Tutorial • https://docs.angularjs.org/tutorial • Java EE Tutorials • https://docs.oracle.com/javaee/7/tutorial/ Copyright © 2015 CapTech Ventures, Inc. All rights reserved.
  11. 11. Copyright©2015CapTechVentures,Inc.Allrightsreserved.
  • Gudimetla

    Mar. 28, 2018
  • dambrus

    Feb. 2, 2018
  • kyawsoenyan

    Oct. 11, 2017
  • mohammedhayatpatel

    Oct. 5, 2017
  • VitaliiCherkashyn

    Sep. 30, 2017
  • manoelcampos

    Feb. 19, 2017
  • KaboucheAmine

    Dec. 31, 2016
  • ZamisPl

    Aug. 18, 2016
  • hamednourhani

    Feb. 10, 2016
  • pinakidey

    Jan. 11, 2016
  • choeungjin

    Jan. 8, 2016
  • seohoseok14

    Jan. 7, 2016
  • bunkertor

    Jan. 5, 2016
  • DavidLin64

    Dec. 21, 2015
  • FarhatAgwaeten

    Oct. 14, 2015
  • aungchitnyein

    Oct. 13, 2015
  • edncc

    Sep. 23, 2015
  • bewpleng

    Aug. 27, 2015
  • javaravipal

    Jul. 21, 2015
  • dilietol

    Jun. 3, 2015

The sea change in JavaScript frameworks is shifting the pendulum away from today's thin-client based server-side web frameworks like Spring MVC and JSF to JavaScript powered rich clients. With strong support for REST, WebSocket and JSON, Java EE is well positioned to adapt to this landscape. In this heavily code driven session, we will show you how you can utilize today's most popular JavaScript frameworks like AngularJS and React to utilize the core strengths of Java EE using JAX-RS, WebSocket, JSON-P, JSON-B, CDI and Bean Validation.

Views

Total views

130,943

On Slideshare

0

From embeds

0

Number of embeds

92,712

Actions

Downloads

450

Shares

0

Comments

0

Likes

42

×