Category Archives: J2EE

re: JSR-223 Rant

Matt wrote that he thinks that with JSR-223 “… Sun ignored an excellent existing scripting framework for Java (Jython) and opted to reinvent the wheel with Zend using PHP.”

Maybe someone can explain to me how JSR-223 is all about PHP… AFAIK, Sun did mention PHP as one of the scripting languages that could be used, but I seriously doubt that it will be the only one. Take a look at the Expert Group: Macromedia, Apple, Oracle, Zend, etc… Macromedia ColdFusion MX (and previous versions) can *already* use Java objects, the presentation I went to at JavaOne given by a guy from Zend noted that while PHP 4 and 5 can access Java objects, in his words “… it’s not scalable.” Is there something I’m missing?

util.concurrent

Haven’t seen this mentioned on the various JavaOne blogs, one of the more interesting things to come out of J2SE 1.5 (Tiger) is going to be the ‘util.concurrent‘ package that Doug Lea has been working on. I attended an excellent excellent session yesterday entitled “Writing a Scalable Server“. The presenter used (I think) some of the ideas from Doug Lea’s software, including such things as “selectors” and “pooled executors”. The result of the discussion was that Mark Reinhold was able to closely mimic the performance of an Apache web server using a server he wrote in Java, albeit with some additional memory usage.

Doug Lea is here, although I missed his session on Monday. Bummed about that.

Scripting Pages in JavaTM Web Applications

Wow! So much interesting stuff going on… One of Sun’s focuses for this week is ‘ease of development’. They think that the biggest market for developers in the coming years will be the so-called ‘corporate developer’. Along those lines, Tim Oreilly got up this morning and talked a bit about JSR 223: Scripting Pages in JavaTM Web Applications , which will enable developers who use scripting languages like Perl, PHP, and Python to use Java classes.

I don’t have any net access in the hotel, so I’ll have to brain dump in a couple days…

Sharing session data between ColdFusion and J2EE components

Informative article on developerWorks titled Together at last: Sharing session data between ColdFusion and J2EE components. After you read that article, read my notes on creating session listeners for CFMX. I show you how to capture CFMX sessionOnStart and sessionOnEnd events using servlet listeners.

I little birdie told me that sessionOnEnd and sessionOnStart events were coming in Red Sky, but I’m not in the beta program so I wouldn’t know…