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

Post on 27-Apr-2018

224 Views

Category:

Documents

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

EAP 7.0 – New Features And Capabilities

Eran Mansour

Red-Hat JBoss Consultant

Matrix

Jboss releases

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

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

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

WildFly / JBoss EAP relationship

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

General architecture and configurations

• The architecture stay as EAP6

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

New WebServer - Undertow

• Blocking / non-blocking NIO based APIs

• Lightweight and fully embeddable

• Support for WebSockets

• Support for Servlet 3.1

• HTTP Upgrade

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

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

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

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

Batching with JBeret

• EE7 supporting batching

• EAP7.0 supporting batch processes with JBeret project

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

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>

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>

Misc. Features

• – Improved Log Viewer

• – Log files appear as resources and can be downloaded

• – Datasource Templates

• – Flush operation for connection pools

• – Enhanced model browser

Quickstarts

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

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

Thank You

Eran Mansour

Red-Hat JBoss Consultant

Matrix

top related