E-Book, Englisch, 271 Seiten
Minter Beginning Spring 2
1. ed
ISBN: 978-1-4302-0494-7
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
From Novice to Professional
E-Book, Englisch, 271 Seiten
ISBN: 978-1-4302-0494-7
Verlag: Apress
Format: PDF
Kopierschutz: 1 - PDF Watermark
This book will take developers through the first steps of using Spring whilst discussing the relevant technologies that Spring can be integrated with, what to be aware of and how working with Spring makes them easier to use. It focuses on the most useful features of Spring, including persistence and transaction management as well as the complete Spring web tools portfolio, and also introduces 3-tier application design and how to test these designs. Ideal for J2EE beginners, this book provides a broad insight into Spring's enterprise Java-based technologies, whilst showing how to use Spring correctly.
Dave Minter has adored computers since he was small enough to play in the boxes they came in. He built his first PC from discarded, faulty, and obsolete components, and considers that to be the foundation of his career as an integration consultant. Dave is based in London, where he helps large and small companies build systems that 'just work.' He co-authored Building Portals with the Java Portlet API and Pro Hibernate 3.
Autoren/Hrsg.
Weitere Infos & Material
1;Contents at a Glance;5
2;Contents;6
3;About the Author;11
4;About the Technical Reviewer;12
5;Acknowledgments;13
6;Introduction;14
6.1;Who This Book Is For;14
6.2;How This Book Is Structured;15
6.3;Downloading the Code;16
6.4;Contacting the Author;16
7;An Introduction to Spring;17
7.1;Frameworks;17
7.2;Inversion of Control ( IOC);18
7.3;An Agile Framework;21
7.4;Aspect- Oriented Programming ( AOP);22
7.5;Libraries;23
7.6;Spring and Web Applications;24
7.7;Documentation;26
7.8;Other Tools;27
7.9;Conclusion;28
8;Presenting the Sample Application;29
8.1;Rationale;29
8.2;Architecture of the Sample Application;29
8.3;Specification;33
8.4;Maven;35
8.5;Configuration Files;42
8.6;Tests;42
8.7;The Web Application;42
8.8;Conclusion;43
9;The Heart of Spring: Inversion of Control;44
9.1;Benefits and Disadvantages of DI;44
9.2;Coupling;45
9.3;The Need for a Framework;49
9.4;The Container;49
9.5;XML Configuration;53
9.6;XML Schema – Based Configuration;60
9.7;Annotation- Based Configuration;62
9.8;Conclusion;69
10;Data Access;70
10.1;Persistence Frameworks;70
10.2;DAOs;71
10.3;Templates and Support Classes;74
10.4;Plain Old JDBC;76
10.5;Hibernate;79
10.6;Conclusion;88
11;The Service Layer, Transaction Management, and AOP;89
11.1;Implementing Services in Spring;90
11.2;Transactions;92
11.3;Aspect- Oriented Programming ( AOP);100
11.4;Conclusion;119
12;Web Applications;120
12.1;The Model View Controller Pattern;120
12.2;Managing Contexts;121
12.3;Spring MVC;123
12.4;Spring Web Flow;133
12.5;Forms and Binding;139
12.6;Views;140
12.7;Filters;145
12.8;Conclusion;149
13;Security;150
13.1;Securing the Web Components;151
13.2;Making Security Decisions;165
13.3;Securing the Service Layer;167
13.4;Conclusion;169
14;Sending E-mail;170
14.1;Using the Mail Sender;171
14.2;Sending Plain Text;173
14.3;Sending Formatted HTML;176
14.4;Including Inline Images and Attachments;179
14.5;Conclusion;183
15;Remoting;184
15.1;Remoting Mechanisms;184
15.2;Conclusion;204
16;Testing;205
16.1;Unit Testing;206
16.2;Integration Testing;238
16.3;Web Testing;238
16.4;Regression Testing;239
16.5;Conclusion;239
17;The Spring IDE Plug-in for Eclipse;240
17.1;Installing the Plug- in;240
17.2;Managing Bean Configurations;243
17.3;Managing Spring Web Flow Configuration;249
17.4;Using File- Creation Wizards;254
17.5;Conclusion;255
18;Index;256




