Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Building Services with WSO2 Microservices framework for Java and WSO2 AS

197 views

Published on

In this WSO2Con tutorial session, we go through how to create microservices with the WSO2 MSF4J library, and how to create web services with WSO2 Application Server.

Published in: Software
  • Be the first to comment

Building Services with WSO2 Microservices framework for Java and WSO2 AS

  1. 1. • • – • • • –
  2. 2. http://blogs.gartner.com/gary-olliffe/2015/01/30/microservices-guts-on-the-outside/
  3. 3. • • • • • •
  4. 4. • • • • • • •
  5. 5. • • • • • • • •
  6. 6. • • •
  7. 7. • •
  8. 8. • • • •
  9. 9. • •
  10. 10. 1. mvn clean install 2. java -jar helloworld-*.jar 3. curl http://localhost:8080/hello/wso2
  11. 11. mvn archetype:generate - DarchetypeGroupId=org.wso2.msf4j - DarchetypeArtifactId=msf4j-microservice -DarchetypeVersion=1.0.0
  12. 12. • – – – • •
  13. 13. • @GET @POST @PUT @DELETE • @Produces @Consumes • @PreDestroy @PostDestroy
  14. 14. 1. wso2msf4j-1.0.0/samples/metrics- httpmon/metrics-httpmon-fatjar
  15. 15. • • • •
  16. 16. • • • “Kubernetes, I need 5 Tomcat and one MySQL server running at all times.”
  17. 17. • • • • – –
  18. 18. • • •
  19. 19. • • • -

×