...
Info |
---|
Note internet access is required the first time the project is built so Maven can download the required project dependencies. Remote access can be turned off for subsequent builds by executing: mvn -o clean install |
Build the Fabric3 server distribution.
Download the Fabric3 runtime by executing the Maven build script from the servers/vm directory:mvn -o clean install.
...
Info |
---|
It may be necessary to run Fabric3 with larger heap settings than the JVM defaults. To do so, use the standard JVM command line parameters, e.g. java -Xmx1024M -XX:MaxPermSize=1024M -jar target/image/bin/ server.jar |
...
Deploy the application
...
After the server has booted, deploy a calculator application archive by copying it to the Fabric3 runtime /deploy directory.
The runtime will write a message to the console after the war archive has been deployed. Depending on the application deployed, one of the following endpoints will be available.: *
- The web calculator UI can be accessed at http://localhost:8181/ calculator/entry.html.
...
- The REST calculator resource can be accessed using a GET with the formula to calculate included in the URI as in: http://localhost:8181/calculator/1+1
...
- http://localhost:8181/calculator/1+1The web services calculator can be accessed at http://localhost:8181/calculator and its WSDL from http://localhost:8181/calculator?wsdl.
The samples also contain a separate client for the web services calculator. The client module is located at /samples/wscalc-client. The WSCalcClient class can be executed using the Java command line or via an IDE.
...