A


abstract attribute, bean element,74

abstract parent bean definition (template),73

abstract schema advice,125

AbstractAccessDecisionManager class,Acegi,383–384

AbstractAutoProxyCreator class,133,143–144

AbstractController class

definition of,459

example of,423–424,464–466

AbstractDependencyInjectionSpring ContextTests class,107

AbstractEnterpriseBean class,407

AbstractExcelView class,517

abstraction for services,14–18,67–71

AbstractJExcelView class,516–517

AbstractJmsMessageDrivenBean class,411

AbstractMessageDrivenBean class,411

AbstractPoiExcelView class,516–517

AbstractPoolingTargetSource interface,150

AbstractScript class,365

AbstractScriptFactory interface,365

AbstractSecurityInterceptor class,Acegi,385,387

AbstractSessionBean class,407

AbstractStatefulSessionBean class,410,412

AbstractStatelessSessionBean class,407,408,412

AbstractTransactionalDataSource SpringContextTests class,107

AbstractTransactionalSpringContextTests class,107

AbstractView class,493–496,520

AbstractWizardFormController class,474–477

AbstractXsltView class,514

AcceptHeaderLocaleResolver class,455

access control list (ACL),368,371,396

AccessDecisionManager interface,Acegi,383–384

AccessDecisionVoter interface,Acegi,383–384

accessors,for lightweight remoting

for Burlap,310–312

configuring,307–308

definition of,306

for Hessian,310–312

for HTTP invoker,314–315

for RMI,318–320

for RMI-IIOP,323

for Web Services with JAX-RPC,326–328

account manager example,115–118

Acegi Security

authentication using,369,377–383

authorization using,383–386

business services layer security using,368,370–371

container adapters,381

definition of,13,368–369,594–595

domain object security using,368,371–372,386–388

example of,389–395

integration with JAAS,373

Servlet Specification and,380–381

web request security using,368,369–370

when to use,396

ACID requirements of transactions,218–220

ACL (access control list),368,371,396

AclEntry interface,Acegi,386

AclManager interface,Acegi,386–388

AclManager repository,371

AclProvider interface,Acegi,386–387

AclProviderManager class,Acegi,386

Action class,537–538

ActionServlet class,539

ActionSupport class,538

addAdvice property, AdvisedSupport class,136

addAdvisor property, AdvisedSupport class,136

advice,AOP

abstract schema advice,125

before advice,122–123

after returning advice,123–124

custom advice types,125

definition of,12,120

method interceptors,120–121

throws advice,124–125

typed advice,125

where to apply (pointcuts),125–131

wrapped in an Advisor,131

Advice interface,121–122

Advised interface,146,160

AdvisedSupport class,132–133,135–137

advisorAdapterRegistry property, Advised Support class,137

advisorChainFactory property, AdvisedSupport class,136

Advisors,AOP,130–131

after returning advice,123–124

AfterInvocationManager interface,Acegi,385–386

afterPropertiesSet() method, Initializing Bean interface, 65, 67

afterReturning() method, AfterReturning Advice interface, 123

AfterReturningAdvice interface, 122, 123–124

afterThrowing() method, ThrowsAdvice interface,124

aggregate function (count) methods,DAO,24

agile J2EE,8

allowDirtyBack property, AbstractWizard FormController class,475

allowDirtyForward property, AbstractWizard FormController class,475

Alur,Deepak (Core J2EE Patterns),172,424

ant-style paths for resource location strings,93

AOP Alliance API,120–121

AOP (Aspect-Oriented Programming) framework

advantages of,118–119

advice,119–125

advisors,130–131

alternatives to Spring’s AOP framework,163–169

benefits of,13–14

books about,597

debugging using,159–161

definition of,5,11–12,37,578

disadvantages of,119

example using,114–118

goals of,113–114

guidelines for,170,592

integration with,20–21

interceptor chain,118,153

introduction,12,153–156

MethodInvocation,exposing,157

multiple AOP framework interfaces,161

pointcuts,125–131

proxy-based,12,34,114,118

target object,118–119,147–153

testing using,159–161

AOP proxies

autoproxying,141–145,170,591

configuration of,132–137

creating using ProxyFactoryBean interface,137–140

definition of,132

double proxying,161

examining and modifying at runtime,145–146

exposing current proxy,156–157

lifecycle of,140–141

programmatic creation of,146–147

serializable,162–163

types of,158–159

