Vizuri-JBoss EAP 6 Demo
Download
Report
Transcript Vizuri-JBoss EAP 6 Demo
JBoss EAP 6 Development and
Administration
August 2013
Agenda
•
•
•
•
•
What's New in JBoss Middleware?
JBoss EAP 6
o JBoss Setup and Install
o New Management API, CLI, new Web Console
o Command Line Interface
o Domain management
o Modular Class loading architecture
HornetQ
Windup – Application migration tool
Red Hat’s PaaS offering
About me…
Anil Mirge
Solutions Engineer @ Vizuri
RHCJA (Red Hat Certified JBoss Administrator)
email: [email protected]
twitter: @opensource4me
linkedIn: anilmirge
Red Hat Product Process
100,000+
PROJECTS
PARTICIPATE
(upstream projects)
INTEGRATE
(community
platforms)
STABILIZE
(supported products
platforms, &
solutions)
We participate in & create
communitypowered upstream projects.
We integrate upstream projects,
fostering open community platforms.
We commercialize these platforms
together with a rich ecosystem of
services & certifications.
JBoss EAP 6
•
•
•
•
•
•
•
A central component in the middleware portfolio
The world’s most popular Java EE application server
Fast (< 3 seconds with an app)
Smaller memory footprint (< 17 MB)
New GUI Admin Console
Modular core
Domain Management
CLI – Command Line Interface
JBoss EAP 6
JBoss EAP 6
Java EE 6 Full Profile
Java EE 6 Web Profile
JBoss EAP 6 Easy Install
•
Register at jboss.org and download EAP 6.1.0 @
https://www.jboss.org/products/eap.html
•
•
•
Installation – Simply unzip jboss-eap-6.1.0.zip
Download JBoss EAP maven repository @
https://www.jboss.org/products/eap.html - click on
Download link under Install the Maven Repo section.
Installation – simply unzip jboss-eap-6.1.0-mavenrepository.zip and update your .m2/settings.xml file
following administration and configuration guide @
https://access.redhat.com/site/documentation/JBoss_Enterprise_Application_Plat
form/
JBoss EAP 6 - Management Interface
Command
Line
Interface
(CLI)
Web
Management
Console
REST API
Management
Interface
JBoss
Controller
JBoss EAP 6 - Domain Management
JBoss EAP 6 - Modules
•
•
•
•
•
No more “big ball of mud”
Every module is isolated from
every other module
A module imports only the
modules that it directly uses
(and does not “see” classes or
resources that it does not use)
In particular, modules do not
normally “see” their transitive
dependencies
jboss-deployment-structure.xml
JBoss EAP 6 CLI
•
•
•
View the available managed components, their
attributes and operations.
Convenient features such as tab-completion for
commands and operation requests.
History of the executed commands and operation
requests.
•
Deploy and undeploy packages at runtime
•
Available in Interactive, GUI as well as Batch modes.
JBoss EAP 6 CLI
HornetQ
The default JMS implementation in JBoss EAP 6.x
“HornetQ” Overview
An open source Message Oriented Middleware project.
Java based multi-protocol, clustered and asynchronous
messaging system.
Get started quickly by starting EAP6 using standalonefull.xml or standalone-full-ha.xml config file.
Features journaling based system for very highperformance.
“HornetQ” Connectors and Acceptors
Two main components:
Connectors Used by JMS clients that defines how to connect to
HornetQ server
Acceptors Used by a HornetQ server that defines which types of
connections are accepted.
Two types of connectors and acceptors:
invm: short for Intra Virtual Machine – it can be used when both client
and the server are running on the same JVM.
netty: the name of a JBoss project – it must be used when the client and
the server are running on separate JVMs.
JMS Destination Configuration in EAP 6
JMS destinations can be configured easily via CLI.
Journal Types
File access type is modular (e.g. can use AIO on Linux)
By default message persistence is done using Java NIO ops.
At startup, broker detects the OS and if linux+libaio exists, the libaio
package is leveraged.
File interaction is highly efficient
Resources
http://docs.jboss.org/hornetq/2.3.0.Final/docs/user-manual/html_single/
http://www.packtpub.com/hornetq-messaging-developers-guide/book
https://github.com/hornetq/hornetq
JBoss Windup Overview
A migration tool
Scans an application and produces reports
Primarily meant for Java and JEE applications
Extensible and customizable rules
Renamed to Windup and now adopted as a JBoss
community project
Free and open source
Available from http://windup.jboss.org
JBoss Windup Overview
Available as an archive file download
Includes an executable JAR file
Shell script for user convenience
All dependencies are in the lib folder and rules under base
Extensions – a placeholder for customizations
java -jar windup-cli.jar -javaPkgs com.legacy.app -input ./legacy.ear
-output ./report
JBoss Windup Codebase
Interrogators to process input artifacts
Java classes
JSP files
Manifest and XML files
Archives containing the above
Output – Windup Report
Classifications
Areas of Interest
Story Points
JBoss Windup
Red Hat’s PaaS Offering
What is Openshift after all?
Thank you
Plans for the next Meet Up..
RESTEasy development on JBoss EAP
JBoss EAP Web Subsystem
JBoss EAP Security Subsystem
JBoss EAP Clustering