JBoss Community Archive (Read Only)

SwitchYard

Quickstarts

The easiest way to get started with testing an application on SwitchYard is to take one of the distribution's Quickstart examples and run it.  All of the example applications in our Quickstarts repository are included in quickstarts/ directory of your installation.

The Quickstarts provided in the distribution are source only i.e. they are not pre-built.  Building them is very easy.  You just need to make sure you have Maven 3 configured on your system and then simply execute mvn clean install in the root of the quickstarts folder.

quickstarts$ mvn clean install

For the purpose of testing your SwitchYard distribution and simply getting something running quickly, the following quickstart applications are a good jumping off point:

These quickstarts are just a small sample of the available example applications.  Check out the other apps for examples of other features in SwitchYard.

Running the Quickstarts in Eclipse

The SwitchYard quickstarts can also be easily run in Eclipse.

To do this, you have to first modify the default Eclipse configuration to avoid XML cosmetic errors:

To import a SwitchYard quickstart into Eclipse:

Once the quickstart is imported, you then deploy it to a SwitchYard enabled server and execute the quickstart's client class as a JUnit test.

For more information on installing and using SwitchYard tooling in Eclipse, see:  https://docs.jboss.org/author/display/SWITCHYARD/Eclipse

JBoss.org Content Archive (Read Only), exported from JBoss Community Documentation Editor at 2020-03-13 09:43:02 UTC, last content change 2016-08-19 19:00:21 UTC.