Fat JAR smackdown | DevNation Live

You've heard of Fat/Uber JARs and are probably building them today. But every time you build one, a tree is chopped down in the forest to power the compute, disk and networking resources needed to deploy it to your production systems. In this session, we'll explore the benefits and costs of Fat JAR packaging and demonstrate various options for slimming your apps and saving those trees using popular frameworks like Wildfly Swarm, Dropwizard, Spring Boot and Eclipse Vert.x. Github Repo Link: https://github.com/jamesfalkner/wfswarm-packaging-demo

webinar wildfly swarm OpenShift cloud native spring boot vert.x dropwizard JBoss DevNation Live James Falkner Burr Sutter 108 7

Red Hat OpenShift Application Runtimes

Cloud native application runtimes optimized for OpenShift
Main Content

In today’s digital world, software strategy is central to business strategy. To stay competitive, organizations need customized software applications to meet their unique needs—from customer engagements to new product and services development. Therefore, the need to speed up application development, testing, delivery, and deployment is becoming a necessary business competency. Red Hat® OpenShift Application Runtimes helps organizations use the cloud delivery model and simplify continuous delivery of applications and services on Red Hat® OpenShift platform, the cloud-native way. Built on proven open source technologies, Red Hat® OpenShift Application Runtimes also provides development teams multiple modernization options to enable a smooth transition to the cloud for existing applications.

Simply put, RHOAR offer developers flexibility and choices to build the right application with the right runtime, framework, language, and architectural style. 

Hide Get Started
Off
Url
Overview
Page Description
Containerized application runtimes for building new cloud native applications and cloud enable existing application optimized for OpenShift
Additional Content

Guided Choice

Red Hat® OpenShift Application Runtimes provides developer and IT choice, but guided choice, in choosing the best language, framework, runtime, and architectural style.

 

Microservices with Spring Boot

Spring Boot lets you create opinionated Spring-based stand-alone applications. The Spring Boot runtime also integrates with the OpenShift platform, allowing your services to externalize their configuration, implement health checks, provide resiliency and failover, and much more.

 

Reactive development with Vert.x

Eclipse Vert.x is a toolkit for building distributed and reactive applications on top of the Java virtual machine (JVM). Vert.x helps you build responsive applications and services capable of handling a large number of concurrent users and events. Vert.x uses an asynchronous development model, allowing reactive applications that ensure loose coupling, isolation, and location transparency. Easily scale up and down by adding or removing nodes—your applications will stay responsive

 

 

Rightsize bootable java development with Thorntail

Thorntail bundles everything you need to develop and run Java EE applications by packaging server runtime libraries with your application code.  It speeds up the transition from monoliths to microservices because it’s MicroProfile compatible, and takes advantage of the existing industry standard Java EE technologies.

 

High Performance JavaScript Microservices

Node.js provides an I/O model based on events and non-blocking operations that enables you to write high performance applications that are both lightweight and efficient. You can Node.js applications and services on OpenShift while providing all the advantages and conveniences of the OpenShift platform such as rolling updates, continuous delivery pipelines, service discovery, and canary deployments. OpenShift also makes it easier for your applications to implement common microservice patterns such as externalized configuration, health checks, circuit breakers, and automatic failover.

More runtimes for Java EE, Java Web, and JavaScript development

Red Hat® OpenShift Application Runtimes offers the flexibility developers need to pick the right runtimes for their development choices.

Red Hat JBoss® Enterprise Application Platform (EAP): JBoss EAP is a leading open source Java EE-based application runtime used for building, deploying, and executing highly transactional Java applications and services

Red Hat JBoss® Web Server (JWS): JWS is an embedded Tomcat container for use with Spring Boot applications.

 

 

Service Catalog Integration

Combined with the OpenShift service catalog, enterprise IT organizations can take full advantage of multi-cloud investments by integrating cloud-based services, for example those provided by the OpenShift AWS service integration, and capabilities developed in-house on Red Hat OpenShift Application Runtimes and provide portability and consistency of stateful and stateless, microservices-based applications across IT footprints.

