Difference between revisions of "My first app"
(→Launch Eclipse Application) |
|||
Line 3: | Line 3: | ||
=== Abstract=== | === Abstract=== | ||
− | + | MyFirstApplication 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. | 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. | ||
Line 21: | Line 21: | ||
Instructions for the installation can be found [http://download.osbee.org/documentation/index.php/OS.bee_Software_Factory_Installation here]. | Instructions for the installation can be found [http://download.osbee.org/documentation/index.php/OS.bee_Software_Factory_Installation here]. | ||
− | == How to generate | + | == How to generate MyFirstApplication == |
<br> | <br> | ||
− | + | MyFirstApplication is generated from within Eclipse.<br><br> | |
# In Project Explorer, right click the mouse, then select New -> Other.<br><br>[[File:MyFirstApp01.png]]<br><br><br><br> | # In Project Explorer, right click the mouse, then select New -> Other.<br><br>[[File:MyFirstApp01.png]]<br><br><br><br> | ||
# Select OSBP Projects -> My First App and then click on '''Next'''.<br><br>[[File:MyFirstApp02.png]]<br><br><br><br> | # Select OSBP Projects -> My First App and then click on '''Next'''.<br><br>[[File:MyFirstApp02.png]]<br><br><br><br> | ||
− | # Now you see the general configuration window for | + | # Now you see the general configuration window for MyFirstApplication.<br><br>[[File:MyFirstApp03.png]]<br><br><br><br> |
#* Click on '''Next'''.<br><br><br><br> | #* Click on '''Next'''.<br><br><br><br> | ||
# 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> | ||
Line 41: | Line 41: | ||
# When the window disappears, you can see in Project Explorer that all projects of MyFirstApp have been generated.<br><br>[[File:MyFirstApp10.png]]<br><br><br><br> | # When the window disappears, you can see in Project Explorer that all projects of MyFirstApp have been generated.<br><br>[[File:MyFirstApp10.png]]<br><br><br><br> | ||
#* Please note that up until this point, the application has not yet been completely generated. Typically, the workspace is still being built (see the bottom right corner of the window). Wait until this process has completed.<br><br>[[File:Mfa 05 inst bw.png]]<br><br><br><br> | #* Please note that up until this point, the application has not yet been completely generated. Typically, the workspace is still being built (see the bottom right corner of the window). Wait until this process has completed.<br><br>[[File:Mfa 05 inst bw.png]]<br><br><br><br> | ||
− | # When the <code>Building Workspace</code> message disappears, the generation of | + | # When the <code>Building Workspace</code> message disappears, the generation of MyFirstApplication is complete. Project Explorer should now look like this:<br><br>[[File:MyFirstApp11.png]]<br><br><br><br> |
− | == How to start | + | == How to start MyFirstApplication == |
<br> | <br> | ||
− | * Now we are ready to start | + | * Now we are ready to start MyFirstApplication. |
<br> | <br> | ||
* If you want to change any settings before starting the application, please see: [http://download.osbee.org/documentation/index.php/My_first_app#How_to_configure_MyFirstApp How to configure MyFirstApp]. | * If you want to change any settings before starting the application, please see: [http://download.osbee.org/documentation/index.php/My_first_app#How_to_configure_MyFirstApp How to configure MyFirstApp]. | ||
Line 51: | Line 51: | ||
=== Launch Eclipse Application === | === Launch Eclipse Application === | ||
<br> | <br> | ||
− | # Open the file | + | # Open the file myfirstapplication.product contained in the org.osbp.myfirstapplication.product project.<br><br>[[File:HowToStart01.png]]<br><br><br><br> |
# First, the product definition should be validated. Please click the button at the top right.<br><br>[[File:HowToStart02.png]]<br><br><br><br> | # First, the product definition should be validated. Please click the button at the top right.<br><br>[[File:HowToStart02.png]]<br><br><br><br> | ||
# If no problems were detected, click on '''OK'''. Otherwise, fix the problem first.<br><br>[[File:HowToStart03.png]]<br><br><br><br> | # If no problems were detected, click on '''OK'''. Otherwise, fix the problem first.<br><br>[[File:HowToStart03.png]]<br><br><br><br> | ||
− | # Now, click on '''Launch an Eclipse application''' to start | + | # Now, click on '''Launch an Eclipse application''' to start MyFirstApplication.<br><br>[[File:HowToStart04.png]]<br><br><br><br> |
# While the application is being launched, open the '''Console''' view to monitor the progress. One of the last lines displayed should end with the phrase <code>TRIGGER DONE...</code>.<br><br>[[File:HowToStart05.png]]<br><br><br><br> | # While the application is being launched, open the '''Console''' view to monitor the progress. One of the last lines displayed should end with the phrase <code>TRIGGER DONE...</code>.<br><br>[[File:HowToStart05.png]]<br><br><br><br> | ||
− | === Start | + | === Start MyFirstApplication in Browser === |
<br> | <br> | ||
− | To start | + | To start MyFirstApplication, point your browser to this address:<br><code>http://localhost:8081/myfirstappaplication</code><br><br> |
# Login<br><br> | # Login<br><br> | ||
Line 79: | Line 79: | ||
#* At the top right of the window, there are some tabs. By clicking on them, you can easily switch between pages. <br><br> | #* At the top right of the window, there are some tabs. By clicking on them, you can easily switch between pages. <br><br> | ||
− | == How to configure | + | == How to configure MyFirstApplication == |
<br> | <br> | ||
− | This part is optional, since | + | This part is optional, since MyFirstApplication can be started without additional configuration. If you want to change the default settings, however, please continue reading.<br><br> |
*All configuration is performed within Eclipse. | *All configuration is performed within Eclipse. | ||
<br><br> | <br><br> |
Revision as of 15:30, 29 April 2017
Contents
General information
Abstract
MyFirstApplication 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 MyFirstApplication
MyFirstApplication 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 MyFirstApplication.
- 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 can see in Project Explorer that all projects of MyFirstApp have been generated.
- When the
Building Workspace
message disappears, the generation of MyFirstApplication is complete. Project Explorer should now look like this:
How to start MyFirstApplication
- Now we are ready to start MyFirstApplication.
- If you want to change any settings before starting the application, please see: How to configure MyFirstApp.
Launch Eclipse Application
- Open the file myfirstapplication.product contained in the org.osbp.myfirstapplication.product project.
- First, the product definition should be validated. Please click the button at the top right.
- If no problems were detected, click on OK. Otherwise, fix the problem first.
- Now, click on Launch an Eclipse application to start MyFirstApplication.
- While the application is being launched, open the Console view to monitor the progress. One of the last lines displayed should end with the phrase
TRIGGER DONE...
.
Start MyFirstApplication in Browser
To start MyFirstApplication, point your browser to this address:http://localhost:8081/myfirstappaplication
- Login
- Welcome screen
- Menu list
- Tab list
- At the top right of the window, there are some tabs. By clicking on them, you can easily switch between pages.
- At the top right of the window, there are some tabs. By clicking on them, you can easily switch between pages.
How to configure MyFirstApplication
This part is optional, since MyFirstApplication can be started without additional configuration. If you want to change the default settings, however, please continue reading.
- All configuration is performed within 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 note that this entry is not saved. You must repeat this step each time you wish to configure MyFirstApp.
- The Desktop URL Path is:
http://localhost:8081/myfirstapp
Detail Configuration
Click on the >
before OSBP Application Configuration
to extend the tree.