pat's blog
JSR-274 - Standardizing BeanShell
I'm very happy to announce that the JCP has begun voting on a JSR to standardize the BeanShell scripting language through the Java
Community Process.
The goal of this JSR will be to formalize the langauge and provide the RI and
TCK which will allow it to be included in a future release of the J2SE.
The new javax.script API....
A few days ago the JCP cranked out a public review of JSR-223, which has so far been received with a few blog notes and relatively little discussion. This is not surprising, given that if you you read the JCP description for this group it appears to have something to do with getting PHP pages into WAR files. (Useful, not very exciting). But I'm going to let you in on a little secret.
Stupid Scanner tricks...
One of the things I've always wanted in Java is a "one liner" trick to read all of the text from a stream. For example, I often want to be able to grab the contents of a URL or file as a simple String, without a lot of typing. The URL class tantalizingly holds out its getContent() method, but sadly, content handlers were never really taken seriously.





