In our case, Application Developer added a new attribute named address_address_id to the Customer EJB.
在我们的实例中,ApplicationDeveloper在Customer EJB中添加了一个名为address_address_id的新属性。
The EAB session EJB ACTS as facade for operations that create a new customer record, or update, retrieve, or delete an existing record.
eab会话ejb充当用于创建新的客户记录或更新、检索或删除已有记录等操作的虚包。
If you want to run the EJB at this point (you'll need to stop and start the server) and retrieve the customer data, you will need to execute the methods in this sequence.
如果您此时想要运行该EJB(您将需要停止并重新启动服务器)并且检索顾客数据,您将需要按照这样的顺序执行方法。
Figures 19 and 20 show an example of the EJB test where we entered 1 for the customer number and received Daniel as the first name.
图19和20展示了一个EJB测试的示例,其中,我们输入1作为顾客编号,并且接收Daniel作为第一个名称。
Create variables for each of the customer data items you will need to pass to the EJB when invoking the getCustomerInfo method, like customerNumber, name, lastName, adress1, city, etc.
为调用 getCustomerInfo方法时您将需要传递到EJB中的每个顾客数据项创建变量,比如 customerNumber、name、lastName、adress1、city等等。
To make the application work, simply configure the data source reference of Customer BMP EJB with the REPEATABLE_READ transaction isolation level.
要让应用程序工作,只需用REPEATABLE_READ事务隔离级别来配置CustomerBMPEJB的数据源引用。
To make the application work, simply configure the data source reference of Customer BMP EJB with the REPEATABLE_READ transaction isolation level.
要让应用程序工作,只需用REPEATABLE_READ事务隔离级别来配置CustomerBMPEJB的数据源引用。
应用推荐