这种划分既可以经由事务模板(TransactionTemplate)用编程的方式实现,也可以经由面向方面(AOP)事务拦截器(TransactionTemplate)用声明的方式实现。
基于32个网页-相关网页
每个事务流是以加权方式从一系列事务模板中随机选择的一系列事务。
Each stream is a weighted random sequence of transactions that are picked from a list of transaction templates.
我们讨论了如何使用模板继承来向servlet代码透明的添加行为(比如启动和提交全局事务)。
We discussed how template inheritance can be used to add behaviors (like starting and committing a global transaction) transparently to the servlet code.
—— Yehuda Katz(又是他!) 告诉我们如何创建聪明的“通用Action”处理一般事务,比如routes文件定义的重定向和渲染通用模板。
Yehuda Katz (again!) shows us how to create clever "generic actions" to do things like redirections direct from the routes file and generic template rendering.
应用推荐