eap 7.0 new features and capabilities - matrix hat middleware 1122016/eap7...eap 7.0 – new...

18
EAP 7.0 – New Features And Capabilities Eran Mansour Red-Hat JBoss Consultant Matrix

Upload: dangdan

Post on 27-Apr-2018

224 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

EAP 7.0 – New Features And Capabilities

Eran Mansour

Red-Hat JBoss Consultant

Matrix

Page 2: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

Jboss releases

https://videos.cdn.redhat.com/summit2015/presentations/12186_red-hat-jboss-enterprise-application-platform-7-roadmap-new-features.pdf

Page 3: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

Community Project vs EE spec

• JBoss AS 2 ==> J2EE 1.2

• JBoss AS 3 ==> J2EE 1.3

• JBoss AS 4 ==> J2EE 1.4

• JBoss AS 5 ==> Java EE 5

• JBoss AS 6, AS7 ==> Java EE 6

• WildFly 8, 9, 10 ==> Java EE 7

Page 4: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

Community Project vs EE spec

● JBoss AS 2 ==> J2EE 1.2 ● JBoss AS 3 ==> J2EE 1.3 ● JBoss AS 4 ==> J2EE 1.4 ==> JBoss EAP 4 ● JBoss AS 5 ==> Java EE 5 ==> JBoss EAP 5 ● JBoss AS 6, AS7 ==> Java EE 6 ==>JBoss EAP 6 WildFly 8, 9, 10 ==> Java EE 7 ==>JBoss EAP 7

Page 5: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

WildFly / JBoss EAP relationship

https://access.redhat.com/support/policy/updates/jboss_notes/

Page 6: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

General architecture and configurations

• The architecture stay as EAP6

• The file system and configuration files are the same as EAP6

Page 7: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

New WebServer - Undertow

• Blocking / non-blocking NIO based APIs

• Lightweight and fully embeddable

• Support for WebSockets

• Support for Servlet 3.1

• HTTP Upgrade

Page 8: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

New WebServer - Undertow

• HTTP/2 vs. HTTP/1.x

• Binary, instead of textual

• Fully multiplexed, instead of ordered and blocking

• One connection for parallelism

• Header compression to reduce overhead

• Allows servers to “push” responses proactively into client caches

Page 9: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

New WebServer - Undertow

Primary goal of HTTP/2 is to reduce latency and make efficient use of the TCP connection.

https://videos.cdn.redhat.com/summit2015/presentations/12186_red-hat-jboss-enterprise-application-platform-7-roadmap-new-features.pdf

Page 10: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

Undertow as Load Balancer

• A full Java solution managed centrally

• Implements mod_cluster

• HTTP, AJP, HTTP/2

https://videos.cdn.redhat.com/summit2015/presentations/12186_red-hat-jboss-enterprise-application-platform-7-roadmap-new-features.pdf

Page 11: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

New Messaging Implementation

• Apache ActiveMQ Artemis is a community project that consolidates the messaging strategies from ActiveMQ and HornetQ

• JMS 1.1 and JMS 2.0 are supported.

• Additional Protocols in A-MQ Platform: STOMP, Openwire, AMQP,MQTT

• Group discovery options: UDP multicast, JGroups, list of urls

• Server persistence/File Journal modes: AIO, NIO, no persistence

Page 12: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

Batching with JBeret

• EE7 supporting batching

• EAP7.0 supporting batch processes with JBeret project

http://www.oracle.com/technetwork/articles/java/batch-1965499.html

Page 13: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

Batching with JBeret

• The job is described by JSL – “Job Specification Language” which is written in xml file

• A job consist of steps which are divided into items

• The job can be operated by servlet or EJB session bean and finally, committed to the DB

<job id="SimplePayrollJob" xmlns=http://xmlns.jcp.org/xml/ns/javaee version="1.0"> <step id="process"> <chunk item-count="2"> <reader ref="simpleItemReader/> <processor ref="simpleItemProcessor/> <writer ref="simpleItemWriter/> </chunk> </step> </job>

Page 14: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

Batching with JBeret

• Actually, every Item is implemented by class

• The results of the processing are stored and can be reviewed

<job id="SimplePayrollJob" xmlns=http://xmlns.jcp.org/xml/ns/javaee version="1.0"> <step id="process"> <chunk item-count="2"> <reader ref="simpleItemReader/> <processor ref="simpleItemProcessor/> <writer ref="simpleItemWriter/> </chunk> </step> </job>

Page 15: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

Misc. Features

• – Improved Log Viewer

• – Log files appear as resources and can be downloaded

• – Datasource Templates

• – Flush operation for connection pools

• – Enhanced model browser

Page 16: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

Quickstarts

• For better understanding how to use EAP 7 technologies, try to use the quickstarts which are coming with each version:

Page 17: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

Quickstarts are based on maven

Maven is a build automation tool used primarily for Java projects. The word maven means "accumulator of knowledge" in Yiddish.[3] Maven addresses two aspects of building software: First, it describes how software is built, and second, it describes its dependencies. Contrary to preceding tools like Apache Ant, it uses conventions for the build procedure, and only exceptions need to be written down

Page 18: EAP 7.0 New Features And Capabilities - Matrix Hat Middleware 1122016/EAP7...EAP 7.0 – New Features And Capabilities Eran Mansour ... • JMS 1.1 and JMS 2.0 are supported. • Additional

Thank You

Eran Mansour

Red-Hat JBoss Consultant

Matrix