Difference between revisions of "My first app"
(→How to generate MyFirstApp) |
(→How to generate MyFirstApp) |
||
Line 34: | Line 34: | ||
# The JDNI Data Source can be set up on this page. Click '''Next''' when done.<br><br> | # The JDNI Data Source can be set up on this page. Click '''Next''' when done.<br><br> | ||
#* The default value is h2memory, which saves all data in memory.<br><br> | #* The default value is h2memory, which saves all data in memory.<br><br> | ||
− | #* If you want to use a different JDNI Data Source, e.g. MySQL or Oracle, you can change it later.<br><br>[[File:Mfa 03 inst p2.png]]<br><br><br><br> | + | #* If you want to use a different JDNI Data Source, e.g., MySQL or Oracle, you can change it later.<br><br>[[File:Mfa 03 inst p2.png]]<br><br><br><br> |
# Setup for the mock data generation. Click on '''Next'''.<br><br>[[File:Mfa 03 inst p3.png]]<br><br><br><br> | # Setup for the mock data generation. Click on '''Next'''.<br><br>[[File:Mfa 03 inst p3.png]]<br><br><br><br> | ||
# Choose the location where you would like to save the files of MyFirstApp.<br><br> | # Choose the location where you would like to save the files of MyFirstApp.<br><br> | ||
#* You can use the default directory:<br><br>[[File:Mfa 03 inst p4 1.png]]<br><br><br><br> | #* You can use the default directory:<br><br>[[File:Mfa 03 inst p4 1.png]]<br><br><br><br> | ||
− | #* | + | #* Or your own directory:<br><br>[[File:Mfa 03 inst p4 2.png]]<br><br><br><br> |
#* Click on '''Next''' when done.<br><br><br> | #* Click on '''Next''' when done.<br><br><br> | ||
− | # The XMS Memory is usually ¼ of total physical memory. The desktop link which will be used | + | # The XMS Memory is usually ¼ of total physical memory. The desktop link which will be used later to start the application can also be found here.<br><br>[[File:Mfa 03 inst p5.png]]<br><br><br><br> |
− | #* Click Finish to start the generation step.<br><br>[[File:Mfa 03 inst run.png]]<br><br><br><br> | + | #* Click on '''Finish''' to start the generation step.<br><br>[[File:Mfa 03 inst run.png]]<br><br><br><br> |
# When the window disappears, you could see in Project Explorer, all projects of MyFirstApp are established.<br><br>[[File:Mfa 04 inst pe.png]]<br><br><br><br> | # When the window disappears, you could see in Project Explorer, all projects of MyFirstApp are established.<br><br>[[File:Mfa 04 inst pe.png]]<br><br><br><br> | ||
#* 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.<br><br>[[File:Mfa 05 inst bw.png]]<br><br><br><br> | #* 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.<br><br>[[File:Mfa 05 inst bw.png]]<br><br><br><br> |
Revision as of 22:21, 29 December 2016
Contents
General information
Abstract
MyFirstApp is an OSBP application created purely from models, based on OS.bee Software Factory.
If you want to have a basis on which you can explore OS.bee this is a good starting point. You can try to modify models and see the resulting changes. The models show everything from persistence up to the UI and demonstrate a lot of the stunning features and simplicity of MDSD with OS.bee.
The requirements, app generation steps, guiding of start the app, tips of configuration are written in this introduction.
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, the software depends on several other open source projects, and the entire list of licenses used can be found here.
Requirements
Please install the OS.bee Software Factory first. Instructions for the installation can be found here.
How to generate MyFirstApp
MyFirstApp is generated from within Eclipse.
- In Project Explorer, right click the mouse, then select New -> Other.
- Select OSBP Projects -> My First App and then click on Next.
- Now you see the general configuration window for MyFirstApp.
- Click on Next.
- Click on Next.
- The JDNI Data Source can be set up on this page. Click Next when done.
- Setup for the mock data generation. Click on Next.
- Choose the location where you would like to save the files of MyFirstApp.
- The XMS Memory is usually ¼ of total physical memory. The desktop link which will be used later to start the application can also be found here.
- When the window disappears, you could see in Project Explorer, all projects of MyFirstApp are established.
- When the
Building Workspace
symbol disappears, the generation of MyFirstApp is finish. Project Explorer should be looked like this:
How to start MyFirstApp
- Now we are ready to start MyFirstApp.
- If you want to change any setting before starting the app, this will help : How to configure MyFirstApp.
Launch Eclipse Application
- Open myfirstapp.product file from org.osbp.myfirstapp.product.
- We should check the validation first, please click the button on right top.
- Click OK.
- Now click
Launch an Eclipse application
to start MyFirstApp. - Open
console
view to see if the progress is finish, the last sentence should beTRIGGER DONE...
.
Start MyFirstApp in Browser
Now you could start this page from your browser:http://localhost:8081/myfirstapp
- Log in
- Welcome page
- Menu list
- Tab list
- On the right top of the page, there are some tabs, by clicking them, you could easily to switch the pages.
- On the right top of the page, there are some tabs, by clicking them, you could easily to switch the pages.
How to configure MyFirstApp
MyFirstApp could be started without configuration, this part is optional. If you want to change the default settings, continue to read.
- All Configuration do with Eclipse.
Select OSBP Application Project
- The first step of the configuration is to change 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 >
before OSBP Application Configuration
to extend the tree.