Today, I will be continuing my self-development and building by engaging you guys with a new project. After years of dabbling and playing around with Java SE, I decided to toll the part of Java EE.
I might call these a project, but it is still a tutorial. I always put it like these, ‘the examples that actually work’. The project is a Car Rental Java Enterprise Application with Java EE and Wildfly Application Server (precisely Wildfly 10) at the back-end and JavaFX at the front-end. Did I tell you that I have officially chosen JavaFX as my front-end tool and Wildfly Server as my back-end tool with respect to JavaFX?
The Car Rental Application will be able to fully manage a car rental services Firm. The user can add Cars to the database (car name, model, rent/hire price etc), The Customer can remotely search through the Inventory, choose a car to hire and if the car is available, he/she can proceed to make payments.
I will try to integrate it to a Banking System application I have been using a tutorial at Narialand so that the rental price will be deducted from the Customer’s Account automatically.
The Java Email Sender Library will be fully used in this project until I wrap my head around the Java Mail resource shipped with Wildfly Application server.
Steps to prepare for the Tutorial:
- The First step in this project is to download and install Wildfly Application Server if you have not. You can check this link for it.
- You have to add a data source to it. By data source I mean a database server, my favorite for now is PostgreSQL. You can check this link for it.
- Setup the Server. I was running a tutorial like this at Narialand and I explained how to setup Wildfly 10 Application Server but if it is so confusing there, You should watch out for another post here on how to setup wildfly server.
- Setup the database server. I was running a tutorial like this at Narialand and I explained how to setup PostgreSQL Database Server but if it is so confusing there, You should watch out for another post here on how to setup PostgreSQL server.
- Download and setup your favorite IDE and SDK tools. Netbeans IDE is my best IDE, for now, it is really awesome to use. I am currently running Netbeans 8.1. Download and install the latest Java SDK tools from Oracle Website.
I will assume that anybody following this tutorial/project should have a good knowledge of Java especially Java SE, swing although we won’t be using it and a little knowledge of Java EE. Definitions and explanations will be exposed where necessary.
This project is for learning purposes. I am still learning in case you come across any error, typo or mistakes owing to inexperience. Please feel free to point it out and correct it.
I shall be proposing the business methods that will be contained in the Enterprise Bean in the next post.