单选题 SpringAOP中,连接点(JoinPoint)指( )
单选题 MyBatis配置文件中,别名配置标签是( )
A、<typeAlias>
B、<typeHandler>
C、<package>
D、<property>
单选题 关于Spring IoC,下列说法错误的是( )
A、依赖注入DI是IoC的一种实现方式
B、IoC是控制反转,把对象创建交给容器
C、@Component、@Service、@Repository都能声明Bean
D、默认情况下,Spring会懒加载所有singleton Bean
单选题 下列注解不能声明Bean的是( )
A、@Autowired
B、@Component
C、@Controller
D、@Configuration
单选题 下列哪项不是ApplicationContext的功能( )
A、资源加载
B、延迟创建Bean
C、事件发布
D、国际化
单选题 @ResponseBody的作用是( )
A、重定向
B、返回视图名
C、直接输出JSON/字符串到响应体
D、转发
单选题 Spring事务中,PROPAGATION_REQUIRES_NEW的含义是( )
A、无事务就报错
B、有事务就加入
C、总是新建独立事务
D、不支持事务
单选题 Spring声明式事务默认只对哪种异常回滚( )
A、检查异常
B、IOException
C、Exception
D、RuntimeException/Error