
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.