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/Development/DBWS/RestfulComponent/UseCases"

Line 2: Line 2:
 
<onlyinclude>
 
<onlyinclude>
 
There are three scenarios to consider:
 
There are three scenarios to consider:
# (<b>Existing Entities</b>) the database contains the specified entities: the typical scenario where the Project's entities are exposed via a RESTful CRUD application.
+
# (<b>Existing Entities</b>) the database contains the specified entities: the typical scenario where the entities are exposed via a RESTful CRUD application.
# (<b>Greenfield Entities</b>) the database does <b>not</b> contain the specified entities: the so-called <i>greenfield</i> scenario where the Project's entities do not yet exist on the database.
+
# (<b>Greenfield Entities</b>) the database does <b>not</b> contain the specified entities: the so-called <i>greenfield</i> scenario where the entities do not yet exist on the database.
# (<b>Meta-data Entities</b>) meta-data describing the specified entities is provided through an alternative mechanism: the scenario where the Project's entities are described via a JPA <tt>.orm</tt> file.
+
# (<b>Meta-data Entities</b>) meta-data describing the specified entities is provided through an alternative mechanism: the scenario where the entities are described via a JPA <tt>.orm</tt> file.
  
In its initial phase, DBRS will target the <b>Existing Entities</b> scenarios since that will satisfy the first two use cases (the <b>Greenfield Entities</b> scenario becomes a 'trivial' version of <b>Existing Entities</b>)
+
In its initial phase, DBWS's Restful Component will target the <b>Existing Entities</b> scenarios since that will satisfy the first two use cases (the <b>Greenfield Entities</b> scenario becomes a 'trivial' version of <b>Existing Entities</b>)
 
</onlyinclude>
 
</onlyinclude>

Revision as of 17:04, 25 October 2011

DBWS Restful Use Cases

There are three scenarios to consider:

  1. (Existing Entities) the database contains the specified entities: the typical scenario where the entities are exposed via a RESTful CRUD application.
  2. (Greenfield Entities) the database does not contain the specified entities: the so-called greenfield scenario where the entities do not yet exist on the database.
  3. (Meta-data Entities) meta-data describing the specified entities is provided through an alternative mechanism: the scenario where the entities are described via a JPA .orm file.

In its initial phase, DBWS's Restful Component will target the Existing Entities scenarios since that will satisfy the first two use cases (the Greenfield Entities scenario becomes a 'trivial' version of Existing Entities)

Back to the top