GithubHelp home page GithubHelp logo

pcfdemos's Introduction

Various Demos for PCF

This repo has a variety of demo applications that show different aspects of application development for PCF.

Loan Calculator Demo

This demo shows how to build, deploy, and scale a simple microservice. The demo includes two version of the microservice in Java using Spring Boot, two version in C# using Steeltoe, and a common client written in react.js. The common client acts as a traffic simulator and the different versions of the service can be used to demonstrate a blue-green deployment.

Demo Comments
Common Client React.js client application and UI for all other loan calculator demos
Java Version 1 Java microservice using Spring Boot. Has a bug - it has state in memory
Java Version 2 Java microservice using Spring Boot. Uses Spring cloud connectors to attach to a Redis service in PCF for storing state
C# Version 1 C# microservice using .Net core. Has a bug - it has state in memory
C# Version 2 C# microservice using .Net core. Uses Steeltoe to attach to a Redis service in PCF for storing state

Persistence Demos

Demos in this section show various ways of working with relational databases in PCF and Spring Boot. Each demo in this section will attach to a MySql instance when deployed on cloud foundry, or will use an in memory H2 database otherwize.

Demo Comments
Persistence with MyBatis Persistence with MyBatis. The UI is swagger based with a simple REST controller
Persistence with JPA Persistence with JPA/Hibernate. The UI is swagger based with a simple REST controller
Persistence with JPA Version 2 Persistence with JPA/Hibernate. The REST controller here is created automagically using Spring data rest. Swagger will not generate a UI for Spring data rest at this time

Live Coding

Several live coding scripts demonstrating Java, C#, and Knative topics are available in the live-coding-scripts directory.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.