Search |
||
PleasePosted by editor on July 3, 2008 at 6:11 AM PDT
Can we have a competent filesystem API in Java 7? Take a look at Bug 4032604: Copy method in class java.io.File, filed in February, 1997. It's pretty self-explanatory: provide a one-line method call to copy files. Now look at the typically smug and dismissive evaluation: it's easy enough to do yourself (that's right, Sun wants everyone writing the same boiler-plate file copy implementation over and over again), and it's behavior would vary across platform (so does the DIY version: based on the host OS, the copied file loses ownership and permissions metadata, TYPE/CREA and resource fork on the classic Mac OS, etc.).
Not for nothing have a lot of us hated -- I mean really hated -- So it's a fascinating coincidence that Elliotte and I should happen to come together on this point nearly a decade later. As part of his continuing series, The Open Road, which looks at features tracking for likely inclusion in Java 7, he's investigating JSR 203, which could drag Java's filesystem support into the modern era:
Will we get a copy method? Will we like it? Will the editor's "planet-melting hatred of In Java Today, an article on JavaLobby makes the case for migrating to GlassFish. In Tomcat Today, GlassFish Tomorrow?, Alexis MP writes "GlassFish has made a lot of efforts to appeal to developers. Its a single, small download of about 60MB, has auto-deploy capabilities, starts pretty fast for an application server with GlassFish v2 (probably the best full-blown application server startup time). To be fair to Tomcat or Jetty, they are still perceived by many as lighter- weight and faster to start. GlassFish v3 is all about being modular (based on OSGi), extensible and very developer friendly. The recently released TP2 (Tech Preview 2) starts in less than a second, starts/ stops containers and resources as needed and provides support for scripting technologies such as Rails, Groovy, PHP and more." From The Aquarium: "Ed [Bratt] has announced the second Release Candidate for OpenMQ 4.2, now available at the Downloads Page. Features include: • Performance Improvements, • Multiple Destinations for a Publisher or Subscriber, • Schema Validation of XML Payload Messages, • C-API Support for Distributed Transactions, • Support for MySQL Database, • Installer Support for Sun Connection Registration. Full details at Release Notes and 4.2 Highlights."
Time to really master
In today's Forums,
Arun Gupta continues his tips series with a look at SQLite 3 in today's Weblogs. In TOTD #37: SQLite3 with Ruby-on-Rails on GlassFish Gem, he writes, "the default database for Rails 2.0.x application is SQLite3. This database is bundled with Mac OSX Leopard and so makes it really easy to get started with Ruby-on-Rails. But it requires couple of additional steps if you are using JRuby." Next, Jean-Francois Arcand has some advice for Getting started with Comet and GlassFish v2. "The Grizzly users lists is bombarded with questions about how to start with Comet and GlassFish v2. Here is a quick explanation..." Current and upcoming Java Events :
Registered users can submit event listings for the java.net Events Page using our events submission form. All submissions go through an editorial review before being posted to the site. Archives and Subscriptions: This blog is delivered weekdays as the Java Today RSS feed. Also, once this page is no longer featured as the front page of java.net it will be archived along with other past issues in the java.net Archive. Can we have a competent filesystem API in Java 7? »
Comments
Comments are listed in date ascending order (oldest first)
|
||
|
|