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

Difference between revisions of "EclipseLink/Examples/MySports"

Line 1: Line 1:
 
 
= EclipseLink MySports Example =
 
= EclipseLink MySports Example =
  
Line 5: Line 4:
 
<div style="float:right;width:300px">
 
<div style="float:right;width:300px">
 
<div style="background:#ffffff;width:275px" align="center">
 
<div style="background:#ffffff;width:275px" align="center">
==[[Image:Go-bottom.png]][http://www.eclipse.org/eclipselink/downloads/2.2.0 Download EclipseLink 2.2.0]==
+
==[[Image:Go-bottom.png]][http://www.eclipse.org/eclipselink/downloads/2.2.0/MySports.zip Download]==
 
__TOC__
 
__TOC__
 
</div>
 
</div>
Line 44: Line 43:
 
|-
 
|-
 
| Division  
 
| Division  
|  
+
| A league contains one or more divisions of teams used to divide teams by age, skill or simply to manage a larger set of teams.
 
|-
 
|-
 
| Team
 
| Team
|  
+
| A team is ...
 
|-
 
|-
 
| Player
 
| Player
|  
+
| A player is ...
 
|}
 
|}

Revision as of 05:53, 27 May 2011

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 A league contains one or more divisions of teams used to divide teams by age, skill or simply to manage a larger set of teams.
Team A team is ...
Player A player is ...

Back to the top