Video
Product Feature Image and Text
Body

Red Hat® OpenShift Application Runtimes reduces the complexity of developing cloud-native applications by integrating OpenShift capabilities with the programming model of multiple runtimes, including service discovery, external configurations, and circuit breaker or fault tolerance. Red Hat® OpenShift Application Runtimes also includes a number of missions and boosters, such as creating HTTP application programming interfaces (APIs), interoperating with a database, or implementing the health check pattern to speed up application development.

Title
Simplified Development
Media Reference
Cloud
Body

Red Hat® OpenShift Application Runtimes supports multiple runtimes, languages, frameworks, and architectures. Its certified interoperability with middleware services offers the choice and flexibility to pick the right services for the right job. In addition, applications developed with containerized Red Hat® OpenShift Application Runtimes can run on any cloud infrastructure where Red Hat® OpenShift Container Platform can run. It also supporsts hybrid cloud configurations, offering freedom from vendor lock-in.

Title
Strategic flexibility
Media Reference
Tools
Body

Due to its integration with Red Hat® OpenShift Container Platform, Red Hat® OpenShift Application Runtimes provides developers with a self-service platform for provisioning, building, and deploying applications and their components. It integrates with continuous integration and continuous delivery (CI/CD) tools like Git, Maven, and Jenkins. It also provides intuitive tooling to securely streamline Kubernetes workflows and enable application load-balancing and auto-scaling capabilities with policy-based control and automation.

Title
DevOps-ready
Media Reference
Laptop

Red Hat® OpenShift Application Runtimes - Overview

RHOAR Marketecture  5

 

Download
Hide Get Started
No Subscription Offering

Red Hat OpenShift Runtimes is based on a number of upstream projects. Visit the community pages to learn more:

 

 

Download Red Hat OpenShift Application Runtimes
Url
Hello World
Alternate Getting Started Text

Red Hat OpenShift Application Runtimes (RHOAR) offers a guided getting started online experience where example applications for each runtime can be quickly deployed to your OpenShift Online account, including OpenShift Online Starter accounts (sign up for free), or deployed to your existing OpenShift infrastucture! The examples are also forked into your GitHub account so they can be perused, changed, and redeployed. To get started, just Launch!

Launch

Developer Interactive Learning Scenarios

Our Interactive Learning Scenarios provide you with a pre-configured OpenShift instance, accessible from your browser without any downloads or configuration. Use it to experiment, learn about specific technologies within RHOAR and see how its helps solve real-world problems.

Eclipse Vert.x Thorntail Node.js Spring

Learn more from leading technology authors

Free e-books that cover trending technologies related to Red Hat OpenShift Application Runtimes. Sign in or join now (it’s free) to download the full books!

Yanaga microservice db ebook cover
Migrating to Microservice Databases: From Relational Monolith to Distributed Data

Code is easy, State is hard. Learning how to deal with your monolithic relational databases in a microservices structure is key to keeping pace in a quickly changing workplace.  There are many approaches and in this book, author Edson Yanaga, takes you through nine different strategies for integrating data from your monolithic application to a microservice architecture.

 

Modern JEE ebook cover
Modern Java EE Design Patterns

With the ascent of DevOps, microservices, containers, and cloud-based development platforms, the gap between state-of-the-art solutions and the technology that enterprises typically support has greatly increased. But as explained in this O’Reilly report, some enterprises are now looking to bridge that gap by building microservice-based architectures on top of Java EE.

 

Reactive ebook cover
Building Reactive Microservices in Java

With the ascent of DevOps, microservices, containers, and cloud-based development platforms, the gap between state-of-the-art solutions and the technology that enterprises typically support has greatly increased. But as explained in this O’Reilly report, some enterprises are now looking to bridge that gap by building microservice-based architectures on top of Java EE.

Hide Get Started
Hide Get Started
Tabs
Blue Sections
Body

Visit developers.redhat.com and click on REGISTER to create a developer account and verify your email address. Free to join, the Red Hat Developer Program Community delivers the resources and ecosystem of experts to help professional programmers to be more productive and get ahead of the curve as they build great applications.

