| 1. | Make the business method to throw a runtime exception 使业务方法抛出运行时的异常 |
| 2. | Use setrollbackonly in the business method 使用业务方法中的setrollbackonly ( ) |
| 3. | First , you need to write an interface that defines all of your business methods 首先,需要编写一个定义所有业务方法的接口。 |
| 4. | Tag , which the wsdl generator will use when generating the wsdl file 标记来标记web业务方法,当创建wsdl文件时wsdl generator将使用。 |
| 5. | If the business method returns no value such as when the business object method returns 如果业务方法不返回值(例如当该业务对象方法返回 |
| 6. | And deploy it using container - managed transactions and a transactional attribute of 中的ejb ,并用容器托管的事务部署它,将业务方法的事务属性设定为 |
| 7. | Interface , you actually don t need to add any new methods to the remote interface 接口中定义了所有的业务方法,所以实际上不必将任何新方法添加到远程接口。 |
| 8. | A session facade ejb business methods call more than one dao to save on more than one table 会话外观ejb业务方法调用了一个以上的dao来将其保存在一张以上的表中。 |
| 9. | Create a java class defining the web service with public business methods that become the web service operations 创建java类,用来定义使用公共业务方法的web服务,这些方法会成为web服务操作。 |
| 10. | With the sample code associated with this article , and it contains two business methods that have been exposed via the ejb s remote interface 与本文相关的范例代码,它包含了两个通过ejb远程接口公开的业务方法。 |