wso2con asia 2016: building services with wso2 application server and wso2 microservices framework...
TRANSCRIPT
••
–••
•–
http://blogs.gartner.com/gary-olliffe/2015/01/30/microservices-guts-on-the-outside/
••
•
••
•
•••••••
•••••••
•
•••
••
••••
•
•
1.
mvn clean install2.
java -jar helloworld-*.jar3.
curl http://localhost:8080/hello/wso2
mvn archetype:generate -DarchetypeGroupId=org.wso2.msf4j -DarchetypeArtifactId=msf4j-microservice -DarchetypeVersion=1.0.0
•–––
••
• @GET @POST @PUT @DELETE
• @Produces @Consumes• @PreDestroy @PostDestroy
1.wso2msf4j-1.0.0/samples/metrics-httpmon/metrics-httpmon-fatjar
••••
•
••
“Kubernetes, I need 5 Tomcat and one MySQL server running at all times.”
••••
––
•••
••
•
-