The One Thing
JDIC Plus project takes a Windows-only approach
The JDIC Plus project describes itself as a "a Java Win32-extension development kit, enabling developers to use extended Microsoft Windows API functionality." By implementing a semi-lightweight wrapper component Â around Microsoft Internet Explorer", it gives you the ability to embed functionality like a Google Maps interface or a Flash player.
But, yeah, only on Windows.
Kirill Grouchnikov linked to the project asking if it indicated new life for JDIC, and over on JavaLobby, Matthew Schmidt wrote, "it's good to see someone making use of the components to add enhanced integration with a key platform." Rick Ross followed up, saying "In the erea of mashups, there's little doubt that JDIC plays an important role if Java is to be a strong contender in the field of desktop applications. Just about every app I can think of these days has some need to integrate with its host OS or leverage the power of the system's default browser."
However, the JavaLobby comments indicate some readers are highly dismayed by the Windows-only approach. "I have to say this project is VERY upsetting.
We use Java because it is supposed to be a cross-platform tool." Pete Cox adds, "Perish the thought there's already an HTML component in Swing.
If Sun had funded development of the HTMLEditorKit to be XHTML and Acid 3 compliant we wouldn't be in this mess of embedding IE/Webkit/Gecko."
What it gets back to is a long-running argument of how much access to and visibility of the underlying OS Java should provide, and how much stuff Java can and should provide by itself. As functionality becomes OS-dependent, there's an obvious risk of losing the ability to run on multiple platforms. But is it practical to duplicate so much functionality that's already present on the underlying OS? And there's even a counterargument that with Windows so dominant on the desktop, how big a deal is being cross-platform anyways?
OK, that's enough fuel for several fires. Have at it, y'all...
Also in Java Today,
the GlassFish team announces: "we have started
GlassFish For Business,
a news blog that will cover Deployment and Business Needs around
and will report on Sun's offerings like
our Enterprise Support, Training and Partner programs. [...] I have a small backlog of relevant pieces, so there will be some catching up over the next
So far I've posted some overview content including:
Intro to the Blog,
Overview of Enterprise Support for GF from Sun,
Screencast on Online Interactions."
Citing Steve Yegge's Execution in the Kingdom of Nouns, Bruce Eckel asks Will Closures Make Java Less Verbose? Summarizing and extending Steve's argument, Bruce writes "his point is that Java has gone so overboard into "everything is an object" that it prevents simple and clear expressions of ideas. His very clever translation of Ben Franklin's poem "For want of a nail" into Java makes the point better than anything. So here's my question: if closures allow you to be slightly more verby and slightly less nouny (in Yegge's frame of thought), will it allow programmers to create programs that are easier to read?"
In today's Weblogs, KohsukeÂ Kawaguchi takes a
Deep dive into assembly code from Java.
"One of the things I learned in The Server Side Java Symposium 2008 was a command-line option to print out the assembly code that JIT is producing. Since I've always been interested in seeing the final assembly code that gets produced from your Java code, I decided to give it a test drive."
In NetBeans 6.1, UTF-8 encoded source files, and a tale of corruption, JohnÂ O'Conner
writes, "I'm always happy when a company or product adopts Unicode as its charset. I think it makes perfect sense to do so. There are lots of good reasons why standardizing on Unicode is the right thing." But with NetBeans, there can be problems, as he explains.
Finally, LucasÂ Torri discusses
ZFS, Indiana, VirtualBox and a bunch of memory sticks.
"In the end of last year, I saw some slides from a presentation about ZFS from Sun, using a bunch of memory sticks to create a file system, and thought that very cool. Today, I found an article called "Playing with ZFS, USB memory disks and VMware Fusion" and decided to try it myself, but in a different way, using VirtualBox instead of VMware."
In today's Forums,
stylertim needs some ideas for
Interrupting a running Servlet.
"I'd like to know if and how it's possible to interrupt a running servlet, or better how to tell the servlet to suddenly do something else while it is running. In my case I'm letting the servlet invoke methods of a server-side API written in C. I need to be able to stop the running process started by this API at any time during its execution. This can be done by a "stop"-method in the C-API. The question is now: Can I just send another HttpRequest to the servlet to trigger the invokation of the "stop"-method or is there some other magic to deal with? I assume the servlet's running in a seperate thread, right? If so, how can I access this thread?"
dbreitenfeldposts questions for Blu-Ray users in
Interactivity Survey starts today.
"During the last several years we've always had a focus on authors and developers at the same time we've also had a focus on the consumer who is going to enjoy or dislike the interactive features. So this year we decided to work with the DVDA and the consumer focused site Blu-Ray.com to see how the consumer perceives interactivity, we built questions around some of the ideas we've been working on as well as what has already been done on all the different optical formats. We will present the findings at this years NAB http://www.dvda.org/index.php?option=com_content&task=view&id=2874&Itemid=271. If you have an opinion about interactivity or are just curious about what people want please feel free to visit survey page found here: http://www.blu-ray.com/news/?id=1169."
jittopjoseis having trouble integrating DWR in
how to use dwr with jsf?.. please help me.
"I am developing a small community site application. I am using jsf technology in netbeans 6 ide. I was supposed to use dwr (comet) to give ajax functionality to my pages. I tried it with ordinary jsp pages in eclipse. And it was success. But when it came to the JSF field, none was working. I think the system has not identified dwr.xml. because, it shows an error , It couldnâ€™t find dwr/util.js itself. I have done all the necessary steps, like in dwr.xml I gave creator as jsf and edited all configuration files. But no use. My cant resume my project without adding ajax functionality. If anybody has succeeded in implementing dwr 2 perfectly with jsf, please give me a detailed information, so that I can check whether I made any mistakes."
Current and upcoming Java
- AprilÂ 4-6 - New England Software Symposium 2008: Spring Edition
- AprilÂ 4-6 - Greater Nebraska Software Symposium 2008
- AprilÂ 8-11 - JAX India 2008
- AprilÂ 8-11 - Struts Training Philippines
- AprilÂ 12 - JUG.RU meeting
- AprilÂ 18-20 - Great Lakes Software Symposium 2008: Spring Edition
- AprilÂ 18-20 - Pacific Northwest Software Symposium 2008: Spring Edition
- AprilÂ 21 - Triangle Java Users Group - Groovy
- AprilÂ 25-27 - Northern Virginia Software Symposium 2008: Spring Edition
- MayÂ 2-4 - Rocky Mountain Software Symposium 2008: Spring Edition
- MayÂ 5-9 - Java Training Philippines
- May 5 - CommunityOne 2008
- MayÂ 6-9 - JavaOne 2008
- MayÂ 12-15 - Java Power Tools Bootcamp
- MayÂ 19-23 - Daring Java Conference: Java to Celebrate Its 13th Birthday at Bangalore
- MayÂ 19-23 - Great Indian Developer Summit 2008 Features Co-located Conferences on Java, Rich Web and .NET
- MayÂ 19-23 - J2EE Training Philippines
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 href="http://today.java.net/today/archive/">java.net Archive.
JDIC Plus project takes a Windows-only approach