Skip to main content

Pat Niemeyer

Pat Niemeyer (pat@pat.net) is the author of the books Learning Java and Exploring Java, O'Reilly & Associates and the creator of the BeanShell Java Scripting Language. Pat is an independent consultant in the areas of networking and distributed applications and is currently working on enterprise systems in the financial industry. Pat lives in St. Louis, where he spends much of his time and keeps all of his stuff.

 

pat's blog

JSR-274 - Standardizing BeanShell

Posted by pat on May 25, 2005 at 9:05 AM PDT

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....

Posted by pat on February 11, 2005 at 12:11 AM PST

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...

Posted by pat on October 24, 2004 at 1:18 AM PDT

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.