After you did the your first e4 application you can use different layouts and widgets to make it a nice looking application.
This is what we are going to program:
I think, whenever we see a chart in a magazine, in books or applications our brain say’s to us Yeepie!!!
Don’t read these stupid texts or tables! Just look at the green or yellow line and hope that they are above the other lines or hope that your opinion is the biggest part of the pie. This saves us a lot of work and in my opinion we should concentrate on drawing beautiful colorized pie charts, instead of writing long boring articles.
But the question is: How do I draw these beautiful colorized pie charts? The simple answer is: you don’t have to, because google will draw them for you and you just have to tell them what to draw via the google charts api.
Tomcat 7 with Eclipse Juno
Several POJOs (player, team, club)
Create JSON Object in Java using Jackson
Use a simple JSP to offer the JSON data
Download the latest jars from http://wiki.fasterxml.com/JacksonDownload (in my case version 2.1.4)
Create a new Dynamic Web Project:
Add the downloaded JARs to your project:
Getting started with Hibernate:
Getting started with Hibernate 4.1.8 on Eclipse Juno with Hibernate Tools 3.4.0.
My recommendation is to use those as well. It is also not part of this post to install the mysql database.
We have got a house and a person. A Person can “live” in one house. A house can have many people living in it.
Setting up the project:
Create a new Java Project which is called DuckoutHibernate.