Java

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...

Integrating WebSphere MQ with JBoss Enterprise Application Server
Article

Coding EJB clients for JBoss EAP 7.1

Francesco Marchioni

This article summarizes some new features that will be enabled in EAP 7.1 for applications using remote EJB clients. These new features will improve some aspects of the remote EJB communication such as: A simplified method for looking up remote EJBs A new annotation to control transaction propagation from remote EJB clients A new annotation to enable Client side interceptors for EJB calls An update in the remote EJB client configuration file Simplified lookup of remote EJBs Let's see them...

Red Hat JBOSS BRMS
Article

Your first Business Rules application on OpenShift: from Zero to Hero in 30 minutes

Duncan Doyle

In a previous blog post, we explained how to deploy an existing JBoss BRMS/Drools rules project onto an OpenShift DecisionServer. We created a decision/business-rules microservice on OpenShift Container Platform that was implemented by a BRMS application. The polyglot nature of a microservice architecture allowed us to use the best implementation (a rules engine) for this given functionality (business rules execution) in our architecture. The project we used was an existing rules project that was available on GitHub. We did however...

Video Thumbnail
Video

Easily secure your Spring Boot applications with Keycloak - Part 2

Red Hat Developer Program

Related Blog Post : https://developers.redhat.com/blog/2017/05/25/easily-secure-your-spring-boot-applications-with-keycloak/ Support Github repo : https://github.com/sebastienblanc/spring-boot-keycloak-tutoria Although security and identity management is a crucial aspect for any application, its implementation can be difficult. Worse, it is often neglected, poorly implemented and intrusive in the code. But lately, Identity Management servers has appeared which allow to outsource and delegate all authentication and authorization aspects. Of these servers, one of the most promising is Keycloak, open-source, flexible and agnostic of any technology, it is easily deployable / adaptable in its own infrastructure. In this session, I propose you to discover KeyCloak progressively and in an interactive way: 0 slide, 100% live coding."

Video Thumbnail
Video

Easily secure your Spring Boot applications with Keycloak - Part 1

Sebastien Blanc +1

Although security and identity management is a crucial aspect of any application, its implementation can be difficult. Worse, it is often neglected, poorly implemented and intrusive in the code. But lately, Identity Management servers has appeared which allow to outsource and delegate all authentication and authorization aspects. Of these servers, one of the most promising is Keycloak, open-source, flexible and agnostic of any technology, it is easily deployable / adaptable in its own infrastructure. In this session, I propose you to discover KeyCloak progressively and in an interactive way: 0 slide, 100% live coding."

Video Thumbnail
Video

JBoss Fuse Getting Started Home Loan Demo Part 5

Red Hat Developer Program

For people that are getting started to know Fuse, and wants to get their hands dirty and develop a JBoss Fuse project for the first time. In this demo, the vendors are asking for an service, that provides all the data with the updated appraised house value back to them. And they are requesting if the information can be provided through a Restful Web service. We will be using the latest available Rest DSL in camel to expose a restful web service through the configuration. Contains Rest DSL to expose Restful Endpoint services Servlet setup in Camel

Video Thumbnail
Video

JBoss Fuse Getting Started Home Loan Demo Part 2

Red Hat Developer Program

For people that are getting started to know Fuse, and wants to get their hands dirty and develop a JBoss Fuse project for the first time. In this part of the video we concentrate on processing the customer data, by reading the xml file and store it into a Postgres Database. And it also takes you through the new data mapper feature in JBDS. This demo uses the most simple and straight forward sql component in Camel Contains -SQL component -Dozer component for data convert