M


mail,electronic (email)

attachments,360

COS,sending mail using,356

creating messages,358,359

example of,354–355

existing mail session,reusing,355–356

features for,354

mail manager for,356–360

recipients,handling,358–359

sending messages,360

MailManager interface,356–357

MailMessage class,COS,356

MailSender interface,354

Malks,Dan (Core J2EE Patterns),172,424

MANDATORY transaction attribute,222

manual dependencies,61

map element,59–60

mapped statements,iBATIS SQL Maps,257,261–263

mappers,97

mapping database tables to Java objects. See  O/R (Object-Relational) mapping

mapping file

Hibernate,269–270

iBATIS SQL Maps,261–263

MappingSqlQuery class,JDBC,189,190–192,207–208

maps,data binding and,463

Maron,Jon (Java Transaction Processing: Design and Implementation),217

matches() method, MethodMatcher interface,127

Message Driven Beans,implementing,411–412

message publication using JMS,35

MessageConsumer class,339

MessageConverter interface,341

MessageCreator interface,338–339

MessageListener interface,411–412

Message-Oriented Middleware (MOM),336

messages. See also JMS (Java Message Service)

application context as source of,87–89

email

attachments,360

COS,sending mail using,356

creating messages,358,359

example of,354–355

existing mail session,reusing,355–356

features for,354

mail manager for,356–360

recipients,handling,358–359

sending messages,360

MessageSource interface,49,50,87–89

MessageSourceAccessor class,89

MessageSourceAware interface,65,88

MessageSourceResolvable interface,87

messaging. See  JMS (Java Message Service)

Method Injection

definition of,9,589

example of,44–45

testing and,45

when to use,44,590

method interceptors,120–121

MethodBeforeAdvice interface,122–123

MethodInterceptor interface,120–121,153,161

MethodInvocation interface,157,161

MethodInvokingFactoryBean class,71,101–102

MethodInvokingTimerTaskFactoryBean class,347

MethodMatcher interface,126,127

MethodSecurityInterceptor class,Acegi,385

migration

to future versions of Spring Framework,6

to other lightweight containers,6

mixin,153,154–156

mock objects,for unit testing,104–106,481–483

MockEJB framework,420

model objects. See also  ModelandView class

definition of,28,426

provided by Spring,429–430

rendered by views,491–492

Model View Controller. See  MVC web frameworks

ModelandView class,429–430,450

modules. See also specific modules

handling,97–99

list of,5–6,33–36

MOM (Message-Oriented Middleware),336

Mule framework,596

MultiActionController class,460–461

multipart resolver,479–481

MultipartHttpServletRequest class,479,480

MultipartResolver class,435,441

MutablePropertyValues class,110

MVC web frameworks. See also  controller objects; model objects; view objects

choosing,523–524,587–588

comparing available frameworks

controllers and interception handling,530–532

data binding,525–528

presentation layer,528–529

requirements for,524–525,532–533

integration with Spring,534–536

JSF web framework

controllers,531

data binding,528

definition of,525

features of,528,529,531,533

integration with,20,547–548

interceptors,531

presentation layer,529

list of,20

requirements for,524

Spring MVC web framework

application design using,427,430–431,440–441

architecture of,425–430

components of,430–436,440–441

controllers,530–531

data binding,461–463,526–527

definition of,5,35,580

example of,423–425,464–474

exception handling,438,456–458

features of,526–527,529,530–531,532–533

handler adapters,449

handler exception resolvers,456–458

handler interceptors,446–449

handler mappings,441–446

handlers,extending,478

handling requests,436–439

Hibernate,Open Session in View,282–285

interceptors,530–531

locale resolution,454–455

presentation layer,529

pull model and,426

push model and,427

requirements for,428

testing controllers,481–485

testing web applications,485

uploading files,478–481

view resolvers,450–454

Struts web framework

compared to Spring Framework,1,3

controllers,530

converting to Spring MVC,437

data binding,526

definition of,525

features of,526,528,530,532

integration with,20,537–543

interceptors,530

presentation layer,528

Tapestry web framework

controllers,531

data binding,527

definition of,525

features of,527,529,531,533

integration with,20,543–547

interceptors,531

presentation layer,529

WebWork web framework

controllers,530

definition of,596

features of,530,532

integration with,536–537

interceptors,530

MySQL database server,552



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