Posted by editor
on March 17, 2009 at 8:21 AM PDT
More tasty little language changes... also:
Java Today: Project Coin week 2, NetBeans 6.5.1, and more ActionScript for Java developers.
Weblogs: GlassFish 0.9.3 gem, turning Hudson cluster into Hadoop cluster, and OpenDS for replication and failover recovery.
Forum Posts: Compiling twice with Maven JAXB plugin, dynamic certificate realms, and proposing a "properties" resource for GlassFish.
More tasty little language changes
Yesterday , we mentioned the latest JavaPosse podcast episode , an unconference discussion of small language changes for Java 7, centering around Project Coin , the effort to collect high-impact, low-difficulty changes into a single JSR for inclusion in the next major rev of the language.
Joe Darcy, who led that session at the Java Posse Roundup, has now posted a Week 2 Update , summarizing new small-language changes for Project Coin . "After the vigorous start of week 1 , the pace of new proposals being sent to the list slowed. [...] However, brisk discussion continued on refining and exploring ARM blocks and their variations." The full post links to the five proposals posted during the week, one of which is a pre-announcement and request for input, and another of which was withdrawn.
With the high expectations Joe has established for submissions, requiring that they be thought through and spelled out at a level of detail more or less equivalent to what you'd find in the Java Language Specification, getting 3-5 new submissions a week may well be an appropriate pace. The interesting part will be seeing how many of these actually make it into Project Coin's JSR.
Also in Java Today ,
The NetBeans Team has released NetBeans IDE 6.5.1 , which is a minor update to NetBeans IDE 6.5. New features include replacement of GlassFish v2 UR2 with GlassFish v2.1, integration of the December 2008 and January 2009 patches , and integration of bug fixes for JDK6 Update 12 and other issues. The release is available in English, Simplified Chinese, Japanese, and Brazilian Portuguese. Download NetBeans 6.5.1
Chet Haase continues his series comparing Flash/Flex's ActionScript language to Java, in ActionScript for Java developers, Part 2 . "Like a lot of newer languages, ActionScript 3 is different from Java when it comes to properties, dynamic behavior, and some very convenient aspects of functional programming. In this second half of his Java developer's guide to ActionScript 3, Chet uses side-by-side code samples to demonstrate the differences in syntax and behavior. He also talks about capabilities and usage patterns that could come as a surprise, if you're viewing ActionScript through Java-tinted glasses."
Today's Weblogs begin with Vivek Pandey showing off
New features in GlassFish 0.9.3 gem . "GlassFish gem ver 0.9.3 is a much awaited release and adds new features such as daemon mode, glassfish.yml for configuration, logging improvements and other usability improvements."
Kohsuke Kawaguchi has instructions for
Instantly turning your Hudson cluster into a Hadoop cluster . "The idea is simple -- Hudson knows the shape of its cluster, so why don't we let it start Hadoop JVM on all the nodes, and hook them all together? Hudson could also install Hadoop binaries on all the nodes as necessary, really making this solution a turn-key."
Finally, in Experimenting replication and failover recovery (High Availability) with OpenDS 1.3 Build 1 , Masoud Kalali asks, "Do you use OpenDS as a directory server in your application architecture and design? this entry shows how we can setup a simple replication topology along with some sample code showing how we can use JNDI to access data as long as one of replication node is up and running."
In today's Forums ,
menno asks How to generate and compile twice using maven maven-jaxb2-plugin? "I have started using the maven jaxb plugin. But I cant figure out how I can get the plugin to compile code twice. I want it to do this because I need to first have xjc generate my classes with a binding file without the interfaces plugin, and then regenerate the same classes with a binding file which includes the interface plugin. It requires the first generation because the interface being added references generated classes. Anyone have ideas how to achieve this?"
describes the need for a
Dynamic certificate realm
. "We are currently implementing web services in Glassfish 2.1 and these are secured by requiring a client certificate. This all works well using the @RolesAllowed annotation in the web service and defining the DN of the certificates in the element of the sun-application.xml file. This is however beginning to cause us some problems, We need to change this file between development and deployment in order to allow development certificates for testing our code and client certificates in the production environment. Our users (and therefore certificates) are constantly changing, each time this happens we need to change sun-application.xml. It would therefore be desirable to define some way for the application to dynamically query the roles that the DN from the certificate will map to, perhaps from a database or LDAP. Does anyone know if something like this would be possible?"
Properties resource ? is it a good idea? , Felipe GaÃºcho asks, "do we have a "properties resource" in Glassfish? If not, is it a good idea? As we have JDBC, JMS and JavaMail resources, why not to have a Property resource? A place where to write all configuration params shared by applications?"
Current and upcoming Java
Registered users can submit event listings for the
href="http://www.java.net/events">java.net Events Page using our
href="http://today.java.net/cs/user/create/e">events submission form.
All submissions go through an editorial review before being posted to the
Archives and Subscriptions: This blog is delivered weekdays as
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
More tasty little language changes