The SybStore sample models were created using WorkSpace enterprise modeling tools that use standard techniques and notations to help you analyze, design, build, and maintain your applications.
For more information about WorkSpace modeling tools,
select Help|Online Help in
Sybase WorkSpace, then select Sybase PowerDesigner from
the bookshelf contents list.
To open and explore the SybStore sample models, expand the SybStore_Sample/Models folder in the WorkSpace Navigator and double-click the model file name in the Application, DB, or XML folder. The first time you open a model, you may be prompted to update the referenced model file path. If this happens, click Yes to continue, then save the model by selecting File|Save from the WorkSpace main menu bar.
The following table lists all of the models in the SybStore application.
Model type |
Model file |
---|---|
Business integration analysis models |
Models/Application/SybStoreBPAnalysisModel.bpm Models/Application/SalesProcessingAnalysismodel.bpm Models/Application/RestockProcessingAnalysisModel.bpm |
Sybase WorkSpace business integration models |
Models/Application/SalesProcessingWorkSpaceBPModel.bpm Models/Application/RestockProcessingWorkSpaceBPModel.bpm |
Dataflow model |
Models/Application/SybStoreDataflowModel.bpm |
Physical data model |
Models/DB/SybStoreDB.pdm |
XML model |
Models/XML/SybStore.XML.xsm |
The following steps describe the application modeling and development process for the SybStore application:
SybStore sample application development began with a high-level model diagram of the application, SybStore_Sample/Models/Application/SybStoreHighLevelDiagram.fem.
The business process analysis model SybStore_Sample/Models/Application/SybStoreBPAnalysisModel.bpm was defined for the entire application.
This model identifies business processes, resources, interaction points, and information flow between various parts of the application.
The SybStore business process analysis model defines two specific processes:
Sales order processing (SalesProcessingAnalysisModel.bpm)
Restock processing (RestockProcessingAnalysisModel.bpm)
Business process analysis models were created for each process to specify tasks, sequence of tasks, and business rules that define the flow of the business process.
Business process analysis models are tools you can use to refine, verify, and analyze the business process.
When the business process analysis models were complete, they were used to generate Sybase WorkSpace business process models (WorkSpace BPMs). The Sybase WorkSpace BPMs are used to generate Sybase WorkSpace business process services, which are then loaded in the service editors to complete implementation:
The WorkSpace BPM for sales order processing (SybStore_Sample/Models/Application/SalesProcessingWorkSpaceBPModel.bpm) was generated from the analysis model, SalesProcessingBPAnalysisModel.bpm.
The WorkSpace BPM for restock processing (SybStore_Sample/Models/Application/RestockProcessingWorkSpaceBPModel.bpm) was generated from the analysis model RestockProcessingBPAnalysisModel.bpm.
Each WorkSpace BPM has been checked and modified to generate business process service implementations.
The SybStore application database schema was defined in the Physical Data Model (PDM) SybStore_Sample/Models/DB/SybStoreDB.pdm.
The PDM contains definitions for schema objects (such as tables, indexes, referential constraints, and keys) and stored procedures.
A SQL script (SybStore_Sample/Setup/Database/SQL/InitDB.sql) was generated from the PDM, and the script was executed on a data server to create the database objects.
SybStore application services exchange messages in XML. The message formats were defined in an XML model (SybStore_Sample/Models/XML/SybStoreXML.xsm), and then an XML schema (XSD) was generated from the model.
The XSD document (SybStore_Sample/Schemas/SybStore.xsd) contains schema definitions for input and output messages used in the business process service and in component services.