Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 3.01 KB

README.md

File metadata and controls

65 lines (42 loc) · 3.01 KB

GraalVM 101 - Spring Boot + Micronaut

GraalVM 101: Practical Workshop to Get Started with GraalVM Enterprise Edition.

Table of Contents

  1. Install GraalVM EE
  2. Creating a simple Spring Boot/Micronaut Bond Princing API
  3. GraalVM JIT to boost Throughputs
  4. GraalVM Native Image : Faster,Leaner
  5. Cloud Native Deployments with GraalVM Native Image

Tooling and requirements

Installing GraalVM EE

Use the following docs/links to install GraalVM Enterprise 22.2+

Bond Pricing Spring Boot API

A Bond is a financial instrument that represent a loan made by an investor to a borrower that pays investor a fixed rate of return over a specific timeframe(Maturity). At the end of the maturity period the Principal amount is paid back to the investor.

In this section, you will have to create a Bond Pricing SpringBoot API that compute the selling price of a bond using the Present Value Model with

Bond Valuation Where:

  • PV is the Selling price/Fair Value to compute
  • C is a coupon, periodic interest received by the lender. C = Contractual * Face Value of the bond
  • r is the market yield to maturity
  • T represents the number of payment to received/ years( Maturity Term)
  • More about the formular

You can either build this API with SpringBoot or Micronaut by following the links bellow.

  1. BondPricing API with SpringBoot and GraalVM

  2. BondPricing API with Micronaut and GraalVM

More Readings and Workshops