Skip to main content

Sign O' The Times

Posted by editor on November 21, 2006 at 5:12 AM PST


A look at signing XML documents

While we were in our special Open-Source Java announcement coverage, the release candidate of Java SE 6 became available. That's one of several items I wanted to make sure to point out that happened last week but wasn't germane to the GPL Java launch (similarly, you'll notice an updated on JSR 277 on today's page, and the closures proposal for Java SE 7 on yesterday's page).

One interesting feature in Java SE 6 is that of "XML Signatures", which enables a lot of other technologies by providing something simple but important -- validation that an XML document as received by one party is identical to the document as sent by another party.

Young Yang offers an introduction to XML Signature in today's Feature Article, XML Signature with JSR-105 in Java SE 6:

XML Signature technology, specified in the W3C recommendation,
XML-Signature Syntax
and Processing
, is at the foundation for solutions of message
level-security in SOA. The universally adopted OASIS standard
WS-Security
is built upon this technology (and XML encryption). JSR-105 standardizes XML Signature technology for the Java
platform, and will be part of the forthcoming Java SE 6 release. This article provides an introduction to JSR-105 based on the release candidate
version of SE 6.


In Java Today,
the one hundred-first issue of the JavaTools Community Newsletter is online, with tool news from around the web (particularly about last week's Open-Source Java announcements), a welcome to the new JT Harness test harness project, a "Tool Tip" on using Web Start on java.net, and announcements of new JavaTools Community projects and graduations from the community's incubator.

Do you blog about NetBeans, write apps or plugins, answer questions on mailinglists, help with localization, or are you actively involved in the NetBeans community in any other way? Then the Dream Team may be for you. The NetBeans Dream Team is a community-driven group of highly skilled NetBeans users. They participate at NetBeans developer events, on mailing lists and developer forums, providing new, interesting and informative content as well as developing new and creative ways to promote NetBeans. If you think you have the right stuff or know of a strong NetBeans advocate, then read on and submit a nomination The closing date for nominations is Friday, December 1st.

After the early draft release of JSR 277 a number of questions were raised by the Java community at large about JSR 277, JSR 294 and OSGi. Concerns included overlap with the functionality provided by OSGi, lack of inclusion of important community members on the expert group, and JSR 277 reinventing existing technology. The InfoQ interview JSR 277 & 294 leads respond to concerns over OSGi overlap and transparency discusses these items with Stanley Ho (Spec Lead of JSR 277) and Andreas Sterbenz (co-Spec Lead of JSR 294).


Tom Ball says it's time to Get Medieval On Your Code in today's Weblogs. "Here is an easy way to turn all of javac's warnings on for your NetBeans project, and make its build fail if any warnings are found."

What? It's Not About the Money? David Van Couvering describes
"one of my favorite moments at the Web 2.0 Forum, Jim Buckmaster, CEO of Craigslist, renders the audience speechless."

And, believe it or not, Juggy The Java Finch checks in with a video news report in
The Finch Wire News: Open Source Java:
"On the day Sun announced it was releasing its Java implementation under an open source license, I set out to interview Duke on his thoughs about it."


In today's Forums,
leouser wonders about the practicality of GPL in
Re: Lets mobilize the community to spread java!
"hmm, strangely soothing but it may highlight that the GPL isn't a very good license for the small time developer. If I put out some code under the GPL and some larger organization decided to use/alter that code and not publish their changes, the GPL may not buy me anything. I may very well not have the resources to challenge the 'org'."

jpmoore40 is trying to achieve a
Ghost image in drag and drop:
"I'm implementing drag and drop into my application and am trying to display a ghosted image of the dragged component during the drag - I'm trying to follow Romaine Guy's example in the Swing Hacks book which involves creating a glass pane and painting the component on it with the opacity set to 0.5. Not a problem. However the example given only shows the movement of the source component and doesn't actually implement drag and drop. You need to add a MouseMotionListener to the source component to do the animation, but I've found that once you've called setTransferHandler() on a Component you can't then add a MouseMotionListener (or you can but the events don't get called). Has anyone attempted this before, and is it possible to set the transfer handler AND a MouseMotionListener on the same component?"

In the thread
Re: Welcome to The Big Answer , aberrant writes:
"Basically this is the effect Sun and the Classpath project were going for with the "Classpath exception". (at least my take on it, *Warning: I AM NOT A LAWYER) If you write java programs using a JDK that just happens to be GPL then you don't have to make your program GPL. If you change the IMPLEMENTATION of java, like add methods to String or add classes to rt.jar then your code IS subject to the GPL. Really anytime you are making changes to the code that comprises the "java platform" you need to release your code under the GPL."


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
news submission
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
feed.


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.

A look at signing XML documents