Once registered, you'll have access to Red Hat Developer downloads including OpenShift Container Development Kit and Red Hat OpenShift Application Runtimes.

Title
Register as a Red Hat Developer
Minutes to Complete
5minutes
Body

Red Hat Container Development Kit is a personal container development environment using new tooling based on Minishift to streamline installation and development. The easiest way to install Red Hat Container Development Kit is to use the Red Hat Development Suite installer, a single download for installing some of the best Red Hat development tools. 

  1. Navigate to Container Development Kit Hello World page
  2. Follow the instructions to download the installer and install Red Hat Container Development Kit.
  3. TODO
Title
Download Red Hat Container Development Kit
Minutes to Complete
15minutes
Body

TODO

Title
Choose your Runtime, Mission, and run your first project
Page Description
Launch Application Runtimes on OpenShift
Url
Docs and APIs
Documents Links Section

The full suite of Red Hat OpenShift Application Runtimes documentation is also available on the Red Hat Customer Portal.

Red Hat OpenShift Application Runtimes

Red Hat OpenShift Application Runtimes Release Notes
Getting Started with Red Hat OpenShift Application Runtimes
Install and Configure the Fabric8 Launcher Tool
Eclipse Vert.x Runtime Guide
Spring Boot Runtime Guide
Thorntail Runtime Guide
Node.js Runtime Guide
 
Hide Get Started
Off
More Resources
Red Hat OpenShift Application Runtimes - Middleware Blog

A collection of useful blog posts regarding Red Hat OpenShift Application Runtimes.

Page Description
Find documentation, videos, articles, and other resources available for Red Hat OpenShift Application Runtimes.
Url
Help
Hide Get Started
Off
Show Stack Overflow
Yes
Page Description
Red Hat OpenShift Application Runtimes (RHOAR) provides a highly productive and  prescriptive developer experience for creating new cloud-native and cloud-enabled applications using microservices and containerization
Url
Community
Hide Get Started
Off
Display Projects
No
Page Description
Learn more about the open source communities powering Red Hat OpenShift Application Runtimes
rhoar OpenShift Application Runtimes Application Development rhoar Accelerated Development And Management Join the waitlist Off
https://i.ytimg.com/vi/5dqgGj_uuIo/default.jpg
11 Seconds
32 Minutes
/slideshow/embed_code/key/1SNN7EIMEMoIQR See the Demo Code A DevNation Live session.

Intro to Red Hat JBoss Enterprise Application Platform Cheat Sheet

Intro to EAP Cheat Sheet Cover

Enable batch mode by running the batch command, then enter all of the commands in the batch. You can run the batch using the run-batch command or save it for later use using the holdback-batch command. For example:


batch

data-source add --name=DATASOURCE_NAME --jndi-name=JNDI_NAME --driver-name=DRIVER_ NAME --connection-url=CONNECTION_URL --profile=PROFILE_NAME

/subsystem=datasources/data-source=DATASOURCE_NAME:write-attribute(name=jta,value=true)

reload

run-batch

This is a quick reference for JBoss EAP open source technologies, including web server, messaging, clustering and high availability, and caching.

Advanced Red Hat JBoss Enterprise Application Platform 7 Cheat Sheet

Advanced EAp Cheat Sheet Cover

The default JVM settings are defined in the standalone.conf or domain.conf file for the app server. These settings can be configured directly in the configuration file or using the command-line tools.

JAVA_OPTS="-Xms64m -Xmx512m
-XX:MaxMetaspaceSize=256m
-Djava.net.preferIPv4Stack=true"JAVA_
OPTS="$JAVA_OPTS
-Djboss.modules.system.pkgs=$JBOSS_
MODULES_SYSTEM_PKGS
-Djava.awt.headless=true"
Set the default heap settings in the configuration file.
In this advanced cheat sheet, author Deon Ballard, builds on the Intro to JBoss EAP 7 Cheat Sheet, providing commands covering socket bindings, logging, class loading, and much more.

