Spring advanced programming (authoritative Development Guide recommended by the founder of Spring framework)

Source: Internet
Author: User

Spring advanced programming (authoritative Development Guide recommended by the founder of Spring framework)

Market Price: ¥99.00
Member price: ¥74.25(Off)

Sample free trial: http://www.china-pub.com/195970

Author: Jan machacek; Aleksa vukotic; anirvan Chakraborty; Jessica ditt
[Translated by] Ma lianhao; Li Lei; Zhang Long; Zhang Jun [same translator's work]
[Book name] Turing programming Series
[Release news agency] People's post and telecommunications Publishing House [book no.] 9787115212047
[Shelving time]
[Publication date] May September 2009 [Opening] 16

[Edit recommendations]

Authoritative Development Guide recommended by the founder of Spring framework.
Reveal all the key technologies of the Spring framework ..
In-depth understanding of spring's Internal Working Mechanism

[Content Overview]
As the most powerful and widely used enterprise-level Java Development Framework, spring is applicable to various enterprise-level systems for its powerful adaptability and scalability. This book is written by senior spring development experts and covers the refining points and complex topics that spring developers need to understand. Based on Spring 2.5, which is currently the most widely used in enterprises, it not only comprehensively introduces the key technologies and modules of the spring development framework, it also introduces mainstream technologies such as Ajax, Web workflow, and dynamic language ..

This book is suitable for all Java developers, especially enterprise-level Java developers. It is an authoritative Development Guide provided by core Spring framework developers. It will bring you a wealth of knowledge and experience in designing and building efficient and scalable spring applications ....

[Directory information]
 
Part 1 Spring entry
Chapter 2 Introduction to spring 2
1.1 What is spring 2
1.1.1 features other than dependency injection 4
1.1.2 use spring for Aspect-Oriented Programming 4
1.1.3 Data Access 5
1.1.4 simplify and integrate Java ee 5
1.1.5 spring-based task scheduling 6
1.1.6 support for emails by spring 6
1.1.7 Dynamic Language 6
1.1.8 remote access 6
1.1.9 Transaction Management 7
1.1.10 spring MVC Framework 7
1.1.11 spring web flow 7
1.1.12 Ajax technology 7
1.1.13 internationalization 8
1.1.14 simplify Exception Handling 8
1.2 spring Project 8
1.2.1 origin of spring 8
1.2.2 spring. Net 8
1.2.3 spring ide 9
1.2.4 spring Security System (formerly acegi) 9
1.2.5 spring alternative solution 9
1.3 sample code 10
Conclusion 10 1.4
Chapter 2 spring entry 11
2.1 obtain the Spring framework 11
2.1.1 check out spring 11 from CVS
2.1.2 build spring 12 from source code
2.1.3 check spring release package 13
2.1.4 spring release package 13
2.1.5 spring dependent packages 14
2.1.6 example application 16
2.1.7 configure spring and IDE 18
2.2 helloworld example 20
2.3 spring version "Hello, world" example 23
2.3.1 dependency injection 24
2.3.2 spring intrusion 26
2.4 Summary 26
Chapter 2 control reversal 27
3.1 control reversal and dependency injection 27
3.2 type of control reversal 27
3.2.1 search for context dependencies 29
3.2.2 constructor dependency injection 30
3.2.3 set method dependency injection 31
3.2.4 dependency injection and dependency search 32
3.2.5 set method injection and constructor injection 33
3.3 control reversal in spring 34
3.4 spring-based dependency injection 34
3.4.1 bean and beanfactory 34
3.4.2 beanfactory implementation 35
3.4.3 XML bean definition 36
3.4.4 constructor injection 37
3.4.5 injection parameter 40
3.4.6 understand bean naming 50
3.4.7 bean instantiation mode 52
3.4.8 parsing dependency 55
3.4.9 automatic bean Assembly 57
3.4.10 dependency check 61
3.4.11 bean inheritance 62
3.5 summary 64
Chapter 2 advanced 66
4.1 Impact of spring on application portability 67
4.2 manage bean lifecycle 67
4.2.1 creation of embedded bean 68
4.2.2 destroy of embedded bean 74
4.3 make bean aware by spring 79
4.3.1 use beannameaware interface 80
4.3.2 Use beanfactoryaware interface 81
4.4 method injection 83
4.4.1 search method injection 83
4.4.2 method replacement 88
4.5 Use factorybean interface 91
4.5.1 messagedigestfactorybean class 91
4.5.2 directly access factorybean 94
4.6 beanfactorypostprocessor class 94
4.7 attribute modifier 101 For JavaBean
4.7.1 built-in propertyeditor 101
4.7.2 create a custom propertyeditor 104
4.8 beanpostprocessor class 108
4.8.1 implement a beanpostprocessor 110
4.8.2 select 114 for the instance using beanpostprocessor class
4.9 spring applicationcontext 115
4.9.1 implementation class 115 of applicationcontext
4.9.2 use applicationcontext-
Aware 116
4.9.3 control bean initialization 117
4.9.4 use annotation-based configuration 118
4.9.5 use messagesource
Internationalization 123
4.9.6 used in independent applications
Messagesource 130
4.9.7 messagesourceresolvable
Interface 130
4.9.8 use an Application Event 130
4.9.9 consideration of event usage 132
4.9.10 access resource 133
4.10 conclusion 134
Chapter 2 Spring AOP basics 5th
5.1 AOP concept 136
5.2 type of AOP 136
5.2.1 static AOP 137
5.2.2 dynamic AOP 137
5.2.3 select an AOP type 137
5.3 AOP 137 in spring
5.3.1 AOP Alliance 138
5.3.2 Hello World 138 of AOP
5.3.3 Spring AOP architecture 140
5.3.4 proxyfactory type 140
5.3.5 create notification 141 in spring
5.4 notify users and entry points in spring 155
5.4.1 pointcut interface 156
5.4.2 use composablepointcut 172
5.4.3 entry point conclusion 175
5.5 proxy explanation 176
5.5.1 understand proxy 176
5.5.2 use JDK dynamic proxy 176
5.5.3 use the cglib agent 177
5.5.4 Performance Comparison: 177
5.5.5 proxy 180
5.6 conclusion 180
Chapter 2 advanced AOP 6th
6.1 @ aspectj annotation 182
6.2 @ aspectj 186
6.2.1 start point 186
6.2.2 entry point expression 189
6.2.3 explore the entry point expression 191
6.2.4 use @ pointcuts 194 in XML
6.2.5 Notification Type 194
6.2.6 parameter binding 201
6.2.7 introduction 202
6.2.8 lifecycle 208
6.3 AOP framework service 209
6.3.1 use the AOP namespace to create the first aspect 209
6.3.2 start point 211 in the AOP namespace
6.3.3 create a notification using the AOP namespace 212
6.3.4 introduction of 217 in the AOP namespace
6.4 style selection 219
6.5 use Spring AOP proxy 220
6.6 aspectj integration 225
6.6.1 create the first aspectj aspect 225
6.6.2 compile sample program 227
6.6.3 aspectj scope 229
6.7 woven 230 during loading
6.7.1 sample 230
6.7.2 loadtimeweaver search policy 232
6.8 AOP practice 232
6.9 conclusion 235
Chapter 2 spring schema and namespace 7th
7.1 reason for new configuration 236
7.2 schema 2.5 contained in spring 238
7.2.1 beans schema 238
7.2.2 context schema 239
7.2.3 util schema 239
7.2.4 TX schema 242
7.2.5 AOP schema 242
7.2.6 Jee schema 242
7.2.7 Lang schema 243
7.3 behind schema 244
7.4 custom schema 246
7.5 ide configuration 249
7.6 Conclusion 252
Chapter 2 spring mode 8th
8.1 directory structure 253
8.1.1 simple application 253
8.1.2 complex application 255
8.1.3 package and name 255
8.2 introduction to design patterns 255
8.2.1 API-Oriented Programming 256
8.2.2 Creation Mode 256
8.2.3 schema 260
8.2.4 behavior mode 262
8.3 spring Application Mode 264
8.3.1 hierarchical design 265
8.3.2 high-performance paging 266
8.3.3 multiple error reports 268
8.3.4 User Interface transaction 271
8.3.5 background process 274
8.3.6 email 278
8.3.7 error collection and log 280
8.4 conclusion 283
Part 2 Data Access
Chapter 2 JDBC support by spring 9th
9.1 Main concepts of JDBC 286
9.1.1 use drivermanager and
Connection 288
9.1.2 use preparedstatement 289
9.1.3 use callablestatement class 292
9.1.4 other JDBC concepts 293
9.2 concepts supported by spring for data access 293
9.3 spring supports JDBC Data Access 294
9.4 use jdbctemplate class 294
9.4.1 execute of the jdbctemplate class
Method 296
9.4.2 query method of jdbctemplate class
And 299 extension of this method
9.4.3 jdbctemplat class update method 303
9.4.4 batchupdate of the jdbctemplate class
Method 304
9.5 rdbmsoperation subclass 305
9.5.1 sqlupdate subclass 306
9.5.2 sub-class of batchsqlupdate 311
9.5.3 sqlcall class and storedprocedure
Subclass 312
9.5.4 sqlquery class and its subclass 314
9.5.5 jdbctemplate class and rdbmsoperation
Class comparison 321
9.6 large binary object 321
9.7 jdbcdaosupport class 324
9.8 simple spring JDBC 326
9.8.1 simplejdbctemplate 326
9.8.2 simplejdbccall class 329
9.8.3 simplejdbcinsert 331
9.8.4 simplejdbcdaosupport 332
9.9 conclusion 333
Chapter 2 integration with ibatis 10th
10.1 ibatis summary 334
10.1.1 ibatis version 334
10.1.2 infrastructure and configuration 335
10.2 ing file 335
10.2.1 sqlmap 337
10.2.2 configure the ibatis and spring 339
10.3 query data 341
10.3.1 simple query 341
10.3.2 one-to-one query 344
10.3.3 one-to-multiple query operations 348
10.3.4 multi-to-Multi-query operations 350
10.4 update data 350
10.5 delete data 353
10.6 insert data 354
10.7 ibatis missing features 356
10.8 overall performance 357
10.9 conclusion 358
Chapter 2 spring support for hibernate 11th
11.1 getting started with hibernate 359
11.2 hibernate packaging 360
11.3 introduction to hibernate 361
11.3.1 use hibernate session 363
11.3.2 use hibernatedaosupport 366
11.3.3 hibernatetemplate and session
Select between 368
11.4 used in enterprise applications
Hibernate 372
11.4.1 prevent dirty data from being updated 372
11.4.2 object equivalence 375
11.4.3 transactions support 378
11.4.4 delayed loading 382
11.5 process large datasets 392
11.6 process large objects 394
11.7 use hibernate to process other Dao codes 397
11.8 conclusion 398
Part 3 Enterprise Application Components
Chapter 2 spring-based task scheduling 12th
12.1 Use JDK timer to schedule a task 401
12.1.1 timer trigger type 401
12.1.2 create a simple task 401
12.1.3 spring schedules JDK Timer
404
12.2 use opensymphony quartz for scheduling
Task 409
12.2.1 introduction to quartz 410
12.2.2 spring supports quartz 418
12.3 factors to consider during Task Scheduling 423
12.3.1 select a scheduler 423
12.3.2 remove the task logic 424 from the job class
12.3.3 task execution and thread pool 424
12.4 conclusion 428
Chapter 2 spring mail support 13th
13.1 spring mail API structure 430
13.2 send simple email 430
13.2.1 programmatically construct and send email 431
13.2.2 declarative construct email 433
13.3 construct and send mime message 436
13.3.1 send basic HTML message 438
13.3.2 send HTML message 439 with embedded Images
13.3.3 send message 441 with attachment
13.3.4 send HTML message 442 with replaceable plain text
13.3.5 send complex mime message 445
13.4 in-depth understanding of enterprise-level email processing 449
13.5 conclusion 458
Chapter 2 Dynamic Language 14th
14.1 overview of supported dynamic languages 459
14.1.1 beanshell 459
14.1.2 groovy 461
14.1.3 jruby 462
14.2 use dynamic language to define spring bean 463
14.2.1 465 behind the scenes of Dynamic Language Support
14.2.2 proxy Dynamic Language bean 466
14.2.3 performance 466
14.3 refresh Bean (refreshable bean) 468
14.4 beanshell-based bean 470
14.5 jruby-based bean 472
14.6 groovy-based bean 473
14.7 typical use of dynamic language in spring programs
Application 473
14.8 conclusion 477
Part 4 Java ee 5 Application Development
Chapter 2 spring Remote Access 15th
15.1 spring remoting architecture 481
15.2 remote method call 482
15.2.1 open any service 482
15.2.2 access RMI service 484 through proxy
15.2.3 open CORBA service 486
15.2.4 access to the CORBA service 488
15.3 web services with JAX-RPC 490
15.3.1 Apache axis introduction 490
15.3.2 use servletendpoint-
Support creating web service 490
15.3.3 use a proxy to access RPC-style Web Services 494
15.3.4 interaction with the axis Service's JavaBean 497
15.4 use JAX-WS Web Services 500
15.4.1 use simplejaxwsservice-
Exporter exposes Web Service 501
15.4.2 use xfire to publish Web Service 501
15.4.3 access JAX-WS Web Services 503
15.4.4 access Java Web Service 504 from other clients
15.5 use HTTP invoker to create Web Service 507
15.5.1 development of simple services 508
15.5.2 access HTTP invoker service 510 through proxy
15.5.3 use any object in HTTP invoker 511
15.5.4 use HTTP Basic Authentication 513
15.6 remote architecture selection 516
15.7 conclusion 517
Chapter 4 Transaction Management 16th
16.1 introduction to Spring transaction abstraction layer 518
16.2 analyze transaction attributes 519
16.2.1 exploring the transactiondefinition API 519
16.2.2 use the transactionstatus interface 520
16.2.3 Implementation of platformtransactionmanager 521
16.3 exploring a transaction management example 521
16.4 programmatic Transaction Management 529
16.4.1 use transactiontemplate class 531
16.4.2 programming Transaction Management Summary 532
16.5 declarative Transaction Management 532
16.5.1 use transactionproxy-
Factorybean 532
16.5.2 meaning of using proxies in transaction management 534
16.6 AOP Transaction Management 535
16.6.1 use annotation-based AOP Transaction Management 535
16.6.2 use xml aop for transaction management 537
16.6.3 TX: Advice label introduction 538
16.6.4 xml aop summary 539
16.7 use transactions on multiple transactional resources 540
16.8 synchronize your own transactions 541
16.9 conclusion 548
Chapter 2 web applications based on Spring MVC
Development 549
17.1 MVC Architecture 549
17.2 introduction to spring MVC 550
17.3 use processor ing 551
17.4 spring controller 553
17.4.1 abstractcontroller category 554
17.4.2 parameterizableview-
Controller 555
17.4.3 multiactioncontroller category 555
17.5 interceptor 558
17.6 view, localization, and topic 559
17.6.1 use view 559 programmatically
17.6.2 use view parser 561
17.6.3 use localized message 565
17.6.4 use locale 565
17.6.5 topic 565
17.7 Command Controller 567
17.7.1 use form controller 568
17.7.2 explore abstractwizardform-
Controller 574
17.7.3 File Upload 578
17.8 handle exceptions 581
17.9 spring and other Web technologies 583
17.9.1 use JSP 583
17.9.2 use velocity 600
17.9.3 freemarker 604
17.9.4 use XSLT view 608
17.9.5 use PDF view 609
17.9.6 PDF view 610
17.9.7 use Excel 611
17.9.8 use tiles 613
17.9.9 jasperreports Report Engine 623
17.10 Spring Convention is better than configuration 627
17.10.1 controller Convention 628
17.10.2 multiactioncontroller
Agreed 628
17.10.3 Model Convention 629
17.10.4 view conventions 630
17.11 use annotations to configure controller 631
17.11.1 @ controller annotation 631
17.11.2 @ requestmapping annotation 632
17.11.3 @ requestparam annotation 633
17.11.4 @ modelattribute annotation 633
17.11.5 use annotations to configure Command Controller 634
17.12 conclusion 635
Chapter 2 spring web flow 18th
18.1 Introduction to spring web flow 637
18.1.1 core concepts 637
18.1.2 obtain spring web flow 640
18.1.3 spring web flow depends on 642
18.2 hello, Web flow! 642
18.3 exploration status 646
18.3.1 view status 647
18.3.2 demo-status 647
18.3.3 end 648
18.4 process conversion 648
18.5 Advanced Concepts 650
18.5.1 Expression Language and range: 650
18.5.2 implement action 653
18.5.3 model data binding 654
18.5.4 partial view refreshing 658
18.5.5 Input and Output Parameters of the ing stream 658
18.5.6 use sub-stream 659
18.6 behind-the-scenes spring web flow 660
18.6.1 stream execution architecture 660
18.6.2 streaming performer 662
18.6.3 stream definition registry 662
18.6.4 stream execution repository 665
18.7 integrate Spring MVC 666
18.7.1 stream processing 666
18.7.2 view parsing 667
18.8 use spring security to build a secure stream 668
18.8.1 Step 1: Add securityflow-
Executionlistener 668
18.8.2 Step 2: process basic authentication and authorization 668
18.8.3 Step 3: define the security rule 670 in the stream Definition
18.9 Problem Solving 672
18.9.1 status-based navigation control 672
18.9.2 support for browser navigation bar and double submit 672
18.10 test flow definition 673
18.11 conclusion 674
Chapter 2 spring and Ajax 19th
19.1 DWR 675
19.2 install DWR 676
19.3 spring configuration for DWR 676
19.4 complete example 677
19.5 test DWR configuration 682
19.6 complete running example 682
19.7 DWR script basics 683
19.7.1 use simple callback function 683
19.7.2 call metadata object 684
19.8 engine. js file 684
19.8.1 call batch processing 684
19.8.2 Call Sequence 684
19.8.3 handle errors and warnings 684
19.9 util. js script 685
19.10 DWR Security 685
19.11 Advantages and Disadvantages of DWR 686
19.12 conclusion 687
Chapter 4 Use spring JMX 20th
20.1 JMX advanced 688
20.2 open Java Bean 689
Ipv2.1 mbeanexporter class 689
Ipv2.2 mbeanserver factorybean class 691
Expose 2.3 open bean 692 on an existing mbean Server
Ipv2.4 bean registration 692
20.3 control object name 693
20.4 control management interface 693
20174.1 mbeaninfoassembler interface 693
Ipv4.2 methodnamebasedmbean-
Infocycler API 694
696 use Java interfaces to control management interfaces
Ipv4.4 use source code-level metadata 698
20.5 Remote use of spring JMX 701
Ipv5.1 Open remote mbean 701
Ipv5.2 access remote mbean 702
Ipv5.3 proxy mbean 702
20.6 spring JMX notification 703
20176.1 notification listener 703
Release notice 704
20.7 conclusion 708
Chapter 5 test with spring 21st
21.1 Conduct Unit Tests 709
21.2 unit test 711
21.3 integration test 715
21.3.1 use abstractspring-
Contexttest722
21.3.2 use abstractdependency-
Injectionspringcontext-
Tests 723
21.3.3 use abstracttransac-
Tionalspringcontexttest 726
21.3.4 use abstractannotation-
Awaretransactionaltest 728
21.3.5 JNDI 731
21.4 spring testcontext framework 733
21.4.1 application context and usage
Testcontext framework
Dependency injection 733
21.4.2 use testcontext framework for dependency injection 735
21.4.3 transactions in testcontext framework 736
21.4.4 Support class 738
21.5 testing coverage: 740
21.6 conclusion 740
Chapter 2 spring performance tuning 22nd
22.1 performance and response 741
22.2 explore performance issues of enterprise applications 741
22.3 measure the performance of Java EE applications 742
22.3.1 measurement target 742
22.3.2 determine the required dataset 747
22.3.3 improve data access layer 748
22.3.4 improve transaction management by 757
22.3.5 control the remote call performance by 758
22.3.6 view performance 758
22.4 use cache 759
22.5 Performance Testing 760
22.6 monitor application status and performance 762
22.7 more performance tuning resources 764
22.8 conclusion 764

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.