spring启动流程 (6完结) springmvc启动流程
SpringMVC的启动入口在SpringServletContainerInitializer类,它是ServletContainerInitializer实现类(Servlet3.0新特性)。在实现方法中使用WebApplicationInitializer创建ApplicationContext、创建注册DispatcherServlet、初始化ApplicationContext等。
SpringMVC已经将大部分的启动逻辑封装在了几个抽象WebApplicationInitializer中,开发者只要继承这些抽象类实现抽象方法即可。
本文将详细分析ServletContainerInitializer、SpringServletContainerInitializer和WebApplicationInitializer的工作流程。
Servlet3.0的ServletContainerInitializer
ServletContainerInitializer接口
ServletContainerInitializer是Servlet3.0的接口。
该接口在web应用程序启动阶段接收通知,注册servlet、filter、listener等。
该接口的实现类可以用HandlesTypes进行标注,并指定一个Class值,后续会将实现、扩展了这个Class的类集合作为参数传递给onStartup方法。
以tomcat为例,在容器配置初始化阶段,将使用SPI查找实现类,在ServletContext启动阶段,初始化并调用onStartup方法来进行ServletContext的初始化。
SpringServletContainerInitializer实现类
在onStartup方法创建所有的WebApplicationInitializer对并调用onStartup方法。
以下为SPI配置,在spring-web/src/main/resources/META-INF/services/javax.servlet.ServletContainerInitializer文件:
WebApplicationInitializer接口
WebApplicationInitializer接口概述
Interface to be implemented in Servlet 3.0+ environments in order to configure the ServletContext programmatically – as opposed to (or possibly in conjunction with) the traditional web.xml-based approach.
Implementations of this SPI will be detected automatically by SpringServletContainerInitializer, which itself is bootstrapped automatically by any Servlet 3.0 container. See its Javadoc for details on this bootstrapping mechanism.
示例:
public class MyWebAppInitializer implements WebApplicationInitializer {@Overridepublic void onStartup(ServletContext container) {// Create the 'root' Spring application contextAnnotationConfigWebApplicationContext rootContext =new AnnotationConfigWebApplicationContext();rootContext.register(AppConfig.class);// Manage the lifecycle of the root application contextcontainer.addListener(new ContextLoaderListener(rootContext));// Create the dispatcher servlet's Spring application contextAnnotationConfigWebApplicationContext dispatcherContext =new AnnotationConfigWebApplicationContext();dispatcherContext.register(DispatcherConfig.class);// Register and map the dispatcher servletServletRegistration.Dynamic dispatcher =container.addServlet("dispatcher", new DispatcherServlet(dispatcherContext));dispatcher.setLoadOnStartup(1);dispatcher.addMapping("/");}
}
开发者可以编写类继承AbstractAnnotationConfigDispatcherServletInitializer抽象类,这个抽象类已经将大部分的初始化逻辑进行了封装。
WebApplicationInitializer实现和继承关系
AbstractContextLoaderInitializer类:
Convenient base class for WebApplicationInitializer implementations that register a ContextLoaderListener in the servlet context. The only method required to be implemented by subclasses is createRootApplicationContext(), which gets invoked from registerContextLoaderListener(ServletContext).
AbstractDispatcherServletInitializer类:
Base class for WebApplicationInitializer implementations that register a DispatcherServlet in the servlet context. Most applications should consider extending the Spring Java config subclass AbstractAnnotationConfigDispatcherServletInitializer.
AbstractAnnotationConfigDispatcherServletInitializer类:
WebApplicationInitializer to register a DispatcherServlet and use Java-based Spring configuration.
Implementations are required to implement:
- getRootConfigClasses() – for “root” application context (non-web infrastructure) configuration.
- getServletConfigClasses() – for DispatcherServlet application context (Spring MVC infrastructure) configuration.
If an application context hierarchy is not required, applications may return all configuration via getRootConfigClasses() and return null from getServletConfigClasses().
开发者SpringMvcInitializer示例
开发者需要编写类继承AbstractAnnotationConfigDispatcherServletInitializer类,实现几个抽象方法:
public class SpringMvcInitializer extends AbstractAnnotationConfigDispatcherServletInitializer {/*** 指定创建root application context需要的@Configuration/@Component类*/@Overrideprotected Class<?>[] getRootConfigClasses() {return new Class[]{AppConfig.class};}/*** 指定创建Servlet application context需要的@Configuration/@Component类* 如果所有的配置类都使用root config classes就返回null*/@Overrideprotected Class<?>[] getServletConfigClasses() {return null;}/*** Specify the servlet mapping(s) for the DispatcherServlet — for example "/", "/app", etc.*/@Overrideprotected String[] getServletMappings() {return new String[]{"/"};}
}
SpringMVC启动流程
入口AbstractDispatcherServletInitializer.onStartup方法
public void onStartup(ServletContext servletContext) throws ServletException {super.onStartup(servletContext);registerDispatcherServlet(servletContext);
}
父类的onStartup方法创建RootApplicationContext、注册ContextLoaderListener监听器:
public void onStartup(ServletContext servletContext) throws ServletException {registerContextLoaderListener(servletContext);
}protected void registerContextLoaderListener(ServletContext servletContext) {WebApplicationContext rootAppContext = createRootApplicationContext();if (rootAppContext != null) {// ContextLoaderListener是ServletContextListener// 会在contextInitialized阶段初始化RootApplicationContextContextLoaderListener listener = new ContextLoaderListener(rootAppContext);listener.setContextInitializers(getRootApplicationContextInitializers());servletContext.addListener(listener);}
}
注册DispatcherServlet
registerDispatcherServlet方法用于创建ServletApplicationContext、注册DispatcherServlet:
protected void registerDispatcherServlet(ServletContext servletContext) {String servletName = getServletName();// 创建ServletApplicationContextWebApplicationContext servletAppContext = createServletApplicationContext();// 创建DispatcherServletFrameworkServlet dispatcherServlet = createDispatcherServlet(servletAppContext);// 添加ApplicationContextInitializer集,会在初始化时调用dispatcherServlet.setContextInitializers(getServletApplicationContextInitializers());// 添加到ServletContextServletRegistration.Dynamic registration = servletContext.addServlet(servletName, dispatcherServlet);registration.setLoadOnStartup(1);registration.addMapping(getServletMappings());registration.setAsyncSupported(isAsyncSupported());Filter[] filters = getServletFilters();if (!ObjectUtils.isEmpty(filters)) {for (Filter filter : filters) {registerServletFilter(servletContext, filter);}}customizeRegistration(registration);
}
触发ContextLoaderListener监听器contextInitialized事件
这个是Servlet的ServletContextListener机制,在ServletContext创建之后触发contextInitialized事件:
public void contextInitialized(ServletContextEvent event) {initWebApplicationContext(event.getServletContext());
}public WebApplicationContext initWebApplicationContext(ServletContext servletContext) {// 判断是否已经在当前ServletContext绑定了WebApplicationContext// 如果已经绑定抛错if (servletContext.getAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE) != null) {throw new IllegalStateException("已经初始化过了");}try {if (this.context == null) {this.context = createWebApplicationContext(servletContext);}if (this.context instanceof ConfigurableWebApplicationContext) {ConfigurableWebApplicationContext cwac = (ConfigurableWebApplicationContext) this.context;if (!cwac.isActive()) {if (cwac.getParent() == null) {ApplicationContext parent = loadParentContext(servletContext);cwac.setParent(parent);}// refreshconfigureAndRefreshWebApplicationContext(cwac, servletContext);}}servletContext.setAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE, this.context);ClassLoader ccl = Thread.currentThread().getContextClassLoader();if (ccl == ContextLoader.class.getClassLoader()) {currentContext = this.context;} else if (ccl != null) {currentContextPerThread.put(ccl, this.context);}return this.context;} catch (RuntimeException | Error ex) {servletContext.setAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE, ex);throw ex;}
}protected void configureAndRefreshWebApplicationContext(ConfigurableWebApplicationContext wac, ServletContext sc) {// 给wac设置idwac.setServletContext(sc);// 设置spring主配置文件路径String configLocationParam = sc.getInitParameter(CONFIG_LOCATION_PARAM);if (configLocationParam != null) {wac.setConfigLocation(configLocationParam);}ConfigurableEnvironment env = wac.getEnvironment();if (env instanceof ConfigurableWebEnvironment) {((ConfigurableWebEnvironment) env).initPropertySources(sc, null);}customizeContext(sc, wac);// 刷新ApplicationContextwac.refresh();
}
触发DispatcherServlet的init事件
Servlet在接收请求之前会调用其init方法进行初始化,这个是Servlet的规范。
init方法在其父类HttpServletBean中:
public final void init() throws ServletException {// 从ServletConfig获取配置设置到ServletPropertyValues pvs = new ServletConfigPropertyValues(getServletConfig(), this.requiredProperties);if (!pvs.isEmpty()) {try {BeanWrapper bw = PropertyAccessorFactory.forBeanPropertyAccess(this);ResourceLoader resourceLoader = new ServletContextResourceLoader(getServletContext());bw.registerCustomEditor(Resource.class, new ResourceEditor(resourceLoader, getEnvironment()));initBeanWrapper(bw);bw.setPropertyValues(pvs, true);} catch (BeansException ex) {throw ex;}}// 初始化initServletBean();
}// FrameworkServlet
protected final void initServletBean() throws ServletException {try {// 初始化ServletApplicationContextthis.webApplicationContext = initWebApplicationContext();initFrameworkServlet();} catch (ServletException | RuntimeException ex) {throw ex;}
}protected WebApplicationContext initWebApplicationContext() {// 获取rootApplicationContext// 之前的ServletContext初始化阶段已经绑定WebApplicationContext rootContext =WebApplicationContextUtils.getWebApplicationContext(getServletContext());WebApplicationContext wac = null;if (this.webApplicationContext != null) {wac = this.webApplicationContext;if (wac instanceof ConfigurableWebApplicationContext) {ConfigurableWebApplicationContext cwac = (ConfigurableWebApplicationContext) wac;if (!cwac.isActive()) {// 将rootApplicationContext设置为Parentif (cwac.getParent() == null) {cwac.setParent(rootContext);}// 刷新ApplicationContextconfigureAndRefreshWebApplicationContext(cwac);}}}// 如果没有需要查找或创建if (wac == null) {wac = findWebApplicationContext();}if (wac == null) {wac = createWebApplicationContext(rootContext);}if (!this.refreshEventReceived) {synchronized (this.onRefreshMonitor) {// 子类实现onRefresh(wac);}}if (this.publishContext) {String attrName = getServletContextAttributeName();getServletContext().setAttribute(attrName, wac);}return wac;
}// DispatcherServlet
protected void onRefresh(ApplicationContext context) {initStrategies(context);
}// 初始化SpringMVC相关组件
protected void initStrategies(ApplicationContext context) {initMultipartResolver(context);initLocaleResolver(context);initThemeResolver(context);initHandlerMappings(context);initHandlerAdapters(context);initHandlerExceptionResolvers(context);initRequestToViewNameTranslator(context);initViewResolvers(context);initFlashMapManager(context);
}
SpringMVC启动流程总结
- 创建RootApplicationContext、注册ContextLoaderListener监听器
- 创建ServletApplicationContext、注册DispatcherServlet
- 触发ContextLoaderListener监听器contextInitialized事件,初始化RootApplicationContext
- 触发DispatcherServlet的init事件,初始化ServletApplicationContext
相关文章:
![](https://img-blog.csdnimg.cn/0d83a46fbda640f3a1fa4983ce61e1de.jpeg#pic_center)
spring启动流程 (6完结) springmvc启动流程
SpringMVC的启动入口在SpringServletContainerInitializer类,它是ServletContainerInitializer实现类(Servlet3.0新特性)。在实现方法中使用WebApplicationInitializer创建ApplicationContext、创建注册DispatcherServlet、初始化ApplicationContext等。 SpringMVC…...
![](images/%E4%B8%AD%E4%BB%8B%E8%80%85%E6%A8%A1%E5%BC%8F%E7%BB%93%E6%9E%84%E5%9B%BE.png)
设计模式-中介者模式在Java中使用示例-客户信息管理
场景 欲开发客户信息管理窗口界面,界面组件之间存在较为复杂的交互关系:如果删除一个客户, 要在客户列表(List)中删掉对应的项,客户选择组合框(ComboBox)中客户名称也将减少一个; 如果增加一个客户信息,…...
![](https://www.ngui.cc/images/no-images.jpg)
14443-1-doc
介绍 ISO/IEC 14443 是描述 ISO/IEC 7810 中定义的身份证参数以及此类卡在国际交换中的使用的一系列国际标准之一。 ISO/IEC 14443 的这一部分描述了感应卡的物理特性。 ISO/IEC 14443 的这一部分并不排除在卡上纳入其他标准技术,例如资料性附录 A 中引用的技术。非…...
![](https://img-blog.csdnimg.cn/dfc1b730d97d453e9c4e4f30270fbbc2.png)
SpringBoot的三层架构以及IOCDI
目录 一、IOC&DI入门 二、三层架构 数据库访问层 业务逻辑层 控制层 一、IOC&DI入门 在软件开发中,IOC(Inversion of Control)和DI(Dependency Injection)是密切相关的概念。 IOC(控制反转&a…...
![](https://img-blog.csdnimg.cn/605b5f4ca11d41a7a8a5568ebde946bc.png)
RabbitMQ部署指南
RabbitMQ部署指南 1.单机部署 我们在Centos7虚拟机中使用Docker来安装。 1.1.下载镜像 方式一:在线拉取 docker pull rabbitmq:3-management方式二:从本地加载 已经提供了镜像包: 上传到虚拟机中后,使用命令加载镜像即可&…...
![](https://img-blog.csdnimg.cn/963eed27f72a4c129c1d818c1bf49cf4.png)
【Golang】Golang进阶系列教程--Go 语言切片是如何扩容的?
文章目录 前言声明和初始化扩容时机源码分析go1.17go1.18内存对齐 总结 前言 在 Go 语言中,有一个很常用的数据结构,那就是切片(Slice)。 切片是一个拥有相同类型元素的可变长度的序列,它是基于数组类型做的一层封装…...
![](https://img-blog.csdnimg.cn/img_convert/782fb50b38c1d4ff649d5da8b08c4343.png)
【数据结构】顺序表(SeqList)(增、删、查、改)详解
一、顺序表的概念和结构 1、顺序表的概念: 顺序表是用一段物理地址连续的存储单元依次存储数据元素的线性结构,一般情况下采用数组存储。在数组上完成数据的增删查改。 2、顺序表的结构: (1)静态顺序表:使…...
![](https://img-blog.csdnimg.cn/cc7e89612730476cabad0f97b7219b12.png)
[golang gin框架] 42.Gin商城项目-微服务实战之后台Rbac微服务角色增删改查微服务
一.重构后台Rbac用户登录微服务功能 上一节讲解了后台Rbac微服务用户登录功能以及Gorm数据库配置单独抽离,Consul配置单独抽离,这一节讲解后台Rbac微服务角色增删改查微服务功能,Rbac微服务角色增删改查微服务和后台Rbac用户登录微服务是属于…...
![](https://img-blog.csdnimg.cn/29a3ac4048ee4e0fb8b19e322fd8b81a.png)
项目篇:Echo论坛系统项目
一、登录注册模块 1、注册功能 1.1、注册流程图 1.2、注册代码 /*** 用户注册* param user* return Map<String, Object> 返回错误提示消息,如果返回的 map 为空,则说明注册成功*/public Map<String, Object> register(User user) {Map&l…...
![](https://img-blog.csdnimg.cn/64457f8fd310473b8930816e17a93b27.png)
数据可视化(2)
1.柱状图 #柱状图 #bar(x,height,width,*,aligncenter,**kwargs) #height柱子的高度,即y轴上的数据 #width数组的宽度,默认值0.8 #*表示后面的参数为匿名关键字,必须传入参数 #kwargs关键字参数x[1,2,3,4,5] height[random.randint(10,100)f…...
![](https://img-blog.csdnimg.cn/img_convert/4d751273f4f7ca142cbe0452f5ecca22.png)
MD-MTSP:斑马优化算法ZOA求解多仓库多旅行商问题MATLAB(可更改数据集,旅行商的数量和起点)
一、斑马优化算法ZOA 斑马优化算法(Zebra Optimization Algorithm,ZOA)Eva Trojovsk等人于2022年提出,其模拟斑马的觅食和对捕食者攻击的防御行为。斑马优化算法(Zebra Optimization Algorithm,ZOA&#x…...
![](https://img-blog.csdnimg.cn/61897b1ca2854263aea3256bec969bc9.jpeg)
【笔试强训选择题】Day32.习题(错题)解析
作者简介:大家好,我是未央; 博客首页:未央.303 系列专栏:笔试强训选择题 每日一句:人的一生,可以有所作为的时机只有一次,那就是现在!! 文章目录 前言 一、Da…...
![](https://img-blog.csdnimg.cn/e267b8761c80433f974d60afcc30c6de.jpeg)
抖音seo账号矩阵系统源码如何开发布局?
目录 一、 抖音SEO账号矩阵系统源码的开发布局步骤如下: 二。 开发部署源码 三、 开发部署功能设计 1. 短视频AI智能创作 2. 托管式账号管理: 3. 数据分析 4. 智能营销获客 四。 抖音seo源码开发部署交付技术文档包含 五。 开发代码展示: 一、 抖…...
![](https://www.ngui.cc/images/no-images.jpg)
vue项目cdn打包优化
0.用vue ui可以查看项目打包后的情况。 1.定义包的排除 let externals {axios: axios,element-ui: ELEMENT,echarts: echarts,} configureWebpack: {externals: externals }2.配置cdn包资源 // 配置 let cdn {css: [// element-ui csshttps://unpkg.com/element-ui/lib/th…...
![](https://img-blog.csdnimg.cn/img_convert/0ae1c5222c3338e40078aa49c76cfbf0.jpeg)
Android 之 MediaPlayer 播放音频与视频
本节引言: 本节带来的是Android多媒体中的——MediaPlayer,我们可以通过这个API来播放音频和视频 该类是Androd多媒体框架中的一个重要组件,通过该类,我们可以以最小的步骤来获取,解码 和播放音视频。它支持三种不同的…...
![](https://www.ngui.cc/images/no-images.jpg)
React中事件处理器的基本使用
在React中,为了提高性能,跨浏览器兼容性和开发体验,React实现了一套自己的事件机制,利用事件委托和合成事件的方式统一管理事件订阅和分发。 为了让组件能够响应用户的交互行为,React提供了一系列的事件处理器…...
![](https://www.ngui.cc/images/no-images.jpg)
RobotFramework
一、RobotFramework的简介和特点 1、关键字驱动: 把项目中的业务逻辑封装成一个一个的关键字,然后调用不同的关键字组成不同的业务 2、数据驱动 把测试数据放到excel:yaml文件中 通过改变文件中的数据去驱动测试用例执行 3、特点ÿ…...
![](https://img-blog.csdnimg.cn/21520e5389c9486a9803e8ccc9e45dd1.png)
【Matplotlib 绘制折线图】
使用 Matplotlib 绘制折线图 在数据可视化中,折线图是一种常见的图表类型,用于展示随着变量的变化,某个指标的趋势或关系。Python 的 Matplotlib 库为我们提供了方便易用的功能来绘制折线图。 绘制折线图 下面的代码展示了如何使用 Matplo…...
![](https://img-blog.csdnimg.cn/7527c486323c42eba68971008f9f703b.png)
ARM汇编基本变量的定义和使用
一、ARM汇编中基本变量是什么? 数字变量: GBLA LCLA SETA 逻辑变量:GBLL LCLL SETL 字符串:GBLS LCLS SETLS 注意需要TAB键定义变量和行首改变值 二、使用步骤 1.引入库 代码如下(示例): GBLA led_num Reset_Handler PROCEXPORT Reset_Handler [WEA…...
![](https://img-blog.csdnimg.cn/a22fbdf1f9e64febb8686425d9447992.png)
排序算法汇总
每日一句:你的日积月累终会成为别人的望尘莫及 目录 常数时间的操作 选择排列 冒泡排列 【异或运算】 面试题: 1)在一个整形数组中,已知只有一种数出现了奇数次,其他的所有数都出现了偶数次,怎么找到…...
![](https://www.ngui.cc/images/no-images.jpg)
cocos2d 中UserDefault在windows平台下的路径问题
在使用cocos2dx c开发项目时,通常使用cocos自带的UserDefault来存储一些项目所用到的一些配置信息:如游戏的音量,游戏的闯关数等... 但是windows平台下,测试发现如果用户的帐户名使用是中文,在启动程序时会报错&#…...
![](https://img-blog.csdnimg.cn/569062c8596049bb84ee910a9c832a4e.png)
ChatGPT与高等教育变革:价值、影响及未来发展
最近一段时间,ChatGPT吸引了社会各界的目光,它可以撰写会议通知、新闻稿、新年贺信,还可以作诗、写文章,甚至可以撰写学术论文。比尔盖茨、马斯克等知名人物纷纷为此发声,谷歌、百度等知名企业纷纷宣布要提供类似产品。…...
![](https://img-blog.csdnimg.cn/3b64f5126ad54f62beef6bacfd7cf6f9.png)
Matlab Image Processing toolbox 下载安装方法
当安装好Matlab之后,发现没有Image Processing toolbox这个图像处理工具箱 从新安装一遍, 选上 Image Processing toolbox 但是不用选matlab即可 1.找到之前安装时的Setup安装程序包,按照之前安装Matlab步骤,到选择需要安装的Ma…...
![](https://www.ngui.cc/images/no-images.jpg)
什么是消息键(Key)?如何使用消息键进行消息顺序性保证?
消息键(Key)是Kafka消息的一个可选属性,用于标识消息的逻辑关联关系。每条消息可以携带一个关键字作为其键,这个键可以是字符串、整数等数据类型。 使用消息键可以在Kafka中实现消息的顺序性保证,具体方式如下&#x…...
![](https://img-blog.csdnimg.cn/img_convert/8154089778818fb843affaffa572bafe.gif)
慎思笃行,兴业致远:金融行业的数据之道
《中庸》中说,“博学之,审问之,慎思之,明辨之,笃行之”。这段话穿越千年,指引着中国千行百业的发展。对于金融行业来说,庞大的数据量可以说是“博学”的来源。但庞大的数据体量,既是…...
![](https://img-blog.csdnimg.cn/0910fc6f56c54e19b98eef6a5ab17710.gif#pic_center)
Git-分支管理
文章目录 1.分支管理2.合并冲突3.合并模式4.补充 1.分支管理 Git分支管理是指在Git版本控制系统中,使用分支来管理项目的不同开发线路和并行开发的能力。通过分支,开发者可以在独立的环境中进行功能开发、bug修复等工作,而不会影响到主分支上…...
![](https://img-blog.csdnimg.cn/72695eaf029443228e4efda5763ca184.png)
[Ubuntu 22.04] containerd配置HTTP方式拉取私仓Harbor
文章目录 1. 基础环境配置2. Docker安装3. 部署Harbor,HTTP访问4. 部署ContainerD5. 修改docker配置文件,向harbor中推入镜像6. 配置containerd6.1. 拉取镜像验证6.2. 推送镜像验证 1. 基础环境配置 [Ubuntu 22.04] 安装K8S基础环境准备脚本 2. Docker安…...
![](https://www.ngui.cc/images/no-images.jpg)
入门指南:深入解析OpenCV的copyTo函数及其与rect的应用场景
文章目录 导言copyTo函数的示例copyTo函数与rect的应用场景结论 导言 OpenCV是一个功能强大的开源计算机视觉库,广泛应用于图像处理和计算机视觉任务。在OpenCV中,copyTo函数是一个重要的图像处理函数,它允许我们在不同的图像之间复制像素数…...
![](https://img-blog.csdnimg.cn/ba987d6604864c2d87d8c0c45c83e44d.gif#pic_center)
2018年全国硕士研究生入学统一考试管理类专业学位联考写作试题——解析版
2018年1月真题 四、写作:第56~57小题,共65分。其中论证有效性分析30 分,论说文35分。 56.论证有效性分析: 分析下述论证中存在的缺陷和漏洞,选择若干要点,写一篇600字左右的文章,对该论证的有…...
![](https://img-blog.csdnimg.cn/b61bc7d0573b428b8ba136ca581ea640.png)
系统集成|第七章(笔记)
目录 第七章 范围管理7.1 项目范围管理概念7.2 主要过程7.2.1 规划范围管理7.2.2 收集需求7.2.3 定义范围7.2.4 创建工作分解结构 - WBS7.2.5 范围确认7.2.6 范围控制 上篇:第六章、整体管理 第七章 范围管理 7.1 项目范围管理概念 概述:项目范围管理就…...
开发网站手机版/摘抄一则新闻
本系列文章一共13篇,本文为第3篇,请关注公众号,后续文章会陆续发布。系列文章列表:《手把手教你从零开始实现一个数据库系统》《世上最简单的SQL编译器和虚拟机》我们将从数据库的诸多限制开始,比如,这个数…...
![](/images/no-images.jpg)
用手机做网站视频/全网营销国际系统
性能测试中关键指标的监控与分析 https://blog.csdn.net/huangjin0507/article/details/51878559 性能测试指标及常用的监控工具 https://blog.csdn.net/gzh0222/article/details/7258661 转载于:https://www.cnblogs.com/highpointengineer/p/10953617.html...
![](/Images/OutliningIndicators/None.gif)
网站怎么做才能上百度首页/友情链接联盟
Hibernate中进行数据库增删改的代码,太多不想背了,记在这里以后来查好啦~~~~packageorg.lxh.hibernate.demo01;importjava.util.Iterator;importjava.util.List;importorg.hibernate.Query;importorg.hibernate.Session;importorg.hibernate.SessionFact…...
![](https://img-blog.csdnimg.cn/20200313125934509.png)
推送网站建设/seo教程有什么
每个期刊或者会议都有自己的篇幅限制,比如近期准备试水的Signal Processing, Elsevier的期刊,要求单栏,双倍行距,所有文字,表格,图,参考文献加起来不超过30页,我觉得还好,…...
![](http://www.51test.space/wp-content/uploads/2017/06/1793.jpg)
用jsp做网站默认显示this is my jsp page/怎样推广app
使用jmeter进行压力测试时遇到一段时间后报内存溢出outfmenmory错误,导致jmeter卡死了,先尝试在jmeter.bat中增加了JVM_ARGS"-Xmx2048m -Xms2048m -Xmn256m -XX:PermSize128m -Xss256k",但结果运行时间增加了,但最终还是…...
![](/images/no-images.jpg)
昆明网站建设精英/seo网站管理
《计算机网络》作业二第3章计算机网络硬件设备练习一、填空题1《计算机网络》作业二第3章 计算机网络硬件设备练习一、填空题1. 有线传输介质包括________、_________、__________。2. 在局域网中常用的双绞线根据传输特性可以分为_________类。在典型的以太网中,通…...