Difference between revisions of "My first app"
Line 34: | Line 34: | ||
* The XMS Memory is usually ¼ of total physical memory.<br><br>[[File:Mfa 03 inst p5.png]]<br><br><br><br> | * The XMS Memory is usually ¼ of total physical memory.<br><br>[[File:Mfa 03 inst p5.png]]<br><br><br><br> | ||
+ | * The Desktop URL link could be found here. Click the link or copy it to your browser.<br><code>http://localhost:8081/myfirstapp</code><br> | ||
+ | |||
* Click finish to start the generation step:<br><br>[[File:Mfa 03 inst run.png]]<br><br><br><br> | * Click finish to start the generation step:<br><br>[[File:Mfa 03 inst run.png]]<br><br><br><br> | ||
Line 43: | Line 45: | ||
* When the <code>Building Workspace</code> symbol disappears, the generation of MyFirstApp is finish. Project Explorer should be looked like this:<br><br>[[File:Mfa 06 inst pe finish.png]]<br><br><br><br> | * When the <code>Building Workspace</code> symbol disappears, the generation of MyFirstApp is finish. Project Explorer should be looked like this:<br><br>[[File:Mfa 06 inst pe finish.png]]<br><br><br><br> | ||
− | === | + | === Start MyFirstApp === |
− | + | ||
− | + | ||
− | * | + | * Now we are ready to start MyFirstApp. |
+ | * If you want to change any setting before starting the app, this link will help :[http://download.osbee.org/documentation/index.php/My_first_app#Configuration How to configure MyFirstApp]. | ||
+ | ==== Launch Eclipse Application ==== | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
* Open myfirstapp.product file from org.osbp.myfirstapp.product.<br><br>[[File:Mfa 30 run product.png]]<br><br><br><br> | * Open myfirstapp.product file from org.osbp.myfirstapp.product.<br><br>[[File:Mfa 30 run product.png]]<br><br><br><br> | ||
Line 85: | Line 63: | ||
==== Start MyFirstApp in Browser ==== | ==== Start MyFirstApp in Browser ==== | ||
+ | |||
* Now you could start this page from your browser: | * Now you could start this page from your browser: | ||
<code>http://localhost:8081/myfirstapp</code> | <code>http://localhost:8081/myfirstapp</code> | ||
* Log in Page will be shown first.<br><br>[[File:Mfa 35 run login 1.png]]<br><br><br><br> | * Log in Page will be shown first.<br><br>[[File:Mfa 35 run login 1.png]]<br><br><br><br> | ||
+ | |||
===== Log in ===== | ===== Log in ===== | ||
+ | |||
* The log in details could be found in authentication.entitymock file in org.osbp.myfirstapp.model.entitymock\models\.<br><br>[[File:Mfa 35 run login auth.png]]<br><br><br><br> | * The log in details could be found in authentication.entitymock file in org.osbp.myfirstapp.model.entitymock\models\.<br><br>[[File:Mfa 35 run login auth.png]]<br><br><br><br> | ||
Line 94: | Line 75: | ||
===== Welcome page ===== | ===== Welcome page ===== | ||
+ | |||
* Now you could see the Welcome page.<br><br>[[File:Mfa 36 run welc.png]]<br><br><br><br> | * Now you could see the Welcome page.<br><br>[[File:Mfa 36 run welc.png]]<br><br><br><br> | ||
===== Menu list ===== | ===== Menu list ===== | ||
+ | |||
* On the left top of the page, just beside <code>AdminIT</code> is the MENU button, click it to pop up the menu. | * On the left top of the page, just beside <code>AdminIT</code> is the MENU button, click it to pop up the menu. | ||
* There are 2 main entry: Menu and Persons.<br><br>[[File:Mfa 37 run menu.png]]<br><br><br><br> | * There are 2 main entry: Menu and Persons.<br><br>[[File:Mfa 37 run menu.png]]<br><br><br><br> | ||
====== Menu====== | ====== Menu====== | ||
+ | |||
* 3 subentries under Menu: | * 3 subentries under Menu: | ||
** Persons:<br><br>[[File:Mfa 38 run pers menu.png]]<br>[[File:Mfa 38 run pers.png]]<br><br><br><br> | ** Persons:<br><br>[[File:Mfa 38 run pers menu.png]]<br>[[File:Mfa 38 run pers.png]]<br><br><br><br> | ||
Line 107: | Line 91: | ||
====== Persons ====== | ====== Persons ====== | ||
+ | |||
* Click the Persons entry, the table <code>All person</code> will be shown directly in the menu list.<br><br>[[File:Mfa 41 run pop pers.png]]<br><br><br><br> | * Click the Persons entry, the table <code>All person</code> will be shown directly in the menu list.<br><br>[[File:Mfa 41 run pop pers.png]]<br><br><br><br> | ||
===== Tab list ===== | ===== Tab list ===== | ||
+ | |||
* On the right top of the page, there are some tabs, by clicking them, you could easily to switch the pages. Default tabs are OPEN and WELCOME. | * On the right top of the page, there are some tabs, by clicking them, you could easily to switch the pages. Default tabs are OPEN and WELCOME. | ||
====== OPEN ====== | ====== OPEN ====== | ||
+ | |||
* OPEN tab is the first tab. Click it, the <code>Open perspective</code> menu will be shown. Perspectives such as Datainterchange, BI, BPM etc. could be selected here.<br><br>[[File:Mfa 42 run open.png]]<br><br><br><br> | * OPEN tab is the first tab. Click it, the <code>Open perspective</code> menu will be shown. Perspectives such as Datainterchange, BI, BPM etc. could be selected here.<br><br>[[File:Mfa 42 run open.png]]<br><br><br><br> | ||
* TODO: the perspective pages should be added later. | * TODO: the perspective pages should be added later. | ||
+ | |||
+ | === 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><br>[[File:Mfa 10 conf ac 2.png]]<br><br><br><br> | ||
+ | |||
+ | * The Desktop URL link could be found here.<br><code>http://localhost:8081/myfirstapp</code><br><br>[[File:Mfa 10 conf ac 3.png]]<br><br><br><br> | ||
+ | |||
+ | ==== Detail Configuration ==== | ||
+ | |||
+ | * Click <code>OSBP Application Configuration</code> to extend the tree. | ||
+ | * One important step before start MyFirstApp is <code>Verify Dependencies</code>, which at the end of the tree. 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><br>[[File:Mfa 21 conf vd.png]]<br><br><br><br> | ||
+ | |||
+ | * If you want to do the detail configuration for <code>Authentication</code>, <code>Bpm Engine</code>, <code>Controls</code>, <code>Data Sources</code>, <code>Email</code>, <code>External Data Sources</code>, <code>Localization</code>, <code>PersistenceUnits</code>, <code>Project Wizard</code> and <code>Service Communication</code>, you could read the following part. | ||
+ | * It is '''not necessary''' for starting MyFirstApp, otherwise, you can '''[http://download.osbee.org/documentation/index.php/My_first_app#Configuration How to configure MyFirstApp]'''. | ||
+ | |||
+ | # Configure Authentication<br><br>[[File:Mfa 11 conf auth.png]]<br><br><br><br> | ||
+ | # Configure Bpm Engine <br><br>[[File:Mfa 12 conf bpm.png]]<br><br><br><br> | ||
+ | # Configure Controls<br><br>[[File:Mfa 13 conf control.png]]<br><br><br><br> | ||
+ | # Configure Data Sources | ||
+ | #* All data sources could be set up here:<br><br>[[File:Mfa 14 conf ds_1.png]]<br><br><br><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><br>[[File:Mfa 14 conf ds_2.png]]<br><br><br><br> | ||
+ | # Configure Email<br><br>[[File:Mfa 15 conf email.png]]<br><br><br><br> | ||
+ | # Configure External Data Sources<br><br>[[File:Mfa 16 conf eds.png]]<br><br><br><br> | ||
+ | # Configure Localization<br><br>[[File:Mfa 17 conf loc.png]]<br><br><br><br> | ||
+ | # Configure PersistenceUnits | ||
+ | #* All details about Persistence Units could be changed here.<br><br>[[File:Mfa 18 conf pu 1.png]]<br><br><br><br> | ||
+ | #* Click <code>+</code> to extend the tree, and then you could change the data source, DDL Generation, etc. <br><br>[[File:Mfa 18 conf pu 2.png]]<br><br>[[File:Mfa 18 conf pu 3.png]]<br><br><br><br> | ||
+ | # Configure Project Wizard<br><br>[[File:Mfa 19 conf pw.png]]<br><br><br><br> | ||
+ | # Configure Service Communication<br><br>[[File:Mfa 20 conf sc.png]]<br><br><br><br> |
Revision as of 09:16, 30 November 2016
Contents
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.
Generation of MyFirstApp
Generate MyFirstApp
- MyFirstApp could be generated from Eclipse: in Project Explorer, 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:
- The XMS Memory is usually ¼ of total physical memory.
- The Desktop URL link could be found here. Click the link or copy it to your browser.
http://localhost:8081/myfirstapp
- When the window disappears, you could see in Project Explorer, all projects of MyFirstApp are established.
- Please notice till now the progress is not complete finish, normally it's still building workspace (see the right bottom corner), wait until it completed.
- When the
Building Workspace
symbol disappears, the generation of MyFirstApp is finish. Project Explorer should be looked like this:
Start MyFirstApp
- Now we are ready to start MyFirstApp.
- If you want to change any setting before starting the app, this link will help :How to configure MyFirstApp.
Launch Eclipse Application
Start MyFirstApp in Browser
- Now you could start this page from your browser:
http://localhost:8081/myfirstapp
Log in
- The log in details could be found in authentication.entitymock file in org.osbp.myfirstapp.model.entitymock\models\.
- Enter the user name and password in log in page, e.g. Charles, Charles, save the password and log in.
Welcome page
Menu list
- On the left top of the page, just beside
AdminIT
is the MENU button, click it to pop up the menu. - There are 2 main entry: Menu and Persons.
Menu
Persons
Tab list
- On the right top of the page, there are some tabs, by clicking them, you could easily to switch the pages. Default tabs are OPEN and WELCOME.
OPEN
- OPEN tab is the first tab. Click it, the
Open perspective
menu will be shown. Perspectives such as Datainterchange, BI, BPM etc. could be selected here.
- TODO: the perspective pages should be added later.
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
Detail Configuration
- Click
OSBP Application Configuration
to extend the tree. - One important step before start MyFirstApp is
Verify Dependencies
, which at the end of the tree. 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.
- If you want to do the detail configuration for
Authentication
,Bpm Engine
,Controls
,Data Sources
,Email
,External Data Sources
,Localization
,PersistenceUnits
,Project Wizard
andService Communication
, you could read the following part. - It is not necessary for starting MyFirstApp, otherwise, you can How to configure MyFirstApp.