Versions Compared

Key

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

Fabric3 is a platform for developing, assembling, and managing distributed services. Fabric3 provides the following features:

  • Java annotations designed programming features such as asynchronous invocations and pub/sub channels for building loosely-coupled and event-driven systems that can be used with POJOs or Spring.
  • Local and remote service wiring and dependency injection. Think of Spring or Guice for distributed, loosely coupled services.
  • Support for multiple communication protocols and messaging patterns in a unified, consistent manner without tying application logic to specific transport APIs. Use ZeroMQ, REST, messaging middleware (JMS), Web Services, and file-based transports without polluting application code with complex API calls and configuration.
  • A management framework for provisioning, controlling, and monitoring production deployments via a RESTful API.
  • Portability across a variety of middleware environments including Tomcat, and WebLogic.

...

  • Support for open standards including JAX-RS, JPA, WS-*, and SCA.


Info
titleFabric3 Benefits

If you would like a hands-on example of how Fabric3 simplifies application development and the advantages it brings, please look at the BigBank sample application.

 


In this chapter, we cover the basics of setting up and deploying an application using Fabric3.

The documentation assumes a basic understanding of SCA concepts. Before proceeding, if you have not done so, we recommend familiarizing yourself with SCA. The specifications themselves (http://www.oasis-opencsa.org) are generally not the most accessible source of introductory information. We recommend:

...

The Fabric3 samples are organized as follows:

  • StarterGetting Started: Contains several variations of a calculator application that show how to create services, wire them, and expose them as a web services endpoint and REST resource. Also
    Features: Contains contains applications that demonstrate how to use specific Fabric3 features, including JPA/Hibernate, pub/sub eventing, websocketsadvanced wiring, and timers, and custom policies.

  • Apps. Contains complete applications that illustrate Fabric3 best-practicesBigBank. BigBank demonstrates how to build an end-to-end application composed of distributed services.
     
  • FastQuote is a Forex trading application that shows how to build low-latency, high-performance services. Operations. Contains samples that demonstrate how to use Fabric3's REST-based management API (Resource Management Framework) to monitor, control, and update single-VM to multi-cluster domains.

For projects that intend to use Spring, Fabric3 also ships with a set of dedicated Spring samples. These samples are a subset of the SCA Java samples described in this chapter, with SCA Java components replaced by Spring beans. Basic layout, configuration and deployment remain the same across both sets of samples.

...

Info

Note that it is not necessary to download the Fabric3 runtime distribution in addition to the samples. The sample build process will automatically download a distribution and configure a Fabric3 runtime for use with the sample applications.

...