> > > i personally would like to use util.concurrent.Future > (java.util.concurrent.Future in JDK5 backported to JDK 1.4 > http://www.mathcs.emory.edu/dcl/util/backport-util-concurrent/) in API > to denote delayed result such as async response message in MEP > http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/Future.html > that is used for example in JBoss (though i think that API is overly > complex mix of homegrown async and EJB): > http://docs.jboss.org/ejb3/tutorial/asynch/asynch.html
I looked into the use of Future recently in JDK5, but I didn't know that it was backported. �I think it would be wise to at least look into for the async capabilities. > it is still better than dealing with callbacks IMHO: > http://www.onjava.com/pub/a/onjava/2005/02/23/remoting.html > > and then there are some other interesting ideas mostly around metadata > annotations like this one: > http://jroller.com/page/talipozturk/20050117#asynchronous_methods_in_java Has anyone done research into the potential projects that may offer code annotations in JDK 1.4? �I think this will have some importance as we attempt to simplify the programming model. �I know of Apache Attributes.
