Jan Penninkhof – PhoQus B.V. Next-Gen OData/UI5 Microservices with Spring Boot
Jan Penninkhof – PhoQus B.V.
Next-Gen OData/UI5 Microservices with Spring Boot
Hello!
What is a micro-service?
• Stateless• Service oriented• Autonomously running• Continuous Integration• Loosely coupled• High level of resilience
Spring Boot
Get’s your started really quickly, but still includes features such as: Metrics Pluggable (Social, twitter, persistency, hystrix etc) Run as War in Tomcat or HCP, Runs as Jar on Docker, VM, Azure Easy to transport, easy to scale
Fiori and Micro-services
Every tile has it’s own UI5 app and it’s own back-end application Runs as isolated micro-services Communication with other components through APIs Isolated database persistency
What do you think of something like this?
UI5 works best on OData
OLingo is awesome Just define your entities and you’re done! Customizable: include transient/calculated attributes, adapt metadata based on context,
add custom/smart annotations
Spring Boot is awesome Just define your entities and you’re done! Codeless repository logic for CRUD + filter-logic Uses Liquibase to take care of schema changes and hibernate to connect to your data
source. Unobtrusively, no code required!
OData/UI5 boilerplate
Applying micro-services pattern Deploys on various platforms, including HCP, HANA Includes plumping to include UI5 app Includes plumbing to provide OData service based on Olingo Includes plumbing to link Olingo to JPA data entities Includes boilerplate code for custom/smart annotations Automatically creates and updates database-schema based on application entities Includes simple UI5 app to showcase some of the features
What can it be used for
Rapidly build your own microservice without having to do the basic plumbing Quickly setup a prototype application that includes a back-end Win an Innojam/Hackathon!
Fork me on Github: https://github.com/jpenninkhof/odata-boilerplate.git
Thank you!