上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 51 下一页
摘要: 1.工厂模式就是指隐藏创建类的细节,通过一个额外的工厂类来组织创建我们需要的对象,工厂按表现形式又分为静态工厂和工厂实例 2. src/main/java/com/imooc/spring/ioc/factory/AppleStaticFactory.java 苹果的静态工厂 package com 阅读全文
posted @ 2022-11-22 00:09 李林林 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 1.实例化bean的三种方式 2.初始化Ioc容器 2.1 利用构造方法参数名实例化 2.2 利用构造方法参数位置实例化 2.3 实现步骤 2.3.1 src/main/java/com/imooc/spring/ioc/entity/Apple.java package com.imooc.spr 阅读全文
posted @ 2022-11-21 23:41 李林林 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 1.src/main/resources(applicationContext.xml) <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:x 阅读全文
posted @ 2022-11-21 23:20 李林林 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 1.application.xml 2.Xml方式创建Ioc容器 3.Spring框架组成模块 阅读全文
posted @ 2022-11-21 23:08 李林林 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 1.创建实体类 package com.imooc.entity; public class Apple { private String title; private String color; private String origin; public Apple() { } public Ap 阅读全文
posted @ 2022-11-21 02:06 李林林 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 1.Ioc控制反转是一种设计理念 2.举例 3.DI依赖注入 阅读全文
posted @ 2022-11-21 00:53 李林林 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 1.login.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>慕课网OA办公系统</title> <!-- 引入样式 --> <link rel="stylesheet" type="text/c 阅读全文
posted @ 2022-11-20 16:01 李林林 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 1. com.imooc.oa.controller创建servlet package com.imooc.oa.controller; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson 阅读全文
posted @ 2022-11-20 15:49 李林林 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-11-20 14:36 李林林 阅读(10) 评论(0) 推荐(0) 编辑
摘要: 1.编译安装应用程序 2.yum与编译安装的区别 3.编译安装redis 3.1 上传 redis-4.0.14.tar.gz (/usr/local) 3.2 tar -zxvf redis-4.0.14.tar.gz 3.3 [root@imooc redis-4.0.14]# yum inst 阅读全文
posted @ 2022-11-15 01:44 李林林 阅读(16) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 51 下一页