Upgrade to Pro — share decks privately, control downloads, hide ads and more …

MicroProfile - by Example

MicroProfile - by Example

Architectures based on microservices introduce new challenges for architects and developers. An ever-increasing list of languages and tools brings with it the capabilities to conquer this challenge. Java is no exception.

The latest addition in this area is the http://microprofile.io [Microprofile.io] initiative. In this session, we will explore different approaches to building microservices using the Java ecosystem and compare them to using Microprofile.io.

All strategies for building microservices with Java that are presented will be compared and demoed in live coding demos. The demos will include technologies such as Java, Java EE, microprofile.io, Spring Boot, Docker and more.

ivargrimstad

October 14, 2016
Tweet

More Decks by ivargrimstad

Other Decks in Programming

Transcript

  1. @ivar_grimstad JavaDay Kiev 2016 #microprofile Full Profile Web Profile JAX-RS

    + CDI + JSON-P + WebSocket + Bean Validation + EJB + JPA + Servlet + JSF + JSP + JMS + Batch + Java Mail + Concurrency + JAX-WS + JASPIC
  2. @ivar_grimstad JavaDay Kiev 2016 #microprofile Config WebSphere Liberty Microprofile Service

    Config WebSphere Liberty
 Web Profile Service websphere-liberty:microProfile websphere-liberty:webProfile7 239 MB 201 MB
  3. @ivar_grimstad JavaDay Kiev 2016 #microprofile Config Payara Microprofile Service Config

    Payara
 Web Profile Service payara/microprofile payara/server-web:163 599 MB 83 MB
  4. @ivar_grimstad JavaDay Kiev 2016 #microprofile Config WildFly Swarm Microprofile Service

    Config WildFly
 Web Profile Service jboss/base-jdk:8 jboss/wildfly:10.1.0.Final 288 MB 149 MB
  5. @ivar_grimstad JavaDay Kiev 2016 #microprofile Config ?? Service Config TomEE


    Web Profile Service tomee/8-jre-1.7.4-webprofile tomee/8-jre-1.7.4-webprofile 155 MB 155 MB
  6. @ivar_grimstad JavaDay Kiev 2016 #microprofile <dependency> <groupId>fish.payara.extras</groupId> <artifactId>payara-microprofile</artifactId> <version>1.0</version> <scope>provided</scope>

    </dependency> <dependency> <groupId>org.apache.tomee</groupId> <artifactId>javaee-api</artifactId> <version>7.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>net.wasdev.wlp.starters.microprofile</groupId> <artifactId>provided-pom</artifactId> <version>0.0.1-SNAPSHOT</version> <type>pom</type> <scope>provided</scope> </dependency> <dependency> <groupId>org.wildfly.swarm</groupId> <artifactId>microprofile</artifactId> <version>2016.10.0</version> </dependency>
  7. @ivar_grimstad JavaDay Kiev 2016 #microprofile <dependency> <groupId>javax</groupId> <artifactId>javaee-web-api</artifactId> <version>7.0</version> <scope>provided</scope>

    </dependency> Web Profile <dependency> <groupId>javax</groupId> <artifactId>javaee-api</artifactId> <version>7.0</version> <scope>provided</scope> </dependency> Full Profile