Synaptik Labs Blog

What is nvm?

“nvm” stands for Node Version Manager. Its purpose is to allow you to switch between different versions of node and npm quickly and easily. It also makes it easy to upgrade your version of...

Adding the MySQL JDBC driver into Wildfly

Out of the box, Wildfly only comes with an H2 JDBC driver. Most likely, you have a different database such as Oracle, MS SQL, or MySQL. As long as you have access to Wildfly,...

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