Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
titleOn This Page
Table of Contents
indent1em
stylenone
typelist
separatorpipe

Model

Supported Technologies 

The IS&T-recommended SourceLabs SASH Stack comprises the standard technologies for use in the Model.  These technologies include Spring and Hibernate. 

Spring (version-compliant with current SourceLabs-licensed SASH Stack), JCo for SAP R/3 integration, Hibernate for data persistence and ORM (version-compliant with current SourceLabs-licensed SASH Stack)

xx 

  • For SAP applications, proxy classes populated by SAP R/3 functions must be generated with the sap2java tool and not modified by hand.
  • For database applications, dao classes are responsible for retrieving model objects from the database using hibernate.
  • modelclasses are not specific to any front end or back end, but model the business itself. I.e. they do not represent the data for a page, nor do they contain proxy objects or make reference to the back end in any way.
  • service classes are responsible for converting proxy objects to model objects, and also for providing any business logic not already provided by the back end.
  • There must only be one service per application (not including mock services).
  • Collections must be documented to state what objects they contain and what properties those objects contain.

...