单项选择题
Spring 中"@Cacheable"注解与以下哪个注解类似()
A.@CacheDefaults
B.@CachePut
C.@CacheResult
D.@CacheGet
点击查看答案&解析
相关考题
-
单项选择题
Spring 如何处理XML 的编入编出(marshal/unmarshal)()
A.包装了很多库,包括Jackson 和JAXB
B.不支持marshaller/unmarshaller
C.提供了它自己的快速、简单的XML marshaller/unmarshaller -
单项选择题
Spring中,BeanFactory是流行的装载bean的方式,下面哪个选项是正确的创建BeanFactory 的方式()
A.BeanFactory factory =new BeanFactory(new FileInputStream(“beans.xml”));
B.BeanFactory factory =new XmlBeanFactory(“classpath:beans.xml”);
C.BeanFactory factory =new BeanFactory(“beans.xml”);
D.BeanFactory factory =new XmlBeanFactory(newFileInputStream(“beans.xml”)); -
单项选择题
在Spring MVC中,哪个类是负责处理HTTP请求和响应的()
A.HttpServlet
B.RequestHandler
C.DispatcherServlet
D.SpringController
