Running Hello World Service
Running Hello World Service
The AbSolutionsLogicAddIns application contains a simple Hello World service example. You can use it to get familiar with the basics of the business logic development in Eclipse.
The Hello World service:
- Formats a text message containing current date and time.
- Prints it to the server console.
- Logs it to \WEB-INF\config\context\applications\archibus.log .
-
Returns it to the view.
Run Hello World example from a view
-
Start Web Central Jetty server:
-
Select the Archibus-213-Applications-Jetty.launch file in the Package Explorer window:
-
Select in the main menu:
Run --> Run As... -> Archibus-213-Applications-Jetty
:
-
Jetty server will start in debugging mode and Eclipse will display the startup message in the Console window. Wait until you see the "Started SelectChannelConnector@0.0.0.0:8080" message:
-
Select the Archibus-213-Applications-Jetty.launch file in the Package Explorer window:
- Open the browser and navigate to the http://localhost:8080/archibus/schema/ab-products/solutions/logic-cookbook/ab-ex-hello-world.axvw view.
-
Click on the
Invoke Hello World
button. You should see the message returned by the event-handler: