Difference between revisions of "My first app"
Line 62: | Line 62: | ||
==== Configure Data Sources ==== | ==== 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 <code>+</code> to extend the tree, and then set all necessary information, e.g. Server Name, Server Port, Database Name, etc. <br>[[File:Mfa 14 conf ds_2.png]]<br> | |
− | + | ||
− | + | ||
− | * If you want to use other data sources, please configure it first. | + | |
==== Configure Email==== | ==== Configure Email==== | ||
Line 78: | Line 76: | ||
==== Configure PersistenceUnits ==== | ==== Configure PersistenceUnits ==== | ||
− | * | + | * All details about Persistence Units could be changed here.<br>[[File:Mfa 18 conf pu 1.png]]<br> |
− | <br>[[File:Mfa 18 conf pu.png]]<br> | + | |
+ | * Click <code>+</code> to extend the tree, and then you could change the data source, DDL Generation, etc. <br>[[File:Mfa 18 conf pu 2.png]]<br><br>[[File:Mfa 18 conf pu 3.png]]<br> | ||
+ | |||
+ | ==== Configure Project Wizard ==== | ||
+ | <br>[[File:Mfa 19 conf pw.png]]<br> | ||
+ | |||
+ | ==== Configure Service Communication ==== | ||
+ | <br>[[File:Mfa 20 conf sc.png]]<br> | ||
+ | |||
+ | ==== Configure Verify Dependencies ==== | ||
+ | * If you see all green points, it means MyFirstApp is ready to start without dependencies’ error; if you see the red point, fix the error before starting.<br>[[File:Mfa 21 conf vd.png]]<br> | ||
+ | |||
+ | === Start MyFirstApp === | ||
+ | ==== Launch Eclipse Application ==== | ||
+ | * Open myfirstapp.product file from org.osbp.myfirstapp.product:<br>[[File:Mfa 30 run product.png]]<br> | ||
+ | |||
+ | * We should check the validation first, please click the button on right top:<br>[[File:Mfa 31 run pd validate.png]]<br> | ||
+ | |||
+ | * No problems were detected means it is ready to run, otherwise fix the problem first.<br>[[File:Mfa 32 run validation.png]]<br> | ||
+ | |||
+ | * Now click <code>Launch an Eclipse application</code> to start MyFirstApp.<br>[[File:Mfa 33 run lauch.png]]<br> | ||
+ | |||
+ | * Open "console" to see if the progress is finish, the last sentence should be <code>TRIGGER DONE...</code>.<br>[[File:Mfa 34 run console.png]]<br> | ||
+ | |||
+ | * Now you could start this page from your browser: | ||
+ | <code>http://localhost:8081/myfirstapp</code> | ||
+ | * Log in Page will be showed first.<br>[[File:Mfa 35 run login 1.png]]<br> | ||
+ | |||
+ | * The log in details could be found in authentication.entitymock file in org.osbp.myfirstapp.model.entitymock\models\.<br>[[File:Mfa 35 run login auth.png]]<br> | ||
+ | |||
+ | *Enter the user name and password in log in page, e.g. Charles, Charles, save the password and log in.<br>[[File:Mfa 35 run login 2.png]]<br> |
Revision as of 06:47, 29 November 2016
Contents
- 1 General information
- 2 Installation of MyFirstApp
- 2.1 Install MyFirstApp
- 2.2 Configuration
- 2.2.1 change Product Configuration
- 2.2.2 Configure Authentication
- 2.2.3 Configure Bpm Engine
- 2.2.4 Configure Controls
- 2.2.5 Configure Data Sources
- 2.2.6 Configure Email
- 2.2.7 Configure External Data Sources
- 2.2.8 Configure Localization
- 2.2.9 Configure PersistenceUnits
- 2.2.10 Configure Project Wizard
- 2.2.11 Configure Service Communication
- 2.2.12 Configure Verify Dependencies
- 2.3 Start MyFirstApp
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.
- 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.
- Choose which location you would lick to save the files of MyFirstApp. You can use the default directory:
- When the installation window disappears, you could see in Project Explorer, all projects of MyFirstApp are established.
- 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.
- Please check myfirstapp.entity file in org.osbp.myfirstapp.model.core\models, in
entity Person
, it should beregex(“M|F”)
notregex(“M|W”)
beforegender
.
Configuration
change Product Configuration
- The first step of the configuration is changing the Product Configuration from
workspace
toorg.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.
- The Desktop URL link could be found here.
http://localhost:8081/myfirstapp
Configure Authentication
Configure Bpm Engine
Configure Controls
Configure Data Sources
- If you want to use other data sources, please configure it first. Click
+
to extend the tree, and then set all necessary information, e.g. Server Name, Server Port, Database Name, etc.
Configure Email
Configure External Data Sources
Configure Localization
Configure PersistenceUnits
Configure Project Wizard
Configure Service Communication
Configure Verify Dependencies
- If you see all green points, it means MyFirstApp is ready to start without dependencies’ error; if you see the red point, fix the error before starting.
Start MyFirstApp
Launch Eclipse Application
- No problems were detected means it is ready to run, otherwise fix the problem first.
File:Mfa 32 run validation.png
- Now click
Launch an Eclipse application
to start MyFirstApp.
File:Mfa 33 run lauch.png
- Now you could start this page from your browser: