Versions Compared

Key

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

...

You can build the sample contributions with either Maven or Ant and the running-tuscany director directory contains information about the various ways you can start Tuscany and run these contributions.

...

Code Block
helloworld-contribution/target/helloworld-contribution.jar

You can run the contribution using Maven by doing the following:

Code Block
 
cd helloworld-contribution
mvn tuscany:run

For more information on getting started with the Apache Tuscany SCA Java runtime see the getting started page.

helloworld-webapp

This sample is not a contribution in it's own right but demonstrates how to run the helloworld-contribution inside a web application.

To build this contribution using Maven do the following:

Code Block

cd helloworld-webapp
mvn

This will produce a webapp as follows:

Code Block

helloworld-webapp/target/helloworld.war

You can run this webapp by deploying it to you're favourite webapp container. For example, you can deploy to Tomcat and run as follows:

Code Block

cp helloworld-webapp/target/helloworld.war my_tomcat_install/webapps
my_tomcat_install/bin/catalina run

For more information on creating webapps to run SCA contributions with Tuscany see - (warning)

callback-api

Note
titleTODO

This feels like a learning-more sample. I wouldn't focus on callbacks with the first time user

...