-
spring
1.Spring框架作用,好处
作用是整合,好处是解耦
在ssh整合中主要使用Spring的IoC和AOP特性。
2.IoC概念 Inverse of Control
反向控制,控制反转
控制权指的是组件对象的创建,销毁,调用关系的维护。
反向控制指的是两个组件在作用时,组件对象的创建、销毁、调用关系维护等工作由IoC框架负责。
Spring框架的IoC使用的DI(依赖注入)技术实现,可以用
setter方式注入或构造器注入。
3.AOP概念
面向切面编程,面向方面编程
面向对象编程,关注点是对象,如何更好更合理的封装一个对象。
面向切面编程,关注点是切面,如何将共通处理部分进行灵活地,重复利用。将切面组件和目标对象解耦。
面向切面编程是以面向对象编程为基础,主要改善组件间一对多的使用结构。
4.AOP注解方式的使用
a.组件自动扫描注解
@Controller 控制组件
@Service 业务组件
@Repository 数据访问组件DAO
@Component 其他组件
b.自动注入注解
@Resource
注意a和b注解使用前提是,在xml中添加下面声明
c.AOP注解
@Aspect:将当前组件指定为切面组件
@Pointcut:定义一个切入点表达式
@Aroun
- 2023-03-04 01:45:05下载
- 积分:1
-
jDlog的主要功能: 1. 日记分类 2. 站内短消息 3. 隐藏日记 4. 所见即所得的日记以及评论编辑器 5. 日记可存为草稿暂不发布 6. 日记评论 7...
jDlog的主要功能: 1. 日记分类 2. 站内短消息 3. 隐藏日记 4. 所见即所得的日记以及评论编辑器 5. 日记可存为草稿暂不发布 6. 日记评论 7. 可视化访问统计 8. 可单独跟踪某篇日记 9. 日记与评论搜索 10. 会员注册 11. 支持RSS1.0,2.0及ATOM 12. 日记排序 13. 日记可选择天气与心情指数-jDlog include these functions:1. catalog 2. short message 3.hide log 4.HTML style editor for logs and comments 5.save the log as draft 6.comment support 7.accessing Stat 8.log track 9.search support 10.user register 11.RSS1.0/2.0 and ATOM support 12 log sort 13 select weather and heart
- 2022-06-02 13:01:49下载
- 积分:1
-
数字命理学计算器
这款应用可以帮助您计算你的命理数。可以用于更改拼写。基于cheiro的方法。
- 2022-02-15 05:38:12下载
- 积分:1
-
c#windowFrom
一个老外写的 强大的C# 窗体 图片旋转效果。详情请看内容........................................................................................
- 2022-03-20 11:32:10下载
- 积分:1
-
马维尔sdio8686 wifi驱动平台
marvell wifi driver wince5 sdio8686
SD-8686-WINCE50-ARMV4I-7.70.6.p0-36.p3.zip
- 2023-07-29 04:55:05下载
- 积分:1
-
该源码的功能是实现顺序表的插入删除查找功能的,自己编的哦,应该没有问题的,大家可以参考...
该源码的功能是实现顺序表的插入删除查找功能的,自己编的哦,应该没有问题的,大家可以参考-The source function is to realize the order of the table insert delete search function, the own Oh, there should be no problem, everyone can refer to
- 2023-07-13 11:00:03下载
- 积分:1
-
使用Mapi访问微软的邮件服务器Exchange
使用马皮访问微软的邮件服务器交换,例如如何使用MAPI访问微软的Exchange邮件服务器
- 2022-02-04 01:23:25下载
- 积分:1
-
可以计算相关目录(目前在代码里面设置)下的感兴趣(目前在代码里面设置感兴趣的后缀)的文件的行数...
可以计算相关目录(目前在代码里面设置)下的感兴趣(目前在代码里面设置感兴趣的后缀)的文件的行数-Can calculate the related directory (currently in the code inside the set) of interest (currently in the code inside the set of suffixes of interest) documents the number of rows
- 2023-01-22 09:25:03下载
- 积分:1
-
MFC工具提示控件(ctooltipctrl)是易于使用的一个窗口,如一个孩子…
MFC Tool tip control(CToolTipCtrl) is easy to use with a window, such as a child window, or an application-defined rectangular area within a window s client area. However, in some situations you may not know in advance for which controls or rectangle area you will be displaying the tool tip. In this case, you have to dynamically display the tool tip depending on where your mouse position is. For e.g. you may have a window which display some graphics and you may want to display the tool tip on the graphics depending on where the mouse position is.
- 2023-04-20 19:30:03下载
- 积分:1
-
一台机器控制的源代码,用于测量电表的精度…
Source code for control of a machine to measure the accuracy of electric meters by optically reading the meter revolution.
- 2022-11-04 06:40:03下载
- 积分:1