摘要:Although Spring’s POJO-based development model offers a compelling alternativeto Enterprise JavaBeans, there may be factors (either technical, political, or historical)that force a project to ch...
阅读全文
摘要:In JMS, there are two types of destination: queues and topics. Each of these isassociated with a specific messaging model, either point-to-point (for queues) orpublish-subscribe (for topics). Althoug...
阅读全文
摘要:Working with remote services is typically a tedious chore. But Spring providesremoting support that makes working with remote services as simple as workingwith any regular JavaBean. On the client sid...
阅读全文
摘要:This chapter covers■ Introducing Spring Security■ Securing web applications using servlet filters■ Authentication against databases and LDAP■ Transparently securing method invo...
阅读全文
摘要:Spring supports both programmatic and declarative transaction management.In either case, Spring shields you from having to work directly with a specifictransaction management implementation by abstrac...
阅读全文
摘要:Spring can integrate with ORM frameworks such as Hibernate, iBatis.Several caching solutions are supported,including: ■ EHCache ■ GigaSpaces ■ JBoss Cache ■ JCS ■ Op...
阅读全文
摘要:Advice In AOPterms, the job of an aspect is called advice.Advice defines both the what and the when of an aspect. In addition to describingthe job that an aspect will perform, advice addresses the qu...
阅读全文
摘要:To accommodate sub-beaning, the <bean> element provides two specialattributes: ■ parent—Indicates the id of a <bean> that will be the parent of the <bean>with the parent...
阅读全文
摘要:There is no single Spring container. Spring comes with several containerimplementations that can be categorized into two distinct types. Bean factories(defined by the org.springframework.beans.factory...
阅读全文
摘要:HelloAppCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--1packagecom.springinaction.chapter1.hello;23importorg.springframework.beans.factory.BeanFactor...
阅读全文