02 2024 档案
摘要:package com.cx.shop.scheduler.test; import com.cx.shop.SchedulerProviderApplication; import com.cx.shop.scheduler.service.TaskJobService; import org.j
阅读全文
摘要:3.spring和springboot 3.3spring容器 BeanFactory:创建Bean对象以及管理Bean对象。 ApplicationContext:BeanFactory的子接口,继承了其所有能力外,还追加了其他功能。 控制反转实现机制: 将对象间的依赖交给容器去处理,利用set或
阅读全文
摘要:servlet只有一个对象,其中各个线程共享其内存,为了防止出现线程安全问题,servlet对象中是没有属性的。 servlet内部线程处理http请求分为5步 read: 读取网路协议,完整读完http下各个tcp/ip包,拼接成request,就是完整读完http的request的过程 deco
阅读全文