320 likes | 1.09k Views
JBoss EAP 6 Development and Administration. August 2013. Agenda. What's New in JBoss Middleware ? JBoss EAP 6 JBoss Setup and Install New Management API, CLI, new Web Console Command Line Interface Domain management Modular Class loading architecture HornetQ
E N D
JBoss EAP 6 Development and Administration August 2013
Agenda • What's New in JBoss Middleware? • JBoss EAP 6 • JBoss Setup and Install • New Management API, CLI, new Web Console • Command Line Interface • Domain management • 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: amirge@vizuri.com • twitter: @opensource4me • linkedIn: anilmirge
Red Hat Product Process PARTICIPATE 100,000+ We participate in & create community-powered upstream projects. PROJECTS (upstream projects) INTEGRATE We integrate upstream projects, fostering open community platforms. (communityplatforms) STABILIZE We commercialize these platformstogether with a rich ecosystem of services & certifications. (supportedproducts platforms, & solutions)
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 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-maven-repository.zip and update your .m2/settings.xml file following administration and configuration guide @ https://access.redhat.com/site/documentation/JBoss_Enterprise_Application_Platform/
JBoss EAP 6 - Management Interface Command Line Interface (CLI) Web Management Console Management Interface JBoss Controller REST API
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 • ~~ DEMO ~~
HornetQ The default JMS implementation in JBoss EAP 6.x
An open source Message Oriented Middleware project. Java based multi-protocol, clustered and asynchronous messaging system. Get started quickly by starting EAP6 using standalone-full.xml or standalone-full-ha.xmlconfig file. Features journaling based system for very high-performance. “HornetQ” Overview
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. “HornetQ” Connectors and Acceptors
JMS destinations can be configured easily via CLI. JMS Destination Configuration in EAP 6
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 ~~ DEMO ~~ 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 Journal Types
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 -javaPkgscom.legacy.app -input ./legacy.ear -output ./report JBoss Windup Overview
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 Codebase
JBoss Windup • ~~ DEMO ~~
Plans for the next Meet Up.. RESTEasy development on JBoss EAP JBoss EAP Web Subsystem JBoss EAP Security Subsystem JBoss EAP Clustering Thank you