Difference between revisions of "My first app"

From OS.bee documentation
Jump to: navigation, search
(Install MyFirstApp)
Line 39: Line 39:
 
* When the installation window disappears, you could see in Project Explorer, all projects of MyFirstApp are established.<br>[[File:Mfa 04 inst pe.png]]<br>
 
* When the installation window disappears, you could see in Project Explorer, all projects of MyFirstApp are established.<br>[[File:Mfa 04 inst pe.png]]<br>
  
* Please notice till now the installation is not complete finish, normally it is still building workspace(see the right bottom corner), wait until it completed.<br>[[File:Mfa 05 inst bw.png]]<br>
+
* Please '''notice''' till now the installation is '''not''' complete finish, normally it is still building workspace(see the right bottom corner), wait until it completed.<br>[[File:Mfa 05 inst bw.png]]<br>
  
 
* After the complete installation, the Project Explorer should be looked like this:<br>[[File:Mfa 06 inst pe finish.png]]<br>
 
* After the complete installation, the Project Explorer should be looked like this:<br>[[File:Mfa 06 inst pe finish.png]]<br>
  
* Please check myfirstapp.entity file in org.osbp.myfirstapp.model.core-->models, in entity Person, it should be regex(“M|F”) not regex(“M|W”) before gender.<br>[[File:Mfa 07 inst todo.png]]<br>
+
* Please check myfirstapp.entity file in org.osbp.myfirstapp.model.core\models, in <code>entity Person</code>, it should be <code>regex(“M|F”)</code> not <code>regex(“M|W”)</code> before <code>gender</code>.<br>[[File:Mfa 07 inst todo.png]]<br>
 +
 
 +
 
 +
=== Configuration ===
 +
==== change Product Configuration ====
 +
* The first step of the configuration is changing the Product Configuration from <code>workspace</code> to <code>org.osbp.myfirstapp.product</code> in Preferences -> OSBP Application Configuration. Please '''notice''' that,  this will be '''not''' saved, please do this step '''every time''' before you start to configure MyFirstApp.<br>[[File:Mfa 10 conf ac 2.png]]<br>
 +
 
 +
* The Desktop URL link could be found here.<br><br><code>http://localhost:8081/myfirstapp</code><br><br>[[File:Mfa 10 conf ac 3.png]]<br>
 +
 
 +
==== Configure Authentication ====
 +
<br>[[File:Mfa 11 conf auth.png]]<br>
 +
 
 +
==== Configure Bpm Engine ====
 +
<br>[[File:Mfa 12 conf bpm.png]]<br>
 +
 
 +
==== Configure Controls ====
 +
<br>[[File:Mfa 13 conf control.png]]<br>
 +
 
 +
==== Configure Data Sources ====
 +
 
 +
* All data sources could be set up here:
 +
<br>[[File:Mfa 14 conf ds_1.png]]<br>
 +
 
 +
* If you want to use other data sources, please configure it first. click the <code>+</code> to extend the tree, and than set all necessary information, e.g. Server Name, Server Port, Database Name, etc. <br>[[File:Mfa 14 conf ds_2.png]]<br>
 +
 
 +
==== Configure Email====
 +
<br>[[File:Mfa 15 conf email.png]]<br>
 +
 
 +
==== Configure External Data Sources ====
 +
<br>[[File:Mfa 16 conf eds.png]]<br>
 +
 
 +
==== Configure Localization ====
 +
<br>[[File:Mfa 17 conf loc.png]]<br>
 +
 
 +
==== Configure PersistenceUnits ====
 +
*
 +
<br>[[File:Mfa 18 conf pu.png]]<br>

Revision as of 06:26, 29 November 2016

General information

Copyright Notice

All rights are reserved by Compex Systemhaus GmbH. In particular, duplications, translations, microfilming, saving and processing in electronic systems are protected by copyright. Use of this manual is only authorized with the permission of Compex Systemhaus GmbH. Infringements of the law shall be punished in accordance with civil and penal laws. We have taken utmost care in putting together texts and images. Nevertheless, the possibility of errors cannot be completely ruled out. The Figures and information in this manual are only given as approximations unless expressly indicated as binding. Amendments to the manual due to amendments to the standard software remain reserved. Please note that the latest amendments to the manual can be accessed through our helpdesk at any time. The contractually agreed regulations of the licensing and maintenance of the standard software shall apply with regard to liability for any errors in the documentation. Guarantees, particularly guarantees of quality or durability can only be assumed for the manual insofar as its quality or durability are expressly stipulated as guaranteed. If you would like to make a suggestion, the Compex Team would be very pleased to hear from you.

(c) 2016-2024 Compex Systemhaus GmbH

License information

The OS.bee Software Factory is distributed under a commercial license.

The product itself is based on the OSBP Software Factory which is an "Eclipse Project". In addition, there are many other open source projects combined and the whole bunch of license used is listed "here".

OS.bee Software Factory

Please install OS.bee Software Factory first. Introduction of installation could be found "here".

Installation of MyFirstApp

Install MyFirstApp

  • The installation could be find in Eclipse: in Package Explore, right click the mouse -> New -> Other.
    Mfa 01 inst new.png
  • select OSBP Projects -> My First App -> Next.
    Mfa 02 inst sel wiz.png
  • Now you start the installation window for MyFirstApp:
    Mfa 03 inst p1.png
  • The default JDNI Data Source is h2memory, which save all data in memory. If you want to use other JNDI Data Source, e.g. MySQL or Oracle, you can change it later.
    Mfa 03 inst p2.png
  • Set for the Mock Data generation.
    Mfa 03 inst p3.png
  • Choose which location you would lick to save the files of MyFirstApp. You can use the default directory:
    Mfa 03 inst p4 1.png
  • or your own directory:
    Mfa 03 inst p4 2.png
  • The XMS Memory is usually ¼ of total physical memory.
    Mfa 03 inst p5.png
  • Click finish to start the installation:
    Mfa 03 inst run.png
  • When the installation window disappears, you could see in Project Explorer, all projects of MyFirstApp are established.
    Mfa 04 inst pe.png
  • Please notice till now the installation is not complete finish, normally it is still building workspace(see the right bottom corner), wait until it completed.
    Mfa 05 inst bw.png
  • After the complete installation, the Project Explorer should be looked like this:
    Mfa 06 inst pe finish.png
  • Please check myfirstapp.entity file in org.osbp.myfirstapp.model.core\models, in entity Person, it should be regex(“M|F”) not regex(“M|W”) before gender.
    Mfa 07 inst todo.png


Configuration

change Product Configuration

  • The first step of the configuration is changing the Product Configuration from workspace to org.osbp.myfirstapp.product in Preferences -> OSBP Application Configuration. Please notice that, this will be not saved, please do this step every time before you start to configure MyFirstApp.
    Mfa 10 conf ac 2.png

Configure Authentication


Mfa 11 conf auth.png

Configure Bpm Engine


Mfa 12 conf bpm.png

Configure Controls


Mfa 13 conf control.png

Configure Data Sources

  • All data sources could be set up here:


Mfa 14 conf ds 1.png

  • If you want to use other data sources, please configure it first. click the + to extend the tree, and than set all necessary information, e.g. Server Name, Server Port, Database Name, etc.
    Mfa 14 conf ds 2.png

Configure Email


Mfa 15 conf email.png

Configure External Data Sources


Mfa 16 conf eds.png

Configure Localization


Mfa 17 conf loc.png

Configure PersistenceUnits


File:Mfa 18 conf pu.png