baeldung

Spring Bean vs. EJB – A Feature Comparison

1. Overview Over the years, the Java ecosystem has evolved and grown tremendously. During this time, Enterprise Java Beans and Spring are two technologies that not only have competed but learned from each other symbiotically. In this tutorial, we'll take a look at their history and differences. Of course, we'll see some code examples of EJB and their equivalents in the Spring world. 2. A Brief History of the Technologies To start...

microprofile.io microprofile.io

Microprofile CustomConfigSource with Database

With the Microprofile-Config API there is a new and easy way to deal with configuration properties in an application. The Microprofile-Config API allows you to access config and property values form different sources like: System.getProperties() (ordinal=400) System.getenv() (ordinal=300) all META-INF/microprofile-config.properties files Developers can find a good introduction into the Microprofile Config API here. Of course,...

baeldung

Concurrent Strategies using MDBs

1. Introduction Message Driven Beans, also known as “MDB”, handle message processing in an asynchronous context. We can learn the basics of MDB in this article. This tutorial will discuss some strategies and best practices to implement concurrency using Message Driven Beans. If you want to understand more about the basics of concurrency using Java, you can get started here. In order to better use MDBs and concurrency, there are...

jboss.org jboss.org

This week in JBoss: (4th January 2018): new Year("2018").changeTo("year-of-openshift");

Welcome to our first installment of the JBoss Weekly Editorial 2018 ! We are looking for 2018, an other year that will certainly be quite interesting for the JBoss community, as the integration of its middleware products in Openshift is accelerating... If you have not boarded yet the Openshift wagon - here is the perfect opportunity!  JBoss on Openshift! Openshift is an excellent platform to deploy application and makes them scale....