Java EE Internet Lightweight Framework Integrated Development-SSM Framework (Chinese version with bookmarks), original book Code

Source: Internet
Author: User
Tags aop reflection java web

Java EE Internet Lightweight Framework integrated development

Part 1th Introduction and Technical basics

1th. Understanding the SSM framework and Redis 2

1.1 Spring Frame 2

1.2 MyBatis Introduction 6

1.3 Spring MVC Introduction 11

1.4 Most Popular Nosql--redis 12

1.5 Ssm+redis structural block Diagram and overview 13

2nd Java Design Pattern 15

2.1 Java Reflection Technology 15

2.2 Dynamic proxy mode and responsibility chain mode 19

2.3 Observer (Observer) mode 30

2.4 Factory mode and abstract Factory mode 35

2.5 Builders (builder) mode 38

2.6 Summary 41

Part 2nd Internet Durable Framework--mybatis

3rd. Understanding MyBatis Core Components 44

3.1 Concept of persistence layer and characteristics of MyBatis 44

3.2 Preparing the MyBatis environment 45

3.3 Core components of MyBatis 46

3.4 Sqlsessionfactory (Factory interface) 47

3.5 sqlsession 50

3.6 Mapper 51

3.7 Life Cycle 55

3.8 Example 57

4th Chapter MyBatis Configuration 63

4.1 Overview 63

4.2 Properties 64

4.3 Settings Settings 66

4.4 Typealiases Alias 69

4.5 Typehandler Type Converter 72

4.6 Objectfactory (object factory) 87

4.7 Plug-in 89

4.8 Environments (operating environment) 89

4.9 Databaseidprovider Database Vendor ID 95

4.10 Method of Introducing Mapper 99

5th Mapper 102

5.1 Overview 102

5.2 Select Element--query Statement 103

5.3 Insert Element--inserting statement 112

5.4 Update element and delete element 114

5.5 SQL Element 115

5.6 Parameter 116

5.7 Resultmap Element 118

5.8 Cascade 120

5.9 Cache 143

5.10 Stored Procedures 149

The 6th Chapter Dynamic SQL 155

6.1 Overview 155

6.2 If Element 156

6.3 Choose, when, otherwise element 156

6.4 Trim, where, set element 157

6.5 foreach Element 159

6.6 Using the properties of test to determine the string 159

6.7 Bind element 160

7th Chapter Analysis and Operation Principle of MyBatis 162

7.1 Building the Sqlsessionfactory process 163

7.2 Sqlsession Operating Procedure 168

8th Chapter Plug-in 181

8.1 Plug-in interface 181

8.2 Initialization of the plugin 182

8.3 Plug-in proxy and reflection design 183

8.4 Common tool Classes--metaobject 186

8.5 plug-in development process and example 187

8.6 Summary 205

Part 3rd Spring Foundation

Chapter 9th concept of Spring IOC 208

9.1 Overview of Spring 208

9.2 Spring IOC Overview 210

9.3 Spring IOC Container 215

9.4 Summary 223

10th Assembly Spring Bean 224

10.1 3 ways to rely on injection 224

10.2 Assembly Bean Overview 227

10.3 Configuring assembly Beans with XML 228

10.4 Assembling beans with annotations 235

10.5 Mixed use of assembly 246

10.6 Using Profile 249

10.7 Load Properties File 254

10.8-piece Assembly Bean 258

Scope of the 10.9 bean 259

10.10 Using the spring expression (Spring EL) 261

11th section-Oriented Programming 267

11.1 A simple Convention game 267

11.2 Basic concepts of Spring AOP 274

11.3 Developing spring AOP 280 using @aspectj annotations

11.4 Developing spring AOP with XML configuration 293

11.5 Classic Spring AOP Application 299

More than 11.6 facets 301

11.7 Summary 306

Chapter 12th Spring and database programming 307

12.1 Disadvantages of the traditional JDBC code 307

12.2 Configuring Database Resources 309

12.3 JDBC code out of control solution--jdbctemplate 311

12.4 mybatis-spring Project 317

13th. Deep Spring Database Transaction Management 330

13.1 Spring database transaction manager Design 331

13.2 Programmatic Transactions 336

13.3 Declarative Transactions 337

13.4 Knowledge about Databases 343

13.5 Select isolation level and propagation behavior 347

13.6 using transactions in the Spring+mybatis combination 350

13.7 @Transactional Self-invocation failure problem 358

13.8 Anatomy of a typical error usage 363

Part 4th Spring MVC Framework

14th. Spring MVC initialization and Flow 370

14.1 MVC Design Overview 370

14.2 Spring MVC Initialization 378

14.3 Spring MVC Development process detailed 389

15th. In-depth spring MVC component Development 399

15.1 controller receives various request parameters 399

15.2 redirect 409

15.3 Save and get property parameters 412

15.4 Interceptors 417

15.5 Verifying the form 424

15.6 Data Model 432

15.7 View and view resolver 434

15.8 Uploading Files 441

16th Spring MVC Advanced Application 449

16.1 Spring MVC Data Conversion and formatting 449

16.2 Adding notifications to controllers 466

16.3 Handling Exceptions 470

16.4 Internationalization 471

Part 5th Redis Application

17th Redis Overview 480

17.1 Redis application in the Java Web 481

17.2 Redis Basic installation and use 483

17.3 Redis's Java API 486

17.4 Introduction to the 6 data types of Redis 494

17.5 the similarities and differences between Redis and database 495

18th. REDIS data Structure common commands 496

18.1 REDIS Data Structure--string 497

18.2 REDIS data Structure--hash 502

18.3 REDIS Data Structure-list (linked-list) 506

18.4 REDIS Data Structure--collection 513

18.5 REDIS Data Structure--ordered collection 516

18.6 Radix--hyperloglog 522

19th. Some common techniques of Redis 525

19.1 Basic services for Redis 526

19.2 Explore REDIS Transaction rollback 528

19.3 using the watch command to monitor transactions 529

19.4 assembly line (pipelined) 532

19.5 Publish a subscription 534

19.6 Timeout Command 538

19.7 using the LUA language 540

19.8 Summary 547

20th Redis Configuration 548

20.1 Redis Basic Configuration file 548

20.2 Redis Backup (persistent) 549

20.3 Redis Memory recovery policy 552

20.4 Replication 553

20.5 Sentinel (Sentinel) mode 556

21st Chapter Spring Caching mechanism and redis combination 565

21.1 Redis and database combination 565

21.2 using the spring caching mechanism to integrate REDIS 568

Example of 21.3 redistemplate 582

Part 6th SSM Framework +redis Practical application

The 22nd chapter High concurrent Business 586

22.1 Basic analysis of application architectures for interconnected systems 586

22.2 analysis and design of high concurrency systems 588

22.3 build the development environment and super-hair phenomenon of the red envelopes 595

22.4 Pessimistic lock 611

22.5 optimistic lock 614

22.6 using Redis for red envelopes 621

22.7 advantages and disadvantages of various methods 631

Appendix A database table model 633

Appendix B dispatcherservlet Process Source code Analysis 637

Appendix C jstl Common label 648

Appendix D Spring Data Redis project Analysis 660

: Https://pan.baidu.com/s/1Y6JMnAeo1RVcrAvsX0XqWA

Follow the public number get extract code:

Input: Jav2 Get Extract Code

Java EE Internet Lightweight Framework Integrated Development-SSM Framework (Chinese version with bookmarks), original book Code

Related Article

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.