Red Hat JBoss Web Server

Video Thumbnail
Video

Refactoring your Code with Java 8 Functional Programming to the Rescue

In this talk, we'll show how you can refactor your traditional object-oriented Java code using Functional Programming features and APIs from Java 8, following several recipes and refactor legacy code in order to make it more readable and flexible. We discuss: - How to separate concerns using Lambda Expressions - How to handle with requirement changes using first-class functions - How to make several traditional OO design patterns more concise using lambda expressions The talk will consist of a balance between theoretical concepts and practical applications. Attendees will leave with concrete knowledge to refactor their traditional object-oriented Java code to make the best use of Functional Programming features and new APIs Java 8 APIs.

Video Thumbnail
Video

Analyzing Java Applications Using Thermostat (Omair Majid)

Ever wondered how your Java application is actually working? How it's making use of scarce resources on your machine? Ever tried to look under the hood of the Java Virtual Machine (JVM) and felt lost with various tools that don't provide an overall picture, only local details? Thermostat is an open source serviceability tool to help Java developers understand what's happening inside the JVM when their programs are running. Thermostat collects and combines information from various sources—including the Hotspot JVM—to present a complete picture of how the application is behaving. In this session, you'll get a chance to see Thermostat in action as it's used to examine various Java applications, identify what's wrong and fix those problems—often without even modifying the application code. You'll also learn how to add more features to Thermostat through plug-ins. If you're a developer, sysadmin, or QA, and if there's Java in your technology stack, you'll want to learn how Thermostat can make your life easier.

Video Thumbnail
Video

How To Get The Most Out Of Your Hibernate (Ståle Pedersen)

The fifth major release of Hibernate sports contains many internal changes developed in collaboration between the Hibernate team and the Red Hat middleware performance team. Efficient access to databases is crucial to get scalable and responsive applications. Hibernate 5 received much attention in this area. You’ll benefit from many of these improvements by merely upgrading. But it's important to understand some of these new, performance-boosting features because you will need to explicitly enable them. We'll explain the development background on all of these powerful new features and the investigation process for performance improvements. Our aim is to provide good guidance so you can make the most of it on your own applications. We'll also peek at other performance improvements made on JBoss EAP 7, like on the caching layer, the connection manager, and the web tier. We want to make sure you can all enjoy better-performing applications—that require less power and less servers—without compromising on your developer’s productivity.

Video Thumbnail
Video

DevNation 2014 - Stan Lewis - hawtio: The Extensible Console for Managing Your Java Stuff Video

hawtio is a fantastic console to manage Apache Camel, Apache ActiveMQ, and various other Java technologies running in the JVM. It's packaged as a simple war file that can be easily deployed in many different application servers. But are there ways it can be customized? How can someone add functionality without necessarily building it in the project? In this session, you'll get an overview of the available plug-ins that come ready to use in hawtio. You'll also learn about the extension points built into hawtio, either by repackaging the hawtio war file, or adding functionality via an external hawtio plug-in.

Video Thumbnail
Video

DevNation 2015 - Xavier Coulon - Using lambda expressions to query a data store

Want to take advantage of the type-safety and expressiveness of Java 8 lambda expressions to write queries that would be executed on a data store? It’s not as simple as it sounds. During this session, we’ll talk about the challenges behind using such expressions (spoiler: this includes reading bytecode). We’ll show you how to integrate lambda expressions with the latest MongoDB Java driver to submit queries in the native BSON format on the data store.

Video Thumbnail
Video

Improving Infinispan's Scalability: A new approach to group communication

Infinispan is a distributed in memory key/value store that aims to be highly available and scalable. Its ability to scale is tightly linked to the underlying order protocol, aka atomic broadcast, used for enforcing serializability. In this talk I will explore the scaling limits of Infinispan's existing protocol and then propose an alternative approach to designing broadcast systems, that decouples ordering and broadcast. This talk contrasts our approach with Infinispan's, exploring the design features of our new approach and how they will improve Infinispan's scalability. This talk was be given by Ryan Emerson at the Newcastle JBoss User Group.

Using API keys securely in your OpenShift microservices and applications
Article

The CoolStore Microservices Example: DevOps and OpenShift

Alessandro Arrichiello

An introduction to microservices through a complete example Today I want to talk about the demo we presented @ OpenShift Container Platform Roadshow in Milan & Rome last week. The demo was based on JBoss team's great work available on this repo: https://github.com/jbossdemocentral/coolstore-microservice In the next few paragraphs, I'll describe in deep detail the microservices CoolStore example and how we used it for creating a great and useful example of DevOps practices. We made some edits to the original project...

Internet of things feature image
Article

Wearable Tech: A Developer’s Security Nightmare

Samantha Donaldson

Web developers and IT professionals are the foundations of any quality business’ data security. However, with technology constantly changing and evolving as well as becoming more consumer-friendly, this data’s vulnerability only increases and it can often be hard to even notice how this new technology can actually affect your company until it occurs. Despite this, ignorance to modern hacking techniques does not refute their inability to transform even the smallest of devices into a weapon with which to infect or...

Article Thumbnail
Article

JBoss EAP 7 Domain deployments - Part 2: Domain deployments through the EAP 7.0 Management Console

Elvadas Nono

In this series of articles, I will present several ways to deploy an application on an EAP Domain. T he series consists of four parts. Each one will be a standalone article, but the series as a whole will present a range of useful topics for working with JBoss EAP. Part 1: Set up a simple EAP 7.0 Domain (this article) . Part 2: Domain deployments through the new EAP 7.0 Management Console Part 3: Introduction to DMR ( Dynamic...

Article Thumbnail
Article

Connecting to a Remote database from a JWS/Tomcat application on OpenShift

Guna Vijayaratnam

One of the common requirements for Java based applications on OpenShift is to have these workloads connect back out to an enterprise database that resides outside of the OpenShift infrastructure. While OpenShift natively supports a variety of relational databases (including Postgres and MySQL) as Docker based deployments within the platform, connecting to an existing enterprise database infrastructure is preferred in many large organizations for a variety of reasons including: Inherent confidence in traditional databases due to in house experience around...

Article Thumbnail
Article

Red Hat Developers - Learn More. Share More. Code More.

Harry Mower

It’s hard to overestimate the importance of software in the modern economy. As the world gets more connected and the price-to-performance of hardware continues to improve, investments are being shifted from reducing cost to generating new value.