Role Based Access Control in WildFly 8 (Part 1 of 3)

Description and demonstration of the Role Based Access Control feature that's new in WildFly 8. This first of three videos demonstrates the standard roles under which WildFly 8 administrators can operate.

JBoss wildfly swarm Red Hat Developer Program 214 0

Red Hat JBoss Enterprise Application Platform

An application platform for hosting your apps that provides an innovative modular, cloud-ready architecture, powerful management and automation, and world class developer productivity.
Main Content

JBoss® Enterprise Application Platform 7 provides an innovative modular, cloud-ready architecture, powerful management and automation, and world class developer productivity. It is Java™ EE 8 certified and features powerful, enterprise-grade features such as high availability clustering, distributed caching, messaging, transactions, and a full web services stack. It offers full support and deployment flexibility for Java EE in any environment, whether on-premise, virtual, or hybrid cloud environments. Support is included for many popular Java EE web-based frameworks, including Spring, Spring Web Flow, Spring WS, Spring Security, Arquillian, AngularJS, jQuery, jQuery Mobile, and Google Web Toolkit (GWT). JBoss EAP allows organization to deliver business value more quickly and with greater flexibility, resulting in lower costs, straightforward scale out, and reduced IT complexity. All with Red Hat®'s market-leading reputation for certification and support, ensuring your administration and development needs are met as you continue to drive forward into the future and beyond.

Hide Get Started
Off
Url
Overview
Page Description
Product information about Red Hat JBoss Enterprise Application Platform
Video
Download
Off
Show Subscription Offering

WildFly
Visit the project download page for more options and all versions.

Download current or older versions of JBoss EAP.
Url
Hello World
Hide Get Started
Off
Tabs
Blue Sections
Body

You may install Red Hat Developer Studio standalone (A), or also install JBoss Enterprise Edition (B).

A. Install Red Hat Developer Studio standalone

  1. Install the Java SE Development Kit (JDK) version 8. We recommend using the OpenJDK or the Oracle JDK.

  2. Download Developer Studio 12 standalone.

  3. Run the Developer Studio installer.

    1. For Mac/Windows development hosts:

      1. Navigate to the folder that contains the downloaded Developer Studio JAR file.

      2. Right-click devstudio-12.0.0.GA-installer-standalone.jar

      3. Select Open With → Jar Launcher.

    2. For Linux development hosts:

      1. Navigate to the folder that contains the Developer Studio JAR file.

      2. Execute the installer:

        $ java -jar devstudio-12.0.0.GA-installer-standalone.jar
    3. Follow the on-screen instructions to continue the installation process.

  4. Start Developer Studio. See Developer Studio 12 Installation documentation for details.

  5. Configure Maven:

    1. In Developer Studio, click Window→Preferences.

    2. Type maven in the text box to view options related to Maven.

    3. In the results, expand JBoss Tools and click JBoss Maven Integration.

    4. Click Configure Maven Repositories.

    5. Click Add Repository and then click the downward facing arrow in the Profile ID: field to view the available Maven repositories.

    6. Select redhat-ga-repository from the drop-down list profile and then click OK.

      Add Maven Repository

  6. Click Finish.

    Configure Maven Repository

  7. Answer Yes when asked about updating the settings.xml file.

 

B. Install JBoss EAP

Once Developer Studio is installed (above), you can download, install, and set up JBoss EAP from within the IDE.

To download, install, and set up JBoss EAP from within the IDE:

  1. Start the IDE.

  2. Click Window → Preferences, expand JBoss Tools, and then click JBoss Runtime Detection.

  3. In the Paths pane, click Download.

  4. In the Download Runtimes window, from the Download Runtimes table select the JBoss EAP version that you want to download and click Next.

Note: For JBoss EAP 6.1.x and later, continue to follow the steps given here. For JBoss EAP 6.0.x and earlier, follow the on-screen instructions for downloading JBoss EAP from the Red Hat Customer Portal and after JBoss EAP is installed continue to use runtime detection to set up JBoss EAP from within the IDE.

