O slideshow foi denunciado.
Utilizamos seu perfil e dados de atividades no LinkedIn para personalizar e exibir anúncios mais relevantes. Altere suas preferências de anúncios quando desejar.

Building Services with WSO2 Microservices framework for Java and WSO2 AS

213 visualizações

Publicada em

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.

Publicada em: Software
  • Seja o primeiro a comentar

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. • • • -

×