Contents
Introduction
Everyone who came across Oracle’s “First Cup” tutorial learned that it is based on NetBeans and Glassfish. Well, this is not the most popular development environment among Java EE developers. Nevertheless, the tutorial itself is undoubtfully excellent because it covers so many Java EE concepts. Too bad that it is not complete as it lacks some vital parts in its database part, making it difficult for newbies to follow even if they stick with NetBeans and Glassfish. So, following Oracle’s tutorials will most likely not result in a runnable application when you follow the instructions by the word.
I didn’t want to change my familiar IDE and application container, but the First Cup tutorial just looked too promising for getting my feet into the Java EE 7 world. I decided to challenge myself by porting the First Cup tutorial to the development environment I am familiar with, which is JBOSS Developer Studio and Wildfly.
I am convinced that there are many Java EE newbies out there who can’t resist a real good Java EE tutorial especially if it covers many aspects in an easy to understand manner. If they decided to go for JBoss / Eclipse with JBoss tools and Wildfly / JBoss EAP, this is probably the only tutorial in the web which teaches them the basic Java EE concepts by kidnapping Oracle’s tutorial and porting it to another platform. At least I had a lot of fun when I went through all the hassles and pitfalls during this endevour.
Again, at the end of this tutorial, you will have acquired a deeper insight into Java EE 7 and Wildfly concepts. Make sure your development system meets the software prerequisites listed below. Explaining each individual setup would certainly exceed the scope of this tutorial.
Software prerequisits:
Download and extract:
The latest Java EE 7 SDK (for the First Cup tutorial files)
Link to the Oracle “First Cup” Java EE 7 tutorial
Link to the Oracle Firstcup Tutorial
In JBoss Developer Studio, create a Wildfly server in the ‘Servers’ tab. To accomplish that, click into an emtpy space of the server’s tab and select ‘New’ – ‘Server’. In the list of server vendors open ‘JBoss community’ where you will find the Wildfly version you have installed on your workstation.
I am using Windows 10, but supposedly everything in this tutorial should also run if you are using Linux.