Skip to main content

We the media

Posted by daniel on May 31, 2005 at 8:00 AM PDT

On talking with or without the press

James Gosling says 1+1 = i in today's Weblogs. He says: "I need to stop talking to reporters. It's so easy for what results to get misunderstood. I was not trying to say that all open source projects are chaotic: there is a spectrum. Apache is at the very high end of the scale, on average exhibiting excellent behaviour."

I don't think that he should stop talking to reporters. Even with the ascendence of blogging, traditional media can play an important role in the communication of news and ideas. On the other hand, Gosling has a blog that he could have used for an outlet on such an important topic as the launching of Harmony.Imagine instead he had written his own take on the proposed Apache project -- it would have appeared unedited with links from the front page of and many other Java sites.

It may seem obvious to others that you can speak directly to the developer audience using your blog but remember this is a relatively new phenomenon. More traditionally the only way to communicate was through reporters. Now you can just draft a blog entry and think about it a day or two and tweak it until it says just what you mean it to say. Then if someone wants to know what you thinks about a particular issue, they can read exactly what you said in your blog. Reporters will still pick up the quotes and write their own stories - and that's an important part of the process as well.

Kirill Grouchnikov has the real story on The real story about how Anakin Skywalker became Darth Vader, in the form of J2SE 5.0-compliant code. "Warning - contains spoilers on 'Revenge of the Sith'."

In Blarg #15: How can I do image processing on the server-side?, Jayson Falkner writes " met Fred and John and they asked about doing clever image manipulation on the client-side, but without requiring the client to run anything but a web browser. It seemed like doing a few tricks with ImageIO on the server-side would solve the problem, and it'd eliminate the piles of JScript they had been working on. Here is the code so that others can easily write servlets that manipulate and generate images."

In our Featured Articles, Darren Duke looks at the question of how to support login and controlled access to your JSPs. LDAP is great, but configuring OpenLDAP for use with Tomcat is not straightforward. In Tomcat and OpenLDAP, from Configuration to Application, he shows you how to bring the two together.

In Also in
Java Today
Frank Sommers shows you how to "Write a Web service in 15 lines of code with JAX-RPC 2.0 Early Access" in his article Three Minutes to a Web Service. His example "illustrates how JAX-RPC 2.0's use of annotations allow you to create a simple, working Web service in just 15 lines of code, comments included. Only two lines in the simple example have any reference to Web service-related code in the form of a single annotation. The rest of the code focuses entirely on business logic—the arduous task of saying hello—and JAX-RPC 2.0 tools generate all other required artifacts."

The JDesktop Integrated components allow you to integrate Java applications into the native desktop. In Communicating with Native Applications using JDIC you will "load a web page using the JEditorPane and consider some of the limitations of this approach. You will then use two different features of JDIC to view the web page (as part of a JFrame) in your existing web browser." The code in the tip is not yet supported on Mac OS X but runs on Solaris, Linux, and Windows.

In Projects and
the Java Enterprise Community recently announced that the Java Blueprints book Designing Web Services with the J2EE 1.4 Platform: JAX-RPC, SOAP, and XML is now
available as a free PDF download. It provides guidelines, patterns and examples of J2EE 1.4 web service development

Keep your private IM's private with Whisper IM. This Java Communications Community project is a Jabber client that supports end-to-end encryption. It supports all typical instant messaging features, as well as a large set of Jabber Enhancement Proposals.

In today's Forums, furbottow writes that "in build 38 the java cache viewer dialog is... well, horrible: when it first start it contains a combo at the top, filling the entire horizontal space. when I select another item the combo is resized: it is much shorter and "fat", it isn't surely following any gui design guidelines!

Tlund adds to the HTML and JAVA thread asking "Are you interested in launching the default webbrowser, or displaying html content within java-frames?
JEditorPane has basic support for HTML, but it is not good enough for modern web-pages. (only support for HTML < 4.0) I suggest you check out JDesktop Integration Components: . That project has an desktop-package which let's you launch an url in the systems default webbrowser, or you can embedd the default webbrowser within an java-frame with the Browser-class."

In today's
News Headlines

Registered users can submit news items for the href=""> News Page using our
news submission
. All submissions go through an editorial review before being
posted to the site. You can also subscribe to the href=""> News RSS

Current and upcoming Java

Registered users can submit event listings for the href=""> Events Page using our href=""> events submission form.
All submissions go through an editorial review before being posted to the

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 it will be
archived along with other past issues in the href=""> Archive.

On talking with or without the press