Skip to main content

Blog Archive for felipegaucho during October 2009

JPA has its puzzles and from time to time it is useful to write down that tricky solution for our mapping needs.This entry describes a ManyToMany relationship with an additional state in the intermediate table. All my examples are related to the Arena-PUJ project, the pet project I am hard working nowadays. Arena is an online system to manage academic competitions, and within its several tables...
Can you compile, deploy and test your Java EE projects with just 1 line of command? Check it out. I have no time for documentations lately, but I prefer to give you a chance to early adopt my build script and take your own conclusions. Following the steps below, you will have my Java EE 5 application running in your Glassfish v2.1 server - including test data populated in the MySql database....
The problem I just started a new Glassfish v2.1 and deployed a Hudson 1.327 on it. Unfortunatelly, after configuring my first build, it always failed due to a serialization problem: [INFO] ------------------------------------------------------------------------[ERROR] FATAL ERROR[INFO] ------------------------------------------------------------------------[INFO] Failed to serialize hudson.model....
Registration is one of most implemented use cases ever, but things get a bit different when you try to implement it in a RESTful Web-Service. Before I start the discussion about the registration use case, a list of terms for disambiguation: Application means a Java EE Application. (Arena-PUJ is the Java EE Application I am doing my REST experiments) Service is a RESTful Web-Service. (back-end...