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.
Difference between revisions of "EclipseLink/Examples/MySports"
< EclipseLink | Examples
Line 14: | Line 14: | ||
**Extensible entities with @VirtualAccessMethods | **Extensible entities with @VirtualAccessMethods | ||
− | + | == Example Overview == | |
The example includes 3 projects | The example includes 3 projects | ||
Line 29: | Line 29: | ||
data | data | ||
− | + | === MySports Domain === | |
The domain model is that of any arbitrary sports league. The idea is that this SaaS | The domain model is that of any arbitrary sports league. The idea is that this SaaS |
Revision as of 05:54, 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
Example Overview
The example includes 3 projects
- MySports: A Dynamic Web project which deploys the primary application exposing a JSF and
JAX-RS (REST) front end.
- MySports Admin:
- 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
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 ... |