The purpose of this guide is to help new users get up and running with SwitchYard as quickly as possible. We will pursue this objective with ruthless efficiency. If you have questions that begin with "why" or "how", check out the other docs in the set. If you have no time for any of that nonsense, then read on.
If you want to get down with SwitchYard, you'll need some Maven and Java to get the job done.
- Java 6 or Java 7
- Maven 3
SwitchYard is installed on top of an existing EAP installation, so the first step is to install EAP 6.1. Visit the EAP Downloads page to download and install EAP 6.1 GA.
Go to the SwitchYard Downloads page and download "switchyard-1.0.0.Final-EAP6.1.GA.zip" under Current Release. Once downloaded, extract the zip on top of your EAP installation. Assuming you installed EAP in /tmp, it would look something like this:
Depending on the zip utility in use, you may be prompted whether existing files should be replaced. Answer yes/all for all files being unzipped.
In the bin/ directory of your EAP installation, you'll find a script called standalone.sh (*nix) and another called standalone.bat (Windows). Execute the appropriate script for your platform.
The server will start in anywhere from 1 - 3 seconds depending on the age and price of your computing device. You know SwitchYard is ready to rock once you see this:
There are many applications to chose from in the quickstarts/ directory of your distribution. A nice one to start with is the remote-invoker application. There are a number of ways to deploy an application to the SwitchYard runtime, but we'll go with Maven as it's righteous. You will need a separate terminal or command window from the one where you started the server.
You will see output similar to the following after a successful deployment.
You can send a message to the deployed remote-invoker application using Maven as well.
After running the command, you'll see this in the command output:
You will see some output in the server console as well:
If you've made it this far, you're OK in my book. Each quickstart has a Readme.md file which provides step-by-step instructions for deploying and testing. Give some of the other apps a try and see what this crazy project can do.