Posted by editor
on December 20, 2005 at 6:47 AM PST
Freedom and safety aren't opposites... Also:
Weblogs: Freedom vs. safety, command-line parameters, and echoing blanks in a JPassworldField
Feature Article: An Introduction to JMXRemote
Projects and Communities: Tribal Trouble accolades and new JXTA releases
Forum Postings: Mustang update nags and GlassFish logs
Also in Java Today: A conversation with David Gelernter and performance tuning JSP's and servlets
Freedom and safety aren't opposites
James Gosling is reacting to the many comments on his previous blog, RADlab, scripting and scale , in which he stated his affection for scripting languages, before stating his concerns that they tend not to be as effective at scaling, generality, or testability. "I sure stirred up a pile of flaming with my previous post. The internet flame-before-reading tradition is alive and strong."
Jumping off on one frequently debated points is the value of static typing, which one talkback casts into a dichotomy of freedom versus safety. In his response, Safety is Freedom , Gosling writes:
One of the slogans that was brought up in the commentary to my previous blog entry was "freedom vs. safety". Once upon a time I used to believe that: it has certainly been conventional wisdom for years. But a lot of the time, the truth is actually that safety is freedom (eg. a good safety harness and rope give you the freedom to climb a mountain).
Also, as an illustration for this blog entry, he has a nice picture of Duke hanging a stocking by the fireplace... if only he'd submitted that for the Holiday Pictures 2005 too. Sigh.
Also in today's Weblogs ,
Krishnan Viswanath takes a new approach for
Dealing with Command Line Parameters :
"One of the things that keep popping up often is a need to write batch programs that is started from command line. Every single time it's always been either reinvent the wheel or copy/paste from old code. So I recently decided to put an end to this practice by looking at a professioanal CLI solution from Apache."
JPasswordField with an empty echo character: the fix , Scott Violet writes:
"Learn why my last attempt at a password field with an empty space echo character failed and how to fix it. And of course a demo is thrown in for good measure."
In today's Feature Article , Lu Jian has
An Introduction to JMXRemote .
JMX programmers know that getting an MBeanServerConnection from a JMXConnector comes with a string attached: no support for the registerMBean() method, and thus no way to register a local MBean with the remote server. The JMXRemote project aims to fix that, and this article shows how it works.
In Projects and
Realtime strategy game Tribal Trouble from OddLabs.com was ranked number two
in the strategy games division of GameTunnel.com's "Game of the Year". Tribal Trouble gained the honor for being fun, entertaining, and easy to play. We're sure that
the fact that the game is pure Java had a
hand in the victory too. Check out the
screenshots . Vikings!
Two new releases highlight the JXTA community's recent activity. JXTA JSE 2.3.6 adds J2SE 5.0 support, enhancements to ext:config and PSE membership service, performance improvements and bug fixes. On the native side, JXTA-C 2.3 significantly improves RDV support, numeric types in the xpath-style query, and interoperability fixes.
In today's Forums ,
Java(TM) Update is getting on my nerves :
"Since recently whenever I send my WinXP box into hibernation and then start it again, there is an error message displayed from "Java(TM) Update" saying something like "The Java update cannot be continued with the current system settings for the internet connection. Please check in windows system control under internet settings -> connections if the settings and proxy information is correct." (my translation from German). I do not remember this happening before I installed Mustang build 63. Is this supposed to be a new feature to make the user's life easier? It is just getting on my nerves to see this message every morning."
summarizes an annoying bug-tracking experience in
Re: GlassFish needs useful exception messages
"I just discovered the "log viewer" in the admin console. Well, that's certainly nicer than reading the raw server log. Here is a suggestion. When an error message with a stack trace is displayed, why not include a link to the log viewer? 'Click here for more detail' is a lot better than 'Find the logs yourself to prove that you are a Real Programmer'. I realize that the feature needs to be turned off in a production server. But if we can keep a few more budding developers from giving up in frustration, it will be worth it."
In Also in
Java Today ,
David Gelernter's "Linda" programming language and his book Mirror Worlds have been cited by Java technology luminaries as key inspirations. In the interview Computer Visions: A Conversation with David Gelernter talks with him about these inspirations, as well as his recently-articulated "vision of information technology that goes beyond the Web and our current world of files and folders to one centered around what he variously calls 'life beams' or 'information beams'."
"Can your J2EE application sustain a large number of client requests simultaneously? Or does it become sluggish, with painfully slow response times? There are many reasons for such performance bottlenecks and many ways to prevent them. However, sometimes it's just a matter of following some simple best practices that can make all the difference." In Six Steps to Faster J2EE Apps: Performance Tuning with JSP and Servlets , Sridhar M S offers design and coding practices to help speed things up.
In today's java.net
News Headlines :
Registered users can submit news items for the
href="http://today.java.net/today/news/">java.net News Page using our
form . All submissions go through an editorial review before being
posted to the site. You can also subscribe to the
href="http://today.java.net/pub/q/news_rss?x-ver=1.0">java.net News RSS
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
Freedom and safety aren't opposites