Profile cover photo
Profile photo
Filipe Araujo
About
Posts

Post has attachment
Java Message Service 2.0, WildFly 11 and Maven
In this message I'm going to run a basic example of Java Message Service 2.0 using Maven to manage the project and WildFly 11 as the server. First, you should create a Maven project in your favorite IDE (Eclipse or IntelliJ, for example) using the maven-arc...
Add a comment...

Post has attachment
Hello World, Maven!
This year, I am demanding students to manage their projects using Maven. Around 2015 or 2016, I started to see an increasing usage of IntelliJ among students to the detriment of Eclipse. This raised a problem, as I am much more experienced with Eclipse than...
Add a comment...

Post has attachment
Creating a MySQL Datasource in WildFly
In this message, I will demonstrate how to create a data source to connect WildFly to a MySQL database. The process with other databases, in particular with PostgreSQL should be pretty much identical. This configuration involves two steps: first uploading t...
Add a comment...

Post has attachment
Queries in the Java Persistence Query Language - an Overview
In this message I want to give an overview of the Java Persistence Query Language, by presenting examples that make use of all of the six available clauses. The general structure of a SELECT query is the following (I recommend this url for details): SELECT ...
Add a comment...

Post has attachment
Sending a message in Java Message Service 2.0 from an Enterprise Java Bean
In this example I will explore the utilization of injection, which works inside containers (in this case the WildFly's Enterprise Java Beans container). I will use the @Resource annotation to initialize the value of a destination, and the annotation @Inject...
Add a comment...

Post has attachment
Java Message Service 2.0 with WildFly 8
In a couple of previous messages, I provided examples of Java Message Service (JMS) and JBoss AS 7. In the first , I did the basic, in the following one , I used a number of more advanced features. It's time to move on, and consider the following version of...
Add a comment...

Post has attachment
An Enterprise Application Repository to Access the Players Table
In my previous message , I explained how you could create a stand-alone JPA project using EclipseLink. Now, I'm going to pick this project and turn it into a part of a more complete Enterprise Application Repository. Overall, we are going to need four diffe...
Add a comment...

Post has attachment
Java Persistence API with EclipseLink
In this message, I will provide a fully working example on Java Persistence API (JPA) using EclipseLink in a stand-alone program. I.e., this example can (and should) run outside any Application Server. Again, I am assuming that you are using Eclipse for Jav...
Add a comment...

Post has attachment
JNDI in WildFly
In a previous message of mine , I guided the reader through the process of creating Java Message Service applications. I provided a simple example with a sender and a receiver. This application worked for JBoss AS 7, but ceased to work in version 8/WildFly....
Add a comment...

Post has attachment
Add a comment...
Wait while more posts are being loaded