Getting started with Service Fabric with Java
This repository contains a set of simple sample projects to help you getting started with Service Fabric on Linux using java as the development language.
- To develop Service Fabric Reliable Services & Actor you need to use a Mac or Linux developer machine.
- If you are developing Java applications that do not use the Reliable Services API provided by Service Fabric, you can develop in any environment.
How the samples are organized
This folder contains an application that uses the Service Fabric Reliable Actors & Reliable Services. It is one application with numerous simple services written using the Service Fabric APIs. It is a good place to get started to familiarize yourself with each Reliable Actors or Reliable Services.
This folder contains an application composed of two microservices. The frontend service communicates with the backend service using Http. This is a good sample that illustrates how two microservices in Service Fabric can communicate with each other using Http protocols.
This folder contains a service that stands up a Jetty server within a Service Fabric stateless service. The Jetty server is a very simple server that is stood up within a stateless service.
Steps to load a project in eclipse
- Import the project using "Import Projects form File System or Archive" wizard.
- Build the project form the Service Fabric context menu.
- Perform "Refresh Gradle Project" from Gradle context menu.
- If the imported project has a web service configure your workspace/project ignore Forbidden reference errors.