Versions Compared

Key

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

Model

Supported Technologies 

The IS&T-licensed SourceLabs SASH Stack (Spring, Axis, Struts, Hibernate) comprises the standard technologies for use in insideMIT Java applications.  In addition to SASH stack compliant versions of Spring and Hibernate, Open Enterprise Foundation's SAP Java Connector (as used within the sap2java API) is used within the Model. 

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.

...