AopProxyFactory interface,158

aopProxyFactory property, ProxyConfig class,135

AopUtils class,145

Apache Avalon,4

Apache Cactus tool (Jakarta),106,421

Apache Commons DBCP,199,252

Apache Commons Pool,150

Apache Jakarta Tapestry. See  Tapestry web framework

Apache OJB (Object relational Bridge)

DAO support class for,173

definition of,255

integration with,19

object query language used by,257

O/R mapping and,299–300

transaction manager for,247–248

Apache Tomcat server,552,574,575

APIs,simplified use of,5

application

components of,handling,97–99

structuring,guidelines for,589–592

application context

accessing beans,52–53

declarative usage of,93–95

definition of,48–49,578

definitions of

in multiple files,95–96

programmatic,110

in Properties format,108–109

XML,52,53,57

event publishing and subscription with,89–91

integration testing with,106–108

interface hierarchy for,50

loading,50–52

as message source,87–89

as resource loader,84–87

singleton access of,99

testing controllers using,484–485

when to use,49

application framework. See also  Spring Framework; web frameworks

advantages of,2–3

definition of,1

lightweight frameworks,3–4

non-invasive,6

application objects

as named services,7

as POJOs,7

application server

running JDBC framework in,199–201

testing applications deployed in,108

transaction management and,200–201,220,249–251

when to use,581

ApplicationContext interface

definition of,48–50

retrieving from ServletContext,535

ApplicationContextAware interface,65,67

ApplicationEvent class,50,89–91

ApplicationEventPublisher interface,50,90

ApplicationEventPublisherAware interface,65

ApplicationListener interface,91

applyBeanPropertyValues() method, Autowire CapableBeanFactory interface,48

applyCommonInterceptorsFirst property, AbstractAutoProxyCreator class,143

appserver

running JDBC framework in,199–201

testing applications deployed in,108

transaction management and,200–201,220,249–251

when to use,581

architecture

layers of,21–23,583–588

replaceability of layers in,7

around advice,AOP,118,121

arrays,data binding and,463

aspect association types,AspectJ,167

AspectJ AOP framework

advantages of,168

AOP Alliance and,120

disadvantages of,168

integration with,20–21,164–167

using with Spring’s AOP framework,168–169

AspectJ in Action  (Laddad),170,597

Aspect-Oriented Programming (AOP) framework.  See also  AOP proxies

advantages of,118–119

advice,119–125

advisors,130–131

alternatives to Spring’s AOP framework,163–169

benefits of,13–14

books about,597

debugging using,159–161

definition of,5,11–12,37,578

disadvantages of,119

example using,114–118

goals of,113–114

guidelines for,170,592

integration with,20–21

interceptor chain,118

introduction,12,153–156

MethodInvocation,exposing,157

multiple AOP framework interfaces,161

pointcuts,125–131

proxy-based,12,114,118

target object,118–119,147–153

testing using,159–161

Aspect-Oriented Programming (AOP) framework (module)

interceptor chain,153

proxy-based,34

aspects (concerns),12,13

AspectWerkz AOP framework,20–21,169

asterisk (*),in ant-style paths,93

asynchronous messaging. See  JMS (Java Message Service)

atomicity of transactions,218–219

attachments,email,360

attribute-driven autoproxying,144

auditing,13

Aurora MVC,595

authentication

Acegi Security

example for,391–392

features for,369,377–383

definition of,367,368

JAAS features for,373

Servlet Specification features for,375–376

Authentication interface,Acegi,377,378

authentication repositories,368

AuthenticationDao interface,Acegi,377,379

AuthenticationEvent class,372

AuthenticationManager interface,Acegi,369,377,378,385

AuthenticationProcessingFilter module,Acegi,380

AuthenticationProvider interface,Acegi,377,378,379

authorization

Acegi Security

example for,392–395

features for,383–386

definition of,367

JAAS features for,373–374

Servlet Specification features for,376–377

auto wiring,542–543

autoproxying,141–145,170,591

autowire() method, AutowireCapableBean Factory interface,48

autowireBeanProperties() method, Auto wireCapableBeanFactory interface,48

AutowireCapableBeanFactory interface,48,50

autowiring dependencies,61–63,590–591

Avalon (Apache),4



Professional Java Development with the Spring Framework
Professional Java Development with the Spring Framework
ISBN: 0764574833
EAN: 2147483647
Year: 2003
Pages: 188

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net