Figure 2.2. Download Runtimes Window Listing Available JBoss EAP Versions

DevStudio 11.0 image 2 Hello World

 

 

  1. In the JBoss.org Credentials window, enter your credentials and click Next.

  2. In the Runtime JBoss EAP_version window, read the terms and conditions, and then click I accept the terms of the license agreement and then click Next. Note that if you have previously accepted the terms and conditions in the IDE or through the jboss.org website, this window is skipped.

  3. In the Download Runtime window, in the Install Folder field, click Browse and choose a location in which to install JBoss EAP and click Finish. The Download 'JBoss EAP 1 window shows the progress of the downlaod.

  4. Click Apply and Close to close the Preferences window.

Result: The server is listed in the Servers view in stopped mode.

Title
Set up your Dev Environment
Minutes to Complete
10minutes
Body

To verify that Developer Studio and JBoss EAP are working correctly, deploy and execute the helloworld quickstart application in the JBoss EAP server you will now create and configure:

In Developer Studio, Open the Red Hat Central view.

  1. Note: If the Red Hat Central view is not visible, click the

    menu icon icon on the main menu bar.

  2. Type helloworld into the search box and click the helloworld-rs quickstart shown in the result.

    DevStudio 11.0 image 1 Hello World

     

  3. Click Finish. This downloads the helloworld application and its Maven dependencies.

  4. Once all the dependencies are downloaded, a dialog appears to tell you that your project is ready. Click Finish.

  5. In the Servers tab, select Red Hat JBoss EAP 7.0 [Stopped] and click the Start the Server icon to start the JBoss EAP server.

    EAP Server

  6. Once the server starts, right-click the jboss-helloworld application in the Project Explorer view.

    1. From the menu that appears, select Run as.. and then Run on Server.

    2. Select the newly created JBoss EAP server, click OK and then Finish.

This will build, deploy, and run the helloworld application in the JBoss EAP server. The application opens in the internal default Developer Studio web browser and presents the "Hello World!" Success page.

 

Title
Install, Configure, and Verify
Minutes to Complete
5minutes
Body

Follow the below series to build your first application. You will build some simple examples as well as build a TicketMonster Application using JBoss EAP. The TicketMonster application shows you how to build a modern HTML application that communicates with a Java EE backend using REST. The series walks you through each step of the application development lifecycle, from start to finish.

Step 1: Learn more about getting started

JBoss Enterprise Application Platform Getting Started Guide

Step 2: Start exploring TicketMonster

Tutorial

Title
Build your first JBoss EAP application
Minutes to Complete
20minutes
Page Description
Learn how to install and start using JBoss EAP.
Additional Content
Url
Docs and APIs
Documents Links Section

There are many resources available for Red Hat JBoss Enterprise Application Platform here on Red Hat Developer Program and on the Red Hat Customer Portal. On this page, we highlight our pick of those resources.

JBoss EAP 7.2.0

Release Notes

Get the latest information on new features and enhancements, unsupported and deprecated functionality, and fixed issues for Red Hat JBoss Enterprise Application Platform 7.2.

Introduction to JBoss EAP

Understand a high-level overview of Red Hat JBoss Enterprise Application Platform concepts, features, and example architectures.

Getting Started Guide

Get up and running quickly by learning how to configure and manage Red Hat JBoss Enterprise Application Platform as well as use the quickstart examples.

Installation Guide

Learn about the various methods to install Red Hat JBoss Enterprise Application Platform.

Migration Guide

Migrate your applications from previous versions of Red Hat JBoss Enterprise Application Platform to version 7.2.

Patching and Upgrading Guide

Upgrade Red Hat JBoss Enterprise Application Platform from one point release to another or apply cumulative patches.

Configuration Guide

Perform administrative tasks for Red Hat JBoss Enterprise Application Platform, such as deploying applications and setting up a managed domain. Customize functionality, such as logging, transactions, and high availability services.

Performance Tuning Guide

