Monthly Archive: December 2017

Making our JavaEE application CORS-aware

So far, we’ve built a JavaEE REST application that works for the most part. The only thing left is to add “Access Control” headers. Adding these headers will allow our server to communicate with...

Tying our JavaEE EJB into our JAX-RS web service

In the previous post, we created our EJB that contains all of our application logic. In this post, we’ll tie it to our JAX-RS service then test it out. We’ll start by opening TodoService.java...

Creating our first Entity and EJB in JavaEE

Let’s start this post off by briefly explaining what entities and EJBs are. An entity is an object that represents a table and an instance of an entity represents a row within that table....

Defining a JavaEE Datasource in Wildfly

Just about every application built using JavaEE will need a datasource. The easiest and, in my opinion, the best way to do it is to create it through Wildfly’s administration UI. Before we can...

Android Studio 3.0.1 – Gradlew build failure

I recently upgraded to the latest Android Studio, 3.0.1, and also upgraded my project. When I went to build my project using the command-line build tool, gradlew, it failed. The reason for the failure...

Defining our To Do service endpoints in JavaEE

In the previous blog post, we got our JavaEE project up and running and created a very simple REST endpoint. In this post, we’ll talk a bit more about what data we expect to...