没有合适的资源?快使用搜索试试~ 我知道了~
首页Mastering Microservices with Java-Packt Publishing(2016)
Mastering Microservices with Java-Packt Publishing(2016)
5星 · 超过95%的资源 需积分: 10 139 下载量 172 浏览量
更新于2023-03-16
评论
收藏 4.77MB PDF 举报
With the introduction of the cloud, enterprise application development moved from monolithic applications to small lightweight process-driven components called microservices. Microservices are the next big thing in designing scalable, easy-to-maintain applications. It not only makes app development easier, but also offers great flexibility to utilize various resources optimally
资源详情
资源评论
资源推荐
Mastering Microservices with Java
by Sourabh Sharma
Publisher: Packt Publishing
Release Date: June 2016
ISBN: 9781785285172
Book Description
Master the art of implementing microservices in your production environment with ease
About This Book
Build, deploy, and test microservices from scratch with ease
Design and implement sample projects using domain-driven design
Confidently resolve the issues faced during development and deployment
Who This Book Is For
If you are a Java developer who is familiar with the microservices architecture and now
wants to take a deeper dive into effectively implementing microservices at an enterprise
level, then this book is for you. A reasonable knowledge level and understanding of core
microservice elements and applications is expected.
What You Will Learn
Use domain-driven design to design and implement microservices
Secure microservices using Sprint Security
Deploy and test microservices
Troubleshoot and debug the issues faced during development
Consume microservices using thin client, a JavaScript web application
Learning best practices and common principals about microservices
Write unit tests for developed code
In Detail
With the introduction of the cloud, enterprise application development moved from
monolithic applications to small lightweight process-driven components called
microservices. Microservices are the next big thing in designing scalable,
easy-to-maintain applications. It not only makes app development easier, but also offers
great flexibility to utilize various resources optimally.
If you want to build an enterprise-ready implementation of the microservices architecture,
then this is the book for you! Starting off by understanding the core concepts and framework,
you will then focus on the high-level design of large software projects. You will gradually
move on to setting up the development environment and configuring it before implementing
continuous integration to deploy your microservice architecture. Using Spring security,
you will secure microservices and test it effectively using REST Java clients and other
tools. Finally, we’ll show you the best practices and common principals of microservice
design and you’ll learn to troubleshoot and debug the issues faced during development.
By the end of the book, you will know how to build smaller, lighter, and faster services
that can be implemented easily in a production environment.
Style and approach
This book starts from the basics, including environment setup and provides easy-to-follow
steps to implement the sample project using microservices. It gives you the complete
lifecycle of enterprise app development from designing and developing to deploying,
testing, and security. Each topic is explained and placed in context, and for the more
inquisitive, there are more details of the concepts used.
Downloading the example code for this book. You can download the example code files for
all Packt books you have purchased from your account at http://www.PacktPub.com. If you
purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register
to have the code file.
Table of Contents
Mastering Microservices with Java
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. A Solution Approach
Evolution of µServices
Monolithic architecture overview
Limitation of monolithic architecture versus its solution with µServices
One dimension scalability
Release rollback in case of failure
Problems in adopting new technologies
Alignment with Agile practices
Ease of development – could be done better
Microservices build pipeline
Deployment using a container such as Docker
Containers
Docker
Docker's architecture
Docker image
Docker container
Deployment
Summary
2. Setting Up the Development Environment
Spring Boot configuration
Spring Boot overview
Adding Spring Boot to the rest sample
Adding a Jetty-embedded server
Sample REST program
Writing the REST controller class
@RestController
@RequestMapping
@RequestParam
@PathVariable
Making a sample REST app executable
Setting up the application build
Running the Maven tool
Executing with the Java command
REST API testing using the Postman Chrome extension
Some more positive test scenarios
Negative test scenarios
NetBeans IDE installation and setup
References
Summary
3. Domain-Driven Design
Domain-driven design fundamentals
Building blocks
Ubiquitous language
Multilayered architecture
Presentation layer
Application layer
Domain layer
Infrastructure layer
Artifacts of domain-driven design
Entities
Value objects
Frequently asked questions
Services
Aggregates
Repository
Factory
Modules
Strategic design and principles
Bounded context
Continuous integration
Context map
Shared kernel
Customer-supplier
Conformist
Anticorruption layer
Separate ways
Open host service
剩余253页未读,继续阅读
alc1854
- 粉丝: 2
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- ExcelVBA中的Range和Cells用法说明.pdf
- 基于单片机的电梯控制模型设计.doc
- 主成分分析和因子分析.pptx
- 共享笔记服务系统论文.doc
- 基于数据治理体系的数据中台实践分享.pptx
- 变压器的铭牌和额定值.pptx
- 计算机网络课程设计报告--用winsock设计Ping应用程序.doc
- 高电压技术课件:第03章 液体和固体介质的电气特性.pdf
- Oracle商务智能精华介绍.pptx
- 基于单片机的输液滴速控制系统设计文档.doc
- dw考试题 5套.pdf
- 学生档案管理系统详细设计说明书.doc
- 操作系统PPT课件.pptx
- 智慧路边停车管理系统方案.pptx
- 【企业内控系列】企业内部控制之人力资源管理控制(17页).doc
- 温度传感器分类与特点.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论6