Java

DevOps with OpenShift_tile card
E-book

Devops with OpenShift: Cloud Deployments Made Easy

Stefano Picozzi +2

For many organizations, a big part of DevOps’ appeal is software automation using infrastructure-as-code techniques. This book presents developers, architects, and infra-ops engineers with a more practical option. You’ll learn how a container-centric approach from OpenShift® can help your team deliver quality software through a self-service view of IT infrastructure.

A MicroProfile-based microservice on OpenShift Container Platform
Article

A MicroProfile-based microservice on OpenShift Container Platform - Part 2

Cesar Saavedra

Creating, associating, and using a database with a MicroProfile-based microservice In this blog post, I will cover how to create, populate, and associate a database to your MicroProfile-based microservice. I will also cover how to modify your microservice so that it makes use of the database. This is the continuation of the " A MicroProfile-based microservice on OpenShift Container Platform - Part 1; Creating a simple MicroProfile-based microservice and deploying it to OpenShift Container Platform" blog post and it assumes...

A MicroProfile-based microservice on OpenShift Container Platform
Article

A MicroProfile-based microservice on OpenShift Container Platform - Part 1

Cesar Saavedra

Creating a simple MicroProfile-based microservice and deploying it to OpenShift Container Platform Eclipse MicroProfile is an open source specification for Enterprise Java microservices. It is a community of individuals, vendors, and organizations collaborating and working on innovative microservices patterns for Enterprise Java within the context of modern development, architectures, and underlying infrastructures, e.g. health checks, fault tolerance, metrics, and security propagation within a cloud environment. Its first release was based on 3 Java EE JSRs/libraries/APIs, but this does not necessarily...

Skinny on Fat
Article

The Skinny on Fat, Thin, Hollow, and Uber

James Falkner

"I used WildFly Swarm to shrink my app from 45 megabytes to only 2243 bytes." I was recently playing around with various techniques for packaging Java microservices and running on OpenShift using various runtimes and frameworks to illustrate their differences (WildFly Swarm vs. WildFly, Spring Boot vs. the world, etc). Around the same time as I was doing this an internal email list thread ignited discussing some of the differences and using terms like Uber JARs, Thin WARs, Skinny WARs...

Red Hat OpenShift
Article

Troubleshooting Java applications on OpenShift

Frédéric Giloux

What is it about? OpenShift has seen a lot of traction with the release of its third version based on Kubernetes a couple of years ago. More and more companies after a thorough evaluation of OpenShift Container Platform (OCP) have built an on-premise or in the cloud PaaS. With the next step, they have started to run their applications on OCP. One of the important aspects of running applications in production is the capacity of quickly restoring services to the...

Article Thumbnail
Article

Announcing Red Hat Developer Studio 11.0.0.GA and JBoss Tools 4.5.0.Final for Eclipse Oxygen

Jeff Maury

JBoss Tools 4.5 and Red Hat JBoss Developer Studio 11.0 for Eclipse Oxygen are here waiting for you. Check it out! Installation JBoss Developer Studio comes with everything pre-bundled in its installer. Simply download it from our Red Hat Developers and run it like this: java -jar jboss-devstudio-.jar JBoss Tools or Bring-Your-Own-Eclipse (BYOE) JBoss Developer Studio requires a bit more: This release requires at least Eclipse 4.7 (Oxygen) but we recommend using the latest Eclipse 4.7 Oxygen JEE Bundle since...

Camel / Red Hat Fuse
Article

How to run FIS 2.0 application using source S2I deployment procedure

Chandra Shekhar Pandey

This article describes how to create and deploy an FIS 2.0 project using the s2i source workflow. It creates a project from scratch and using github repository one can deploy their FIS 2.0 camel and spring-boot based project to an Openshift environment. Below are the steps in the sequence, which should be followed to deploy the application easily. Firstly, one should setup an Openshift environment with FIS image and templates as per doc https://access.redhat.com/documentation/en-us/red_hat_jboss_fuse/6.3/html-single/fuse_integration_services_2.0_for_openshift/. Create a directory spring-boot somewhere in...

RedHat
Article

Using Clustered Camel Quartz Jobs on JBoss EAP

Mary Cochran

Camel Quartz can be a useful component for jobs that need to run at a particular time every day. Recently on a client site, we had a need for about 15 different jobs that each created a differently formatted file and send each file to a particular destination. While this was straightforward to get setup on a single machine, once we started deploying our camel routes to multiple servers the jobs started to kick off on both machines. To resolve...

Red Hat Wimplicit
Article

TDC Sao Paulo 2017 and containers quality tests

Ricardo Martinelli

I attended The Developers Conference 2017 in Sao Paulo, one of the most important developers conference in Brazil, between July 18 to July 22nd. This was the 11th edition of the event (the event started in 2007 and they also had Burr Sutter and Edson Yanaga as keynote speakers) with 5 days of events and 50+ tracks, ranging from Programming Languages like Java, Python, and others until Big Data, Machine Learning, and Internet of Things. The audience only increases year...

AMQ Replication HA Policy
Article

