摘要: The release of Spring 2.5 reduce the burden of XML by introduction annotation based configuration, but you still needed to bootstrap Spring in XML. However in Servlet 3 and Spring 3.1 we can now drop XML completely and have 100% code based configuration. All thanks to the Servlet 3 specification.So 阅读全文
posted @ 2014-04-09 08:45 一天不进步,就是退步 阅读(669) 评论(0) 推荐(0) 编辑
摘要: In this tutorial, we will see how we can use Spring security to protect specific resources. This Hello World tutorial will give you a quick start to Spring Security.We will use Spring’s Java Config ( Annotation based approach) to configure the properties instead of XML configuration.Technologies use 阅读全文
posted @ 2014-04-09 08:41 一天不进步,就是退步 阅读(4054) 评论(0) 推荐(1) 编辑
摘要: How to check if an array (unsorted) contains a certain value? This is a very useful and frequently used operation in Java. It is also a top voted question on Stack Overflow. As shown in top voted answers, checking if an array contains a certain value can be done in several different ways, but the ti 阅读全文
posted @ 2014-04-09 08:39 一天不进步,就是退步 阅读(455) 评论(0) 推荐(0) 编辑