Warning!

Please note that the Europass Java example is based on Europass XML v2.0 which is now deprecated. However, many of the high-level concepts and features demonstrated with this example do not depend on specific versions of the Europass XML, so you still might find it useful even if your application uses the latest Europass XML Schema.

Overview

Europass has developed a Java-based (Swing) application in order to show how the information contained in a Europass document generated using the online editor, can be extracted and imported into a custom database schema (MS SQL, MySQL and Oracle).

The technology stack used in this example are:

  • The latest JVM version;
  • Hibernate ORM v3.2.7 for database persistance;
  • The latest version of the Xerces Java library for XML manipulation;
  • iText v2.1.7 for extracting the Europass XML attachment from the PDF.

Features

The functionalities covered by this application are:

  • Present a graphical interface to the user allowing to select a Europass document from his local hard disk;
  • Extract the XML from the document;
  • Parse the XML and extract the data;
  • Store the extracted data in a custom schema and present a report to the end user.

How to Use

The Europass Java example, available on GitHub, is based on the Maven build tool.

You can either download it as a zip directly from GitHub, or clone it locally on your computer typing git clone https://github.com/europass/sample-tools-java.git in a terminal. In the latter case, you will need to have Git installed on your computer.

In either case, a Maven installation is required on your computer in order to run the sample application. Check the Maven site for details on installation and usage.