方法,如aggregate
on scala. Collection.parallel.immutable.ParIterableLike
。 使用透镜进行加工。
这是否意味着,如果把我的Schala法典从EJB中召回,那么我就应该使用平行的收集方法,因为在EJB里,你自己做的穿透是非法的?
如果是非法的话,是否计划使用EJB3.1@Asynchronous
的友好版本?
另见:。
方法,如aggregate
on scala. Collection.parallel.immutable.ParIterableLike
。 使用透镜进行加工。
这是否意味着,如果把我的Schala法典从EJB中召回,那么我就应该使用平行的收集方法,因为在EJB里,你自己做的穿透是非法的?
如果是非法的话,是否计划使用EJB3.1@Asynchronous
的友好版本?
另见:。
其“非法”是指它不建议,而不是因为不能这样做。 之所以没有建议,是因为EJB集装箱负责开端/停用/绕过透镜。 如果你们的祖先开始read,让你无限期地跑,你肯定会陷入困境。 但是,如果您的啤酒开始穿透(例如使用 par收集作业),在你服完 par之前不会返回集装箱,那么你可能会被罚款。
见http://java.sun.com/blueprints/qanda/ejb_tier/restrictions.html#threads”rel=“nofollow”http://java.sun.com/blueprints/qanda/ejb_tier/restrictions.html#threads。
I am currently developing a J2EE application and I would like to use Jetty. I would like to have iot integrated with Eclipse, so I could debug the appliaction. I ve tried out couple of plugins (...
we need run one function periodically in Java web application . How to call function of some class periodically ? Is there any way that call function when some event occured like high load in server ...
I would have thought that there is a lot of information out there on this, but I haven t found anything that really answers my question. What are the advantages of making an EJB rather than a web ...
I m designing a fairly small web application which will run on a Sun application server (v9.1). It only has a few pages, no database of its own, and will retrieve/update data via web services. There s ...
I got the impression that if we use persistent fields, there is no need for getter methods since the entity manager references the instance variables directly. However, when I removed the getter and ...
I have a very simple Java application which downloads a set of foreign exchanges rates from Yahoo! finance and performs some calculations on them. I am currently running this application in Eclipse. I ...
What s up with JNDI names? I m trying to get a javax.sql.DataSource using the new annotations feature of Java 5. It s not working for me, so I want to ask... I have a in my web.xml, inside of it is ...
I wrote a Hibernate interceptor : public class MyInterceptor extends EmptyInterceptor { private boolean isCanal=false; public boolean onSave(Object entity, Serializable arg1, Object[] arg2, String[]...