It's at a fairly early stage in the market, but we see considerable interest. (9:31) Bruno Schaeffer, CTO of Canoo, talks about the good and bad of AJAX hype. You can write a block of code that describes the Comparator right in the sort invocation. The effects can be nothing short of hair-raising. Bill Venners: So that narrows it down a little bit the existing APIs that will be able to be called with closures. You can, of course, ask the container to create a prototype for you on the fly. I don't really have in my mind all of what that looks like, but I hope to get Doug Lea involved early, before I actually put out a prototype or a compiler that does closures. So easy, in fact, that in some cases clustering with Terracotta is transparent, requiring no code changes to an application. But if we did that, we would end up with a very complicated language. Neal Gafter: It has to be an interface, and an interface with one method in it. In some cases it's completely drop-in and requires zero code, in some cases you have to re-design parts of your application, but in all cases you don't have to go through a whole-sale redesign. Many things are possible, and theory is good, but practice is even better. (9:47) Bruno Souza, NetBeans Community Manager at Sun, talks about what's new with NetBeans. Neal Gafter: It has to be an interface, and an interface with one method in it. So, we're reduced to providing advice. No, I don't, so I set a new session up. Creators of dynamic language engines are in the business of taking, say, Ruby code and turning that into Java bytecode. Novice Swing developers, however, find the lack of guidance and support in these areas intimidating or frustrating. For example, if I were developing a Web application and wanted to resolve a particular object from the HTTP session, I could be doing a lookup in the session. Others end up with an independent life of their own. It's really mainly suitable for the ones that have a single method. It can see that you're calling Integer. That's why you use a generic type parameter. If something strikes a chord with you, whether harmonic or dissonant, we encourage you to post in the discussion forum. 0, we add the notion of custom scope. I don't think closures increase the level of difficulty of understanding code that uses an unfamiliar API at all compared to the situation we're in today. He led the Jini Community's ServiceUI project, whose ServiceUI API became the de facto standard way to associate user interfaces to Jini services. People have been using dynamic languages to glue those parts of a larger [Java] application together that need to evolve quickly. That is where some of the new scoping features in Spring 2. If you use a good IDE, you can hover over the method name, and it will point you to the JavaDoc. It will probably be someone at Sun Microsystems, and closures would be included in that, I hope, as a candidate for JDK 7. Share your opinion Have an opinion about the closures proposal? (4:02) Nati Shalom, CTO of Gigaspaces, discusses how to design applications for scalability. Neal Gafter: The set of exceptions that are thrown by a closure are part of the type of the closure. Exception Transparency Bill Venners: Tell me about exception transparency. Other than documenting the deployment options and offering some recommendations and providing some explicit support for application session state, JSR 296 doesn't address this problem directly.
[Non-text portions of this message have been removed] Apa yang dicari mungkin ada di sini: http://www.giantproduct.com dan http://www.bukusiber.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/Ibadat/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/Ibadat/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
