52ky 发表于 2022-10-13 09:50:19

架构探险,从零开始写javaweb框架

本书首要从一个简单的Web使用开始,让读者学会如何使用IDEA、Maven、Git等开发工具搭建JavaWeb使用;接着通过一个简单的使用场景,为该Web使用增加若干业务功能,从需要分析与系统设计开始,带领读者动手终结该Web使用,完善相关细节,并对已有代码进行优化;然后基于传统Servlet框架搭建一款轻量级JavaWeb框架,一切都是从零开始,逐一实现类加载器、Bean容器、IoC框架、MVC框架,所触及的代码也是全面框架的核心基础。为了使框架具有AOP特性,从技术讲到AOP技术,从ThreadLocal技术讲到业务控制技术。
后对框架进行优化与扩展,通过对现有框架的优化,使其可以提供愈加齐备的功能,并以扩展Web服务插件与安全控制插件为例,教会读者如何设计一款可扩展的Web使用框架。

(This book starts with a simple Web application, so that readers can learn how to use IDEA, Maven, Git and other development tools to build Java Web applications; Then, through a simple use scenario, add a number of business functions for the use of the Web. Starting from the needs analysis and system design, lead the readers to end the use of the Web, improve relevant details, and optimize the existing code; Then a lightweight Java Web framework is built based on the traditional servlet framework. Everything starts from scratch, and class loaders, bean containers, IoC frameworks, and MVC frameworks are implemented one by one. The code involved is also the core foundation of the comprehensive framework. In order to make the framework have AOP characteristics, we should talk from technology to AOP technology, and from ThreadLocal technology to service control technology.
Then the framework is optimized and extended. Through the optimization of the existing framework, it can provide more complete functions. Taking the extended Web service plug-in and security control plug-in as examples, it teaches readers how to design an extensible Web usage framework.)




页: [1]
查看完整版本: 架构探险,从零开始写javaweb框架