Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

EclipseLink/Examples/MySports

h1. EclipseLink MySports Example

The MySports example is a simple web application which demonstrates several key features of

EclipseLink including:

  • EclipseLink JPA
    • @Multitenant(SINGLE_TABLE)
    • Extensible entities with @VirtualAccessMethods

h2. Example Overview

The example includes 3 projects

  1. MySports: A Dynamic Web project which deploys the primary application exposing a JSF and

JAX-RS (REST) front end.

  1. MySports Admin:
  2. MySports Tests: A Java project containing Junit tests that verify the functionality of

the other two projects as well as offering utilities to create schemas and populate sample

data

h3. MySports Domain

The domain model is that of any arbitrary sports league. The idea is that this SaaS

solution allows any league to host its information on the site and customize the data

stored as well as the look and feel.

Class Description
Division
Team
Player

Back to the top