Posted by editor
on April 6, 2007 at 7:02 AM PDT
Upgrade complete, please move along... also:
Java Today: java.net upgrade complete, Peter von der Ahé on JSR 199, and UML module for NetBeans
Weblogs: Rails and database migrations, Java desktop frameworks, and cloning with serialization
java.net Poll: Do you blog?
Forum postings: Using the browser's connection, GlassFish and SSL, and spawning and killing processes
Upgrade complete, please move along...
OK, so, are we good? The project space was back up just about 24 hours after the upgrade began, with a note that the upgrade work was continuing. By last evening (US EDT), the notice on the project pages said "The upgrade of java.net's project area is complete. Happy java.netting!"
Are we out of the woods? Are we done? You tell us. Try out your projects and all their various features (mailing lists, wikis, source control, etc.) and if you see anything that doesn't look right, let us know. Contact information is available on the upgrade page .
In Java Today ,
the NetBeans 5.5 UML Modeling module is now available for download from the NetBeans Update Center. The module provides UML modeling features to the NetBeans IDE. It allows analysts and designers to design applications using a standard modeling language. Developers are then able to generate source code from the UML model and update the model from changes made in their source code. A Flash demo shows NetBeans' UML Modeling in action .
Most developers think of the Java compiler, javac, as an unobtrusive command-line tool to invoke when you want to turn Java source code into class files. The Java Compiler API, JSR 199 , released in final form last December, opens up the Java compiler to programmatic interaction as well. In The Java Compiler API: A Conversation with Peter von der Ahé , Artima's Frank Sommers speaks with JSR 199 spec lead and Sun engineer Peter von der Ahé about what programmatic compiler access means for developers.
In today's Weblogs , BrianÂ Leonard discusses
Rails and Database Migrations :
"Rails is so easy because the framework defines conventions, which if followed, allow rails to do its magic. This entry is a reprise of an earlier web blog example entry, now brought to you in a more Rails conventional way."
Java desktop frameworks: Where are we headed? , BillÂ Snyder asks:
"Is Java desktop development at a crossroad? With the arrival of various frameworks over the past few years - how will they renew our approach to application development?"
Finally, EamonnÂ McManus discusses
Cloning Java objects using serialization :
"Sometimes you need to clone objects, and sometimes you can't use their clone method, and sometimes serialization provides an alternative. Here's an explanation of when you might need this exotic and expensive technique, and how you can use it."
The latest java.net Poll asks "Do you blog?" Cast your vote on the front page, then visit the results page for current tallies and discussion.
In today's Forums ,
Can Java use IE's internet connection?
"I'm wondering if its possible for Java apps to use IE's internet connection to access the internet as apposed to writing its own connection code. The reason I ask is I've just finished writing an NTLM connection code ( used HttpClient) which was reasonably easy to do. However the app now requires my users to put in their proxy details, username, password, domain and proxy url and port. You'd be amazed how many users don't know this information or how to get it.....most of them have pre-built PC's and would need to phone the helpdesk for this (believe me they are a devolved breed)."
Jan Luehe explains when GlassFish does and doesn't use SSL, in the thread
Re: what are differences between making a listener https or configuring web.xml and sun-web.xml?
"Any and all requestes received by an HTTPS listener automatically participate in SSL, even if the resources to which they get mapped do not exlicitly require SSL. On the other hand, you can protect all (or a subset) of your webapp's resources with SSL, by declaring corresponding security constraints (that apply to one or more URL patterns) with a transport-guarantee of CONFIDENTIAL. If your webapp is accessible thru both HTTP and HTTPS listeners, and a request received thru the HTTP listener is mapped to a resource that is matched by a security constraint requiring CONFIDENTIAL transport, the container will redirect the request to the HTTPS listener."
Re: Can Java execute batch file outside of current JVM in separate process ,
fred34 discusses practical concerns about spawning processes from Java.
"I'm still convinced that Java does not actively try to kill processes when it terminates. They terminate of their own accord when any necessary streams are closed. I saw no evidence of Java trying to kill cmd.exe or calculator; I believe the explanation is still that as under my example, the streams may not be valid once Java terminates, any command in the batch file which requires them terminate thus terminating the batch file with any errors being dropped on the floor."
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
Upgrade complete, please move along...