Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The basic package of SCA application artifacts is a contribution which for this simple sample is found in contribution-helloworld.  There's also a  directory which contains all you need to make a web application archive which can be deployed to a web container such as Tomcat, so that the sayHello service can be run in the web container.

contribution-helloworld

This contribution contains Java implementation code offering the service String sayHello(String name), where the immplementation of the service

In this folder you'll find the simplest contribution, implemented in Java, that implements the "business logic" of saying hello to a person whose name is supplied as input to the service. This contribution contains Java implementation code offering the service String sayHello(String name), where the implementation of the service prepends "Hello" to the name and prints the result to the console.

helloworld-webapp

Warning
titleTODO

It's not at all clear how this is supposed to work once it is in the web container - I have asked on the dev list

...