Java

Hexagonal Architecture
Article

Hexagonal Architecture as a Natural fit for Apache Camel

Bilgin Ibryam

There are architectures and patterns that look cool on paper, and there are ones that are good in practice. Implementing the hexagonal architecture with Camel is both: cool to talk about, and a natural implementation outcome. I love going hexagonal with Camel because it is one of these combinations where the architecture and the tool come together naturally, and many end up doing it without realizing it. Let’s see why that is the case. Why go Hexagonal? Hexagonal architecture is...

Article Thumbnail
Article

The State of Microservices Survey 2017 - Eight trends you need to know

Cesar Saavedra

During the fall of 2017, we conducted a microservices survey with our Red Hat Middleware and Red Hat OpenShift customers. Here are eight interesting trends discerned by the results: I. Microservices are being used to re-architect existing applications as much as for brand new projects There seems to be a strong emphasis in the market by technology vendors for positioning microservices as being only for new projects. However, our survey reveals that organizations are also using microservices to re-architect existing...

How to customize OpenShift RBAC permissions
Article

Dynamically Creating Java Keystores in OpenShift

Raffaele Spazzoli +1

Introduction With a simple annotation to a service, you can dynamically create certificates in OpenShift. Certificates created this way are in PEM (base64-encoded certificates) format and cannot be directly consumed by Java applications, which need certificates to be stored in Java KeyStores . In this post, we are going to show a simple approach to enable Java applications to benefit from certificates dynamically created by OpenShift. Why certificates Certificates are part of a PKI infrastructure and can be used to...

Configuring mKahaDB persistence storage for ActiveMQ
Article

Configuring mKahaDB persistence storage for ActiveMQ

Chandra Shekhar Pandey

In this post, I wanted to address how to configure mKahaDB persistence storage on ActiveMQ for better management and reducing disk usage. Default configured KahaDB persistence adapter works well when all the destinations (queues/topics) being managed by the broker have similar performance. However, an enterprise solution where several third parties are involved is never the case. There are multiple queues or topics and different consumers or listeners listening to these queues/topics. Some consumers might be slower than other consumers. This...

Red Hat JBoss logo
Article

JBoss Weekly 17 November 2017

Jason Porter

Welcome back to another edition of JBoss Weekly, bringing you news from across the net relating to JBoss Middleware. Those of you who attended Devoxx Belgium, we hope you had the opportunity to speak with our engineers there. Releases We’ll kick off the editorial with the releases made in Middleware this past week: Arquillian Cube 1.9.2 Shrinkwrap Resolver 3.0.0 Arquillian Drone 2.4.4 Arquillian Drone 2.4.5 Arquillian Smart Testing 0.0.4 Arquillian Core 1.1.4 As you can see, the Arquillian team has...

Configuring mKahaDB persistence storage for ActiveMQ
Article

How to deploy Java application with Docker

Amit Nijhawan

The docker containerized environment is a software platform, which provides an abstraction of operating-system-level virtualization. To know more you can read this article: https://docs.docker.com/engine/docker-overview/ You need an available container-based application. Check the documentation for the right procedure for installation for your OS: https://docs.docker.com/engine/getstarted/step_one. Here, I am going to create a java application and run it by using a container-based application. This example includes the following steps: Create a directory by using below command. $ mkdir java-docker-application 2. Create a java...

Devoxx logo
Article

Red Hat Sessions at Devoxx 2017

Gunnar Morling

The 2017 edition of the legendary Devoxx conference is over, and as always, it has been a fantastic week. Hosted in Antwerp, Belgium, and sold out months in advance, it's one of the top events of the Java community. Five days fully packed with workshops, regular conference sessions, BOFs, ignite sessions and even quickie talks during the lunch breaks - there was something for everyone. The super-comfortable cinema seats at the Devoxx venue are legendary, but also if you couldn't...

MicroProfile logo
Article

MicroProfile at EclipseCon Europe

Heiko Rupp

EclipseCon Europe happened in October 2017 in Ludwigsburg, Germany and featured a ton of Red Hat speakers. My personal focus for this Event was Eclipse MicroProfile and I gave a talk about "The monitoring aspects of Eclipse Microprofile". (Slides are available on SlideShare) In my talk, I basically presented what I have written about in those two blog posts: https://developers.redhat.com/blog/2017/10/17/monitoring-aspects-eclipse-microprofile-1-2/ https://developers.redhat.com/blog/2017/10/25/monitor-eclipse-microprofile-1-2-server-prometheus/ Other presentations around MicroProfile were: Resilient Java Microservices with Eclipse MicroProfile Open Java EE and Eclipse MicroProfile Eclipse MicroProfile...

Java logo
Article

Interfaces in Java

Abdul Azeez Idris

Interfaces in Java are usually a mechanism for allowing a number of classes to share a number of methods and constants. It is also one of the best mechanisms for achieving Polymorphism in Java. So if you are the type that is very familiar with Interfaces before the arrival of Java 8, it would make a great deal of sense to also discover some of the cool stuff Interfaces can now do in Java 8. Let’s dive in. Interfaces before...

Java logo
Article

Red Hat introduces JDK 9

Jeff Maury

Support for Java™ 9 Starting from Red Hat JBoss Developer Studio 11.1, Java™ 9 is now supported. Please note that Red Hat JBoss Developer Studio does not run on a Java™ 9 virtual machine but allows for managing and building of Java™ 9 projects and artifacts. So, you must first define in your workspace a Java™ 9 JDK if you want to manage and build Java™ 9 projects. Java™ 9 is here, and JDT fully supports it: The Eclipse compiler...

Eclipse logo
Article

Red Hat introduces JUnit5

Jeff Maury

Support for JUnit 5 Starting from Red Hat JBoss Developer Studio 11.1, JUnit 5 is now supported. JUnit 5 support is now available in Eclipse. Create a new JUnit Jupiter test via *New JUnit Test Case wizard: Add JUnit 5 library to the build path. New JUnit Test Case wizard offers to add it while creating a new JUnit Jupiter test. Quick Fix (Ctrl+1) proposal on @Test, @TestFactory, @ParameterizedTest, and @RepeatedTest annotations. Add JUnit library in Java Build Path dialog...

Java Web Application image
Article

5 Pillars of a Successful Java Web Application (Part 3/3)

Eder Ignatowicz

In part 3 of this series of posts, we’ll detail our talk presented at Java One San Francisco 2017: "5 Pillars of a Successful Java Web Application”, where we shared our cumulative experience over the years building the workbench and the web tooling for the Drools and jBPM platform.

Red Hat JBoss Developer Studio Logo
Article

Announcing Red Hat Developer Studio 11.1.0.GA and JBoss Tools 4.5.1.Final for Eclipse Oxygen.1A

Jeff Maury

JBoss Tools 4.5.1 and Red Hat JBoss Developer Studio 11.1 for Eclipse Oxygen.1A 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 JBoss Products page 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.1A Oxygen JEE Bundle since...

Java Web Application image
Article

5 Pillars of a Successful Java Web Application (Part 2/3)

Eder Ignatowicz

In part 2 of this series of posts, we’ll detail our talk presented at Java One San Francisco 2017: "5 Pillars of a Successful Java Web Application”, where we shared our cumulative experience over the years building the workbench and the web tooling for the Drools and jBPM platform.

Java Web Application image
Article

5 Pillars of a Successful Java Web Application (Part 1/3)

Eder Ignatowicz

There are many challenges related to building and architecting a web application, especially if you want to keep your codebase updated with modern techniques without throwing away a lot of your code every two years in favor of the latest trendy JS framework. In our team, we can successfully keep a 7+ year-old Java application up-to-date, combining modern techniques with a legacy codebase of more than 1 million LOC, with an agile, sustainable, and evolutionary web approach. More than just...

Red Hat JBoss Fuse image
Article

More work done with less code - Fuse Online Tech-Preview TODAY

Christina Lin

Fuse Online will no longer be supported as of December 31, 2023 Fuse Online Tech-Preview is available TODAY! This is great news to my integration developer friends, check out the new Red Hat Fuse Online integration platform. Fuse Online is easy to use and low code platform for system integrators. System integrator now plays a very important role in the Enterprise IT, because they have the ability to interconnect with partner, vendors, and internal systems. Companies now need to deal...

10 steps cloud happiness
Article

10 Steps to Cloud happiness - Introduction

Eric D. Schabell

No matter how many steps there are, it's always a journey and this story is no exception. It seems like a long trek, but in just 10 steps, you can find your cloud happiness. There are always ups and downs in any journey as you traverse the path you've chosen. This is no truer for a walk to the top of a ridgeline as much as for your digital journey into the cloud. As an application developer, or as an...

padlock
Article

SSL Testing Tool

Siddhartha De

If you have a large number of servers, which are configured with SSL/TLS and you are out of track on their certificate validity, now all of sudden you are worried if some of the certificates are expired. Or if I think in some other scenario where you are required to understand underlying SSL/TLS configuration of your servers e.g. CipherSuits, Protocols, etc. Yes, in the traditional way, you can get all the information of your SSL/TLS configuration by login into an...

MicroProfile logo
Article

How to monitor an Eclipse MicroProfile 1.2 server with Prometheus

Heiko Rupp

Eclipse MicroProfile has added a Monitoring specification in its 1.2 release. This allows for a common way of monitoring servers that implement the specification. In this article, you will learn how to monitor MicroProfile 1.2 servers with the popular Prometheus monitoring system. Overview I have described the concepts of Eclipse MircoProfile (MP) Monitoring in a previous article: servers expose a basic set of system metrics that are common for each implementation of the MP-Metrics specification. Applications can in addition also...