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.

Microservice Architecture with Grails 3

3.486 visualizações

Publicada em

Recorded at SpringOne2GX 2015
Presenter: Jeff Scott Brown
GG Special Topics Trasck

For some web applications it does not make sense to have 1 monolithing process which handles all of the requirements of the application. More and more often Grails is showing up in microservice architectures where instead of building 1 monolithing web application which is responsible for all of the pieces of the application puzzle, microservice applications are being assembled which collectively solve the requirements of the larger application. Grails is very well suited for this type of architecture. A microservice based architecture can result in applications which are easier to build, easier to test, easier to extend and are easier to adapt to changing business requirements.

Publicada em: Tecnologia
  • Seja o primeiro a comentar

Microservice Architecture with Grails 3

  1. 1. Microservice Architecture With Grails 3 Jeff Scott Brown @jeffscottbrown brownj@ociweb.com
  2. 2. More at ociweb.com/grails
  3. 3. Copyright (c) 2015 Object Computing, Inc. All rights reserved. WE ARE HIRING! Groovy And Grails Project Work Grails 2 -> 3 Plugin Migrations Grails Plugin Development Expanding GORM’s Reach New Application Profiles Grails Core Development grailsjobs@ociweb.com
  4. 4. Copyright (c) 2015 Object Computing, Inc. All rights reserved. “The term "Microservice Architecture" has sprung up over the last few years to describe a particular way of designing software applications as suites of independently deployable services. While there is no precise definition of this architectural style, there are certain common characteristics around organization around business capability, automated deployment, intelligence in the endpoints, and decentralized control of languages and data.” 6 Microservices — Martin Fowler, http://martinfowler.com/articles/microservices.html
  5. 5. Copyright (c) 2015 Object Computing, Inc. All rights reserved. URL Mapping Resources 7
  6. 6. Copyright (c) 2015 Object Computing, Inc. All rights reserved. URL Mapping 8 Method URI Action GET /people index GET /people/create create POST /people save GET /people/{id} show GET /people/{id}/edit edit PUT /people/{id} update DELETE /people/{id} delete
  7. 7. Copyright (c) 2015 Object Computing, Inc. All rights reserved. Versioning Resources 9 curl -i -H "Accept-Version: 1.0" http://localhost:8080/people Uses Request Header
  8. 8. Copyright (c) 2015 Object Computing, Inc. All rights reserved. Domain Class Resource Annotation 10 • Same URL Mappings • Same Controller Behavior • Same Data Binding • Same Rendering • Etc…
  9. 9. Copyright (c) 2015 Object Computing, Inc. All rights reserved. Extending RestfulController 11
  10. 10. Copyright (c) 2015 Object Computing, Inc. All rights reserved. REST Client Builder 12
  11. 11. Copyright (c) 2015 Object Computing, Inc. All rights reserved. REST Client Builder 13
  12. 12. Copyright (c) 2015 Object Computing, Inc. All rights reserved. Time To Build Some Apps… 14
  13. 13. Q&A Jeff Scott Brown @jeffscottbrown brownj@ociweb.com

×