JPA

Provides standards based Object-Relational persistence solution with additional support for many advanced features. EclipseLink JPA provides advanced support for leading relational databases and Java containers.

View details »

MOXy

Enables Java developers to efficiently bind Java classes to XML Schemas. MOXy implements JAXB allowing developers to provide their mapping information through annotations as well as providing support for storing the mappings in XML format. The many advanced mappings enable developers to handle the complex XML structures without having to mirror the schema in their Java class model.

View details »

DBWS

Declarative Web Service solution for accessing relational databases. The DBWS Builder generates the necessary configuration files based on the provided database artifacts so that EclipseLink's relational and persistence services can be combined to handle the requests.

View details »


Persistence SQL or NOT

The EclipseLink JPA provides developers with a standards based Object-Relational persistence solution with additional support for many advanced features. EclipseLink JPA provides advanced support for leading relational databases and Java containers.

SQL

Basic Configuration Examples

Basic examples of configuration necessary when using EclipseLink JPA.

Try it.

Using EclipseLink JPA in a JSF application.

This tutorial illustrates the use of EclipseLink JPA in a JSF application. The tutorial includes configuration and usage information in leading Java EE containers.

Try it.

Using EclipseLink JPA in an RCP Application.

This example provides a simple RCP application that uses EclipseLink JPA. It illustrates the usage of EclipseLink JPA in an Equinox environment.

Try it.

More JPA Examples

See here

No-SQL

Accessing MongoDB through JPA

This example shows how to map and persist an Ordering system object model to an Oracle NoSQL Database (ONDB) and a MongoDB NoSQL database.

Try it.

Polyglot Persistence (Relational and NoSQL)

This example is a variation of the NoSQL Example with some of the entities mapped to MongoDB and some to relational database.

Try it.


MOXy XML or JSON

The EclipseLink MOXy component enables Java developers to efficiently bind Java classes to XML or JSON. MOXy implements JAXB as well as SDO standards allowing developers to provide their mapping information through annotations as well as providing support for storing the mappings in XML format. The many advanced mappings enable developers to handle the complex XML structures without having to mirror the schema in their Java class model.

JAXB

Manipulating XML using EclipseLink MOXy (JAXB)

This examnple walks through the configuration and usage of MOXY's JAXB implementation.

Try it.

Meet in the Middle Mapping with MOXy

This tutorial illustrates for a POJO object model can be mapped to an XML schema using the EclipseLink Workbench and XML mappings with the JAXB runtime API.

Try it.

JAXB Specification

JCP page for Java API for XML Binding specification.

Read it.

More MOXy Examples

See here

SDO

Generating static Data Objects from XSD

Generating a static SDO DataObject model from an XML schema using EclipseLink's SDO compiler.

Try it.

Using POJOs and JPA Entities with SDO

EclipseLink SDO provides Data Access Service (DAS) combining existing POJO object models or JPA entities wrapped within static or dynamic data objects.

Try it.

EclipseLink SDO Examples

This example provides a simple RCP application that uses EclipseLink JPA. It illustrates the usage of EclipseLink JPA in an Equinox environment.

Try it.


Database Web Services REST or SOAP

The EclipseLink DBWS component enables Java developers a declarative Web Service solution for accessing relational databases. The DBWS Builder generates the necessary configuration files based on the provided database artifacts so that EclipseLink's relational and persistence services can be combined to handle the requests.

JPA-RS (REST)

JPA-RS Basics

The student example is intended to provide a simple example of using JPA-RS with a single entity persistence unit in a web application.

Try it.

New JPA-RS features

Dmitry Kornilov's blog describing slightly more advanced JPA-RS features.

Try it.

JPA-RS Design Doc

Detailed design documentation for EclipseLink 2.7 JPA-RS features.

Read it.

More JPA-RS Exmples

See here.

DBWS (SOAP)

DBWS Overview

Brief walk through of the DBWS configuration files and usage with the DBWSBuilder utility.

Try it.

Generating a Web Service for accessing a Table

Basic example illustrating how a table can easily be exposed as a web service using default CRUD operations.

Try it.

More DBWS Examples

See here


Downloads

EclipseLink 4.0.4 Release (Released Jul 19th, 2024)
TCK Summary, New and noteworthy, Getting Started

EclipseLink 4.0.4 Installer Zip (19.8 MB)
eclipselink-4.0.4.v20240715-059428cdd2.zip

EclipseLink NoSQL 4.0.4 Installer Zip (363 K)
eclipselink-plugins-nosql-4.0.4.v20240715-059428cdd2.zip

EclipseLink 4.0.4 OSGi Bundles Zip (39.3 MB)
eclipselink-plugins-4.0.4.v20240715-059428cdd2.zip">

EclipseLink 4.0.4 Source Zip (7.7 MB)
eclipselink-src-4.0.4.v20240715-059428cdd2.zip

EclipseLink in Maven
http://wiki.eclipse.org/EclipseLink/Maven

The minimum requirement to run EclipseLink 4.0.x is Java 11. Please ensure that you have Java 11 installed and it's working.

The EclipseLink Project's produced contents are dual-licensed under the terms of the Eclipse Public License v1.0 and Eclipse Distribution License v1.0. For the license of dependent libraries included within a distribution please refer to the about.html file within each distribution.

Other Downloads
Latest and previous releases, milestones, nightlies, ...

Latest Releases
eclipselink/downloads/

Previous Releases
eclipselink/downloads/previous_releases.php

Milestone Builds
eclipselink/downloads/milestones.php

Nighty builds
eclipselink/downloads/nightly.php

The minimum requirement to run EclipseLink 4.0.x is Java 11. Please ensure that you have Java 11 installed and it's working.


Documentation


General

Release Notes ( 4.0 / 2.7 / 2.6 / 2.5 / 2.4 )

Installation, Configuration ( 4.0 / 2.7 / 2.6 / 2.5 / 2.4 )

JavaDocs ( 4.0 / 2.7 / 2.6 / 2.5 / 2.4 )

EclipseLink Wiki

FAQ

XML Schemas

Solution Guides

Understanding EclipseLink Concepts ( 4.0 / 2.7 / 2.6 / 2.5 / 2.4 )

Solutions Guide ( 4.0 / 2.7 / 2.6 / 2.5 / 2.4 )

JPA Extensions Reference ( 4.0 / 2.7 / 2.6 / 2.5 / 2.4 )

Developing JAXB Applications Using EclipseLink MOXy ( 4.0 / 2.7 / 2.6 / 2.5 / 2.4 )

EclipseLink NoSQL ( 4.0 / 2.7 / 2.6 / 2.5 / 2.4 )

Developing Persistence Architectures Using EclipseLink Database Web Services ( 4.0 / 2.7 / 2.6 / 2.5 / 2.4 )




Get Help


We provide support to our community using the Eclipse Forums. It's a place to ask questions, reach out to committers and/or share your experiences with other members of the community.

Visit the EclipseLink forum.