`
sakakokiya
  • 浏览: 488350 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

Spring Transactions

阅读更多
General Transaction Managers
  • Recognize various kinds of the transaction managers.
  • Demonstrate how to wire them with their dependencies in the configuration file.
  • Know that JtaTransactionManager allows to use distributed transactions.
Programmatic transactions
  • Demonstrate how to use TransactionTemplate together with the transaction callback.
  • Show how to wire transaction manager to TransactionTemplate.
  • Provide examples of how to use transaction manager directly in the code.
  • Recognize various callback interfaces.
  • Explain the purpose and direct usage of the TransactionStatus class.
Declarative transactions
  • Understand that Spring uses AOP in order to provide declarative transactions.
  • Provide examples of the proper wiring configuration of the TransactionProxyFactoryBean.
  • Use autoproxying features of the Spring AOP API in order to remove boilerplate configuration code.
  • Demonstrate how to make all or only some of the methods of the bean transaction-aware.
  • Identify how to configure Spring declarative transactions using annotations and xsd configuration.
Configuring transactions
  • Recognize and describe four main attributes of each Spring transaction:
    • Propagation
    • Isolation
    • Read-only setting
    • Timeout
  • Show how to create transaction with the default attributes' values.
  • Configure each attribute of the declarative transactions using various techniques (by direct configuration of the TransactionProxyFactoryBean in the wiring file, via implementations of TransactionAttributeSource, annotations and so forth).
  • Configure transactions directly using programmatic transactions.
  • Know that Spring rollbacks unchecked exceptions by default - describe how to change that behavior.
分享到:
评论

相关推荐

    Distributed transactions in Spring, with and without XA

    Distributed transactions in Spring, with and without XA

    Spring Recipes: A Problem-Solution Approach, Second Edition

    * Spring enterprise: Spring Java EE integration, Spring Integration, Spring Batch, jBPM with Spring, Spring Remoting, messaging, transactions, scaling using Terracotta and GridGrain, and more. ...

    Spring 5 Recipes, 4th Edition

    Other recipes include Spring enterprise solutions for topics such as Spring Java EE integration, Spring Integration, Spring Batch, Spring Remoting, messaging, transactions, and working with big data ...

    Pivotal Certified Spring Enterprise Integration Specialist Exam(Apress,2015)

    Exam topics covered include tasks and scheduling, remoting, the Spring Web Services framework, RESTful services with Spring MVC, the Spring JMS module, JMS and JTA transactions with Spring, batch ...

    spring framework4

    Data Access: transactions, DAO support, JDBC, ORM, Marshalling XML. Spring MVC and Spring WebFlux web frameworks Integration: remoting, JMS, JCA, JMX, email, tasks, scheduling, cache. Languages: ...

    spring.net中文手册在线版

    Declarative Transactions using ProxyFactoryObject 14.6. 编程方式的事务管理 14.6.1.使用TransactionTemplate 14.6.2.使用IPlatformTransactionManager 14.7.选择编程方式还是声明方式 第十五章. 数据访问对象 ...

    Spring.Persistence.with.Hibernate.2nd.Edition.1484202694

    How to work with Spring JDBC, use declarative transactions with Spring, and reap the benefits of a lightweight persistence strategy How to work with Hibernate and integrate it into your Spring-based ...

    Pro Spring 5 第五版 英文原版

    Covering version 5 of the Spring Framework, this book is the most ...experiences with enterprise application development, including remoting, transactions, the web and presentation tiers, and much more.

    Pivotal Certified Professional Spring Developer Exam(Apress,2016)

    Passing the exam demonstrates your understanding of Spring and validates your familiarity with: container-basics, aspect oriented programming (AOP), data access and transactions, Spring Security, ...

    sql2o-spring-transactions-demo:使用 sql2o fork 设置 Spring 事务示例

    sql2o-spring-transactions-demo 使用 sql2o fork 设置 Spring 事务示例: :

    spring-boot-reference.pdf

    37. Distributed Transactions with JTA 37.1. Using an Atomikos Transaction Manager 37.2. Using a Bitronix Transaction Manager 37.3. Using a Narayana Transaction Manager 37.4. Using a Java EE Managed ...

    Spring Recipes A Problem-Solution Approach, 3rd Edition

    Spring enterprise: Spring Java EE integration, Spring Integration, Spring Batch, Spring Remoting, messaging, transactions, and working with big data and the cloud using Hadoop and MongoDB. Spring web...

    Spring认证考试流程

    Spring Certified Professional 2022 ...Transactions (8%) Security (6%) MVC (8%) REST (6%) JPA Spring Data (4%) Testing (4%) Boot Into (8%) Boot Autoconfig (8%) Boot Actuator (8%) Boot Testing (8%)

    Pro Spring 5 An In-Depth Guide -Apress(2017)

    experiences with enterprise application development, including remoting, transactions, the web and presentation tiers, and much more. With Pro Spring 5, you’ll learn how to do the following: • Use ...

    Pro Spring 5, 5th Edition

    Beyond the basics, you'll learn how to leverage the Spring Framework to build the various tiers and parts of an enterprise Java application: transactions, web and presentation tiers, deployment, and ...

    Pro Spring 5(Apress,5ed,2017).pdf

    Beyond the basics, you’ll learn how to leverage the Spring Framework to build the various tiers and parts of an enterprise Java application: transactions, web and presentation tiers, deployment, and...

    Apress.Spring.5.Recipes.A.Problem-Solution.Approach.4th.Edition

    Other recipes include Spring enterprise solutions for topics such as Spring Java EE integration, Spring Integration, Spring Batch, Spring Remoting, messaging, transactions, and working with big data ...

    Persistence with Spring

    Persistence with Spring 1. hibernate 3, 4 2. jpa 3. transactions

    Struts2.0+Springframework2.5+ibatis2.3完美整合用户登录及增删改查

    BEA系统宣布了他们在一个名为Pitchfork的项目上与Interface21的合作,该项目提供了基于Spring的Java EE 5编程模型的实现,包括支持用于注入(injection)、拦截( interception)和事务处理(transactions)的JSR-...

    Spring2.5的新特性

    BEA系统宣布了他们在一个名为Pitchfork的项目上与Interface21的合作,该项目提供了基于Spring的Java EE 5编程模型的实现,包括支持用于注入(injection)、拦截( interception)和事务处理(transactions)的JSR-...

Global site tag (gtag.js) - Google Analytics