Demonstrating Red Hat JBoss AMQ 7 HA Replication Failover

Hugo Guerrero

A few weeks ago, the newest version of Red Hat JBoss AMQ was released. AMQ 7 is the result of Red Hat’s efforts on creating a unified messaging platform for its middleware offerings. One of the most interesting features of this new version is the new backing strategy for failovering when configured in high availability. This feature allows clients connections to migrate from one server to another in the event of server failure so client applications can continue to operate...

Organizing Microservices
Article

Organizing Microservices - Modern Integration

Christina Lin

Microservices is probably one of the most popular buzz words among my fellow developer friends, and I do like the concept of being flexible, agile and having simply having more choices. But as a person that worked in the software integration space for years, I started to see some resemblance of the old ESB days. Looking at the problem from ten thousand feet up. A decade ago, we had to come up with a better way of organizing the spaghetti...

Kill your API: the burger analogy
Article

Kill your API: the burger analogy

Owen Rubel

The other day I had a chat with the folks working on the OpenAPI initiative and I explained a trick that some of us in enterprises use to get greater speeds and scalability out of our API’s. At first, this may seem like complete sacrilege to those who are a stickler for standards but if you allow me to explain using a simple analogy, you may see how this can be useful… The ‘Burger Analogy’ Say for instance your computer...

Architecture for Agile Integration
Article

Reference Architecture for Agile Integration

Christina Lin

Integration is still around but in a different form. So, what does modern integration look like? Looking at how agile scrum has taken over traditional waterfall development framework, by enabling shorter delivery cycles, faster feedback, and having the flexibility to rapidly adapt to changes. I believe it’s time for traditional integration to be agile again. By breaking up traditional ESB into distributed microservices. A little recap of what should be in Agile integration: Distributed Integration Lightweight, support distributed deployment Pattern...

Testing REST APIs
Article

Testing REST APIs with REST Assured

Heiko Rupp

Note: This is an updated version of a post I wrote for my private blog years ago. While working on the REST API of RHQ a long time ago, I had started writing some integration tests against it. Doing this via pure HTTP calls is very tedious and brittle. So, I was looking for a testing framework to help me and found one that I used for some time. I tried to enhance it a bit to better suit my...

Testing your Android App's
Article

Testing your Android App's UI with Espresso

Abishek V Ashok

Android is one of the most used mobile operating systems in the market with an estimated market share of approximately 84.82%. Millions of apps loom in the Android OS, for various tasks and it's a shame that only a small percentage of the apps have a well-developed user interface (UI), which is flexible and adaptable to various mobile sizes. For an average user, they want their apps to look good and do well. However, if you are an app developer...

Vaadin Framework logo
Article

Upgrading to Vaadin Framework 8 (Part 2 of 2)

AMahdy AbdelAziz

In the previous part of this blog, I talked about the most important steps to get your project to compile with the latest Framework version. The migration has been done through the first three steps mentioned here, and in this post, I will go over the least complicated steps of migration. Steps 4 and 5 cover the modernization of your project with the latest Framework 8 features. If you are in a hurry, you can do this later on as...

MicroProfile specifications via WildFly Swarm
Article

MicroProfile: Optimizing Enterprise Java for a Microservices Architecture

John Clingan

The pace of Java EE releases has been slowing and has been unable to adapt to the rapid rise of microservices. MicroProfile was created as a means to collaborate with vendors, individuals, and organizations like Java user groups in an open forum, to rapidly bring microservices to traditional Java EE developers. We moved the project to the Eclipse Foundation and have officially renamed it Eclipse MicroProfile. Red Hat is implementing MicroProfile specifications via WildFly Swarm and optimizing it for use...

5 Things to Know About Reactive Programming
Article

5 Things to Know About Reactive Programming

Clement Escoffier

Reactive, what an overloaded word. Many things turn out to become magically Reactive these days. In this post, we are going to talk about Reactive Programming, i.e. a development model structured around asynchronous data streams. I know you are impatient to write your first reactive application, but before doing it, there are a couple of things to know. Using reactive programming changes how you design and write your code. Before jumping on the train, it’s good to know where you...

Internet of things feature image
Article

Building a Secure IoT Solution: Summit 2017

Ishu Verma

How do customers build an end-to-end IoT solution using commercial grade, open source products? This is the question we (Patrick Steiner, Maggie Hu and I) wanted to address with our session at the Red Hat Summit, Boston. The end-to-end solution is based on three-tier Enterprise IoT Architecture , which integrates IoT data with existing business processes and the human element. To keep it real, we not only prescribed the recipe but also demonstrated this end-to-end solution through an interactive demo...

DotNET Core process image
Article

From Java to .NET Core, Part 2: Types

Yev Bronshteyn

In my previous post in the series, I discussed some fairly surface-level differences between C#/.NET and Java. These can be important for Java developers transitioning to .NET Core, to create code that looks and feels "native" to the new ecosystem. In this post, we dig beneath the surface, to understand .NET's type system. It is my belief that, with Java in the rear view mirror, the .NET type system is more effective and enjoyable to write on. But you be...