Monitor and diagnose performance issues and learn how to optimize various aspects of Red Hat JBoss Enterprise Application Platform.

Configuring Messaging

Configure messaging applications using the built-in messaging for Red Hat JBoss Enterprise Application Platform.

Using JBoss EAP in Microsoft Azure

Install and configure Red Hat JBoss Enterprise Application Platform in Microsoft Azure.

Development Guide

Develop and deploy Java EE applications on Red Hat JBoss Enterprise Application Platform.

Developing EJB Applications

Develop and deploy business applications on Red Hat JBoss Enterprise Application Platform using the EJB architecture.

Developing Hibernate Applications

Learn how to map database tables to Java classes and SQL data types to Java data types to reduce development time spent on common data persistence tasks.

Developing Web Services Applications

Develop and deploy web services applications on Red Hat JBoss Enterprise Application Platform using a variety of frameworks.

How to Set Up SSO With Kerberos

Learn how to implement single sign-on within Red Hat JBoss Enterprise Application Platform using Kerberos.

How to Set Up SSO With SAML v2

Learn how to implement single sign-on within Red Hat JBoss Enterprise Application Platform using SAML v2.

Security Architecture

Understand the basic security concepts and various security protocols of Red Hat JBoss Enterprise Application Platform. Users should start with this document to gain a fundamental understanding of the security components.

How to Configure Identity Management

Learn how to use identity stores, such as LDAP, to secure Red Hat JBoss Enterprise Application Platform's management interfaces and applications.

How to Configure Server Security

Learn how to secure Red Hat JBoss Enterprise Application Platform's management interfaces and subsystems.

Management CLI Guide

Learn how to use the management command-line interface (CLI) to configure and manage Red Hat JBoss Enterprise Application Platform. Browse a reference of commands for common administration tasks.

Login Module Reference

Familiarize yourself with the available login modules available for Red Hat JBoss Enterprise Application Platform. These login modules are deprecated, and users should reference the How to Configure Server Security guide for new configurations.

API JavaDocs

Browse the API for Red Hat JBoss Enterprise Application Platform 7.2.

Hide Get Started
Off
Page Description
Find documentation, videos, articles, and other resources available for JBoss EAP.
Url
Help
Show Stack Overflow
Yes
Page Description
Red Hat JBoss Enterprise Application Platform An application platform for hosting your apps that provides an innovative modular, cloud-ready architecture, powerful management and automation, and world class developer productivity.
Url
Community
Main Content

Using JBoss EAP is a great way to build real-world enterprise applications based on the latest technologies. But what if you find something that needs fixing or have a new feature to suggest? By getting involved with the JBoss EAP community you can give feedback, improve the docs, review code and discuss and propose new features whenever they’re needed. Answering user questions or taking part in development discussions is also a great way to build a reputation for collaboration and expertise in your field.

No matter what your skill level, contributing to JBoss EAP can be very rewarding and a great learning experience. You’ll meet lots of smart, passionate developers who are all driven to create the best middleware possible in open source! You don’t have to be an expert to get involved and it doesn’t have to take a lot of time.

Display Projects
Yes
Page Description
Get involved with the community around JBoss EAP.
eap JBoss EAP Application Development eap Accelerated Development And Management View downloads Off
https://i.vimeocdn.com/video/464086997_200x150.jpg
42 Seconds
17 Minutes

5 Minutes to Mobile

In this short video, we focus on the Getting Started Experience with JBoss Developer Studio 5 - Beta 3, Aerogear - provides the Maven Archetype for HTML5 and OpenShift - JBoss in the Cloud. The HTML 5 Archetype in JBoss Central leverages frameworks modernizer.js and jQuery Mobile to enable both a desktop & mobile based client-side application, with JBoss Java EE 6 resources providing the back-end business logic. Find out more about OpenShift at http://openshift.redhat.com Find out more about Aerogear at http://www.jboss.org/aerogear

JBoss OpenShift Red Hat Developer Program 17200 2 https://i.vimeocdn.com/video/289785203_200x150.jpg
17 Seconds
5 Minutes