Note: The necessary exception handling logic has been excluded for clarity in most of the code examples in this article.
注释: 必要的异常处理逻辑已经排除在这篇文章中的大多数样例代码,这主要是为了代码更清晰。
Note that exception handling and business logic have been simplified for the sake of brevity.
请注意,出于简便的原因,例外处理和业务逻辑已经做了简化处理。
Listing 2 is a sample of how a business method can be implemented in case of a bean-managed transaction (note that exceptions handling is omitted for simplicity)?
清单2示例展示了业务方法在bean管理事务的情况下是如何实现的(注意,为简化起见省略了异常处理)?
应用推荐