Essential object-relational mapping in JPA

4 August 2011

The Java Persistence API is the standard framework for persistence in both Java SE and Java EE platforms. It is the outcome of the collaborative work of the industry’s leading vendors in object-relational mapping, EJB and JDO, including a remarkable contribution from the open source community.

In this post we summarize, one-by-one, the essential relationships between entities. We examine each relationship from the prespectives of “Domain Model” and “Relation Model”, and provide the associated construction in JPA. Finally, for each relationship we present an example from the real world.

Click here to read more…

Java Web Services with simple types

30 July 2010

In the previous post we created a simple Web Service in Java. Now we’ll build on it, by providing more methods with standard argument and return types.

  • String
  • Number
  • Boolean
  • Array
  • Variable arguments

Click here to read more…

Free SCWCD Mock exams

19 March 2010

This post summarizes practice exams written for the Sun Certified Web Component Developer certification. Each one focuses on a separate objective. They should be useful from the middle stages of your preparation.

Nikos Pougounias is an Oracle Certified Professional, Java EE 5 Web Component Developer.

© 2009-2011 Nikos Pougounias. This is a free contribution to the Java and JavaRanch communities. Please distribute it for free.

A simple Web Service

13 March 2010

We are about to create a simple Web Service in Java. The only requirement is Java SE 6.

Click here to read more…

JAXB in 3 minutes

11 March 2010

JAXB is a handy technology that easily transforms Java objects to XML documents and vice versa.

Click here to read more…

Easy JDBC using Spring

29 August 2009

Spring has a well-written module for JDBC. We’ll use it to produce clean code for our application in 10 minutes.

Click here to read more…

Free SCWCD Mock Exam for EL

24 August 2009

This practice exam focuses on EL. For those using Head First Servlets and JSP, 2nd Edition it provides a lot of practice for the last part of chapter 8.

Click here to read more…