Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Model Layer

fschoeppl edited this page Apr 24, 2012 · 1 revision

Model Layer - org.backmeup.model

The model layer contains classes which are used as transfer objects between the different layers. All exceptions that are used within the core are part of the org.backmeup.model.exceptions package.

The [data access layer] (wiki/data-access-layer) uses JPA to store and retrieve model classes. The model classes use JPA annotations to describe their relationships and database mapping.

All classes which are shared between the [plugin layer] (wiki/plugin-layer) and other layers must be part of an OSGi bundle and a member of the applications classpath at the same time. Therefore the model layer will be built as OSGi-bundle.

Facts:

  • package realm is org.backmeup.model,
  • built as OSGi-Bundle,
  • used by: [plugin management] (wiki/plugin-layer), [data access layer] (wiki/data-access-layer), [business logic] (wiki/business-logic-layer), [job management] (wiki/job-layer), [REST] (wiki/rest-layer)
Clone this wiki locally