Skip to main content

Bells of Creation

Posted by editor on March 2, 2009 at 9:08 AM PST


Time to chime in with your small language change

We've mentioned the process for Java 7 "small language changes" a few times before in this space, and thusfar it's been a very informal process, collecting bits and blurbs from Mark Reinhold's Devoxx '08 presentation and Joe Darcy's blog. But since this ultimately has to produce a formal JSR, the process is firming up and formalizing somewhat.

The OpenJDK compiler group has approved and created Project Coin, the OpenJDK project for selecting small language changes to be included in Java 7. The project's home page includes instructions for proposing small language changes, as well as links to blogs about what makes for an appropriate small language change.

A call for proposals period will run until March 30, 2009. To submit a proposal for consideration during that time, send a completed proposal form in plain text or HTML to the project mailing list coin-dev. After the call for proposals is completed, a subset of proposals will be selected for inclusion in a JSR draft. Proposals should keep in mind the criteria for a desirable change as well as guidance on sizing a change and other background information.


Also in Java Today,

The jLab environment aims to provide a Matlab/Scilab like scientific computing platform that is supported by scripting engines implemented in the Java language. They write, "actually, in the current implementation of jLab there coexist the four scripting engines, mentioned above. The GroovySci seems currently to be the preferred choice, since it is much faster, can execute directly Java code using only the familiar Java packaging rules, and is feature rich language, i.e. Groovy enhanced with Matlab style dynamic matrix operations and surrounding support environment. Recently, the Groovy 1.6 is released, with significantly faster runtime support from the previous beta release. The new jLab version has adapted the new Groovy 1.6 runtime implementation, and now obtains much better performance on mathematical scripting operations (about 1.5 to 4 times faster, depending on the operation)."

BusinessWeek notes efforts to win over mobile developers in its article The Battle of Mobile Software Apps, specifically noting the role JavaFX Mobile could play. "At the Mobile World Congress, Sun Microsystems unveiled a new version of Java for mobile devices called JavaFX. Sun says the programming software allows developers to write applications that work on any mobile operating system. If that turns out to be true, JavaFX is a potentially important development. "They can get their code done for less money and get more users, which is really the Holy Grail for developers," says Eric Klein, vice-president for Java marketing at Sun Microsystems."


Today's Weblogs begin with Hans Hrasna demonstrating the steps for
Provisioning Blackberry clients on the Sun GlassFish Mobility Platform. "The Sun GlassFish Mobility Platform includes a Client Provisioning Portal, allowing client jars to be uploaded to the portal remotely and then downloaded over the air (OTA) by standard MIDP 2.0 devices. In the newest release of MP, version 1.1, we have added the ability to upload and provision Blackberry COD files. Read on to learn how..."

Sergey Malenkov shoots off some effects in For Those About To Rock "(We Salute You): This simple example produces firework effects using JavaFX Script. The active use of random numbers brings variety to each firework volley."

Finally, in
Grails on NetBeans - first impressions, John Ferguson Smart writes, "common wisdom has it that IntelliJ is unrivalled for Groovy/Grails development. (At least among IntelliJ developers). However, sometimes it is good to question common wisdom, and decide for yourself based on real-world experience. So, after some frustrations with the Grails support in IntelliJ, I decided to try out the latest beta version of NetBeans 6.7 with some Grails 1.1-RC projects."


In this week's Spotlight, balloting is now underway for the JCP special election to fill a vacated seat on the ME Executive Committee. Candidates for the seat are Aplix, Cox Communications, Marlon Luz, and Shawn Fitzgerald. A special forum has been set up to host the candidates' statements and to facilitate Q&A between the JCP membership and the candidates. JCP members should have received voting instructions via e-mail (contact the JCP Program Management Office if you have questions or concerns). Balloting ends March 9, with the winner announced March 10.


In today's Forums, kimangroo opens up an unresolved question in
Re: [JAI] I want to concatenate two jpg images. "Sorry to revive such an old thread, but I'm looking to do exactly the same thing and I was wondering what the differences were with the methods you mentioned. I've already got a little program doing this using Graphics 2D and drawImage but I'd like it to work with large images and am wondering if there isn't a more memory efficient way."

linuxcraze asks,
Where is the scenegraph license? "I have heard about the scenegraph project from the javafx forums. I was wondering what the license state is currently. I can't find the scenegraph license anywhere. Is there a license for this project? I would like to use it for a desktop app. Can I use scenegraph for this legally?"

igormetz wants a practical means of
Using LDAP for HTTPS Client Authentication. "I understand, that Glassfish V2 provides LDAP authentication (using the LDAP realm) and SSL client authentication using X.509 certificates (by setting CLIENT-CERT in the webapp web.xml). The latter requires storing the client certificates in a keystore file, which the Glassfish domain has access to. We want users to log into the webapp using their X.509 certificates. But fumbling around with a keystore does not scale, when you have >> 1k users. Is there a way to let Glassfish consider for SSL client authentication certificates which are stored in an LDAP directory (ie. in the usercertificate (binary) attribute of the inetOrgPerson objectclass)?"

Finally, tnscorcoran is looking for some Real World Applications of Java Threading. "Would anybody be able to give some specific examples of when/where Java Multithreading is used in real world examples. I'd like something a bit nmore detailed than 'IO Processing' or "Swing Event handling" I want to write some such apps for an interview I am doing and I'd like some detail of practical applications of java threading."


Current and upcoming Java
Events
:

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
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 href="http://today.java.net/today/archive/">java.net Archive.

Time to chime in with your small language change

Comments

Re. jLab Mathnium, available as freeware at http://www.mathnium.com, provides an almost complete Matlab scripting environment in Java with already a large library of over 400 functions for scientific computing and graphics. A statistics library within this environment is going to be available soon. The speed is an issue, but for most users of Matlab, the speed of Mathnium should be sufficient. Since Mathnium provides a transparent interface for using compile Java classes, the critical part of application can be written in Java if speed is a concern.