那么,您如何以互操作的方式交换对象集合呢?
So how do you exchange collections of objects in an interoperable fashion?
理论上来说,IEnumerable接口可对集合添加对象,但是由于它的阻塞性所以不能在异步操作中进行。
Theoretically, the IEnumerable interface could be used to add objects to a collection, but it can't be used in asynchronous operations because it blocks.
该托管bean公开一个高尔夫课程对象集合,然后对管理这些实例的操作做出响应。
This managed bean exposes a collection of golf course objects and then responds to actions for managing those instances.
And then to create the object, I'll simply do a set of inserts.
我将此返回做为我的集合,然后创建对象,我会一系统简单的插入操作。
应用推荐