wso2con asia 2016: building services with wso2 application server and wso2 microservices framework...
TRANSCRIPT
![Page 1: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/1.jpg)
![Page 2: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/2.jpg)
••
–••
•–
![Page 3: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/3.jpg)
![Page 4: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/4.jpg)
![Page 5: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/5.jpg)
http://blogs.gartner.com/gary-olliffe/2015/01/30/microservices-guts-on-the-outside/
![Page 6: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/6.jpg)
••
•
••
•
![Page 7: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/7.jpg)
•••••••
![Page 8: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/8.jpg)
![Page 9: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/9.jpg)
![Page 10: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/10.jpg)
•••••••
•
![Page 11: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/11.jpg)
![Page 12: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/12.jpg)
![Page 13: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/13.jpg)
•••
![Page 14: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/14.jpg)
![Page 15: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/15.jpg)
![Page 16: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/16.jpg)
![Page 17: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/17.jpg)
![Page 18: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/18.jpg)
![Page 19: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/19.jpg)
![Page 20: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/20.jpg)
••
![Page 21: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/21.jpg)
••••
![Page 22: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/22.jpg)
![Page 23: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/23.jpg)
![Page 24: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/24.jpg)
![Page 25: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/25.jpg)
•
•
![Page 26: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/26.jpg)
![Page 27: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/27.jpg)
1.
mvn clean install2.
java -jar helloworld-*.jar3.
curl http://localhost:8080/hello/wso2
![Page 28: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/28.jpg)
mvn archetype:generate -DarchetypeGroupId=org.wso2.msf4j -DarchetypeArtifactId=msf4j-microservice -DarchetypeVersion=1.0.0
![Page 29: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/29.jpg)
•–––
••
![Page 30: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/30.jpg)
• @GET @POST @PUT @DELETE
• @Produces @Consumes• @PreDestroy @PostDestroy
![Page 31: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/31.jpg)
1.wso2msf4j-1.0.0/samples/metrics-httpmon/metrics-httpmon-fatjar
![Page 32: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/32.jpg)
![Page 33: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/33.jpg)
![Page 34: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/34.jpg)
••••
![Page 35: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/35.jpg)
![Page 36: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/36.jpg)
![Page 37: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/37.jpg)
•
••
“Kubernetes, I need 5 Tomcat and one MySQL server running at all times.”
![Page 38: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/38.jpg)
![Page 39: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/39.jpg)
![Page 40: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/40.jpg)
![Page 41: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/41.jpg)
![Page 42: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/42.jpg)
![Page 43: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/43.jpg)
![Page 44: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/44.jpg)
![Page 45: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/45.jpg)
![Page 46: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/46.jpg)
••••
––
![Page 47: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/47.jpg)
•••
![Page 48: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/48.jpg)
••
•
-
![Page 49: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/49.jpg)
![Page 50: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/50.jpg)
![Page 51: WSO2Con ASIA 2016: Building Services with WSO2 Application Server and WSO2 Microservices Framework for Java](https://reader031.vdocument.in/reader031/viewer/2022022123/58a132d71a28abd34f8b5b0d/html5/thumbnails/51.jpg)