All posts tagged “development

comment 0

Build a Java 3-tier application from scratch – Part 3: Object-relational mapping

Welcome to third part of my 3-tier application tutorial. Within this and the next part we are going to develope simple webservice that communicates with the database and maps Java objects to data tables.
We will create a controller that communicates with our MySQL database using the EclipseLink ORM to abstract this process.

Here’s a picture of what we want to achieve. A simple webservice that’s serves depending on the url an array of json data.

Java 3-tier webservice
Read More

comment 1

Superb Java development with Gradle, Hibernate, FlywayDB, JavaFX and Eclipse – Part 1

Wow that’s the best Java tutorial I’ve seen so far!

-You in a few minutes.

Sounds selfish, doesn’t it? Well it has the right to be, it took me 2 hours to write that! Don’t hesitate now and turn on your dev machine.
After this tutorial you have to rethink your Java development process and if you don’t have one yet this is the best place to start.
I will show you the most advanced tools to speed up your Java development environment and collaboration capabilities.
In this tutorial we are going to develop a simple MVC (Model, View, Controller) application ruled by the DRY (Don’t repeat yourself) approach.

The crappy picture below shows what’s going on according to my brain.

Project Concept
Read More

comment 0

Update Hostfile with Chrome/Firefox Plugin

Domain-ip mapping is essential in developing new websites as you have to test URLs without changing DNS entries.

Yet I’ve always update the local host file which requires in most cases a restart of the browser. This is a busy an troublesome issue.

Luckily there’s for everything a plugin, tool or script, this also goes for host file updates via Chrome/Firefox plugin.
Read More