Posted by editor
on April 26, 2006 at 7:05 AM PDT
Desktop Java's impression... also:
Projects and Communities: Java Tools community newsletter #76 and JNI guide for Mac OS X
Forums: Limitations on EJB injection and global right-click in AWT/Swing
Also in Java Today: Dynamic Swing interfaces and Using Solaris SMF
Weblogs: Where icons go in NetBeans, FTPOnline Java ME report, and SOAP over JMS
Desktop Java's impression
Checking back in with the latest java.net Poll , the question What's holding back Java on the desktop has generated far more commentary than any recent poll.
What's interesting is that while "deployment issues" is only slightly ahead of "performance issues", there are a large number of posts that detail the difficulties of Java's deployment story -- getting a JRE to the end-user, managing different versions of Java, etc., -- and apparently not one post about performance. What's the difference? Is it that the performance story is more self-evident than deployment (which can be JRE downloads, versioning, packaging as .exe's and .app's, Web Start woes, etc.), or is it that people who've deployed Java apps have more of an axe to grind? Heck, is complaining about performance just a default response for a lot of people, something they don't need to (or can't?) back up? Just a bit of a detach for these top two responses.
"Legacy perceptions" is a prominent response, one I hadn't thought to include in my draft set of responses. Daniel Steinberg suggested it, and it looks like he was right on for about 15% of you. So how do you overcome the bad taste left in users' (or management's) mouth by some slow Swing app from 1999? What other technology has such an old monkey on its back?
Finally, it's worth noting that part of the idea for this poll came from hypotheses advanced by members of the Java Posse podcast, but those options -- the difficulty of moving from enterprise to desktop development, and the sorry state of the multimedia API's -- are currently the least-selected options. Which doesn't mean they're the wrong answers, just not popular responses among the java.net readership.
In Projects and
the 76th issue of the JavaTools Community Newsletter features tool-related news from around the web and has a tip on using the NetBeans collaboration service, which allows you to engage other developers around the world in public or private conversations via NetBeans. The newsletter also notes two graduations and welcomes seven projects to the community.
The Mac Java Community notes
a new technote from Apple, Technical Note TN2147: JNI Development on Mac OS X , which "discusses techniques and concerns specific to JNI programming on Mac OS X with explicit examples of what to do (and what not to do)." Featured techniques include data transfer between native code and Java, building with XCode, and thread-safe techniques for mixing Java and Cocoa.
In today's Forums ,
augustorighetto has second thoughts about a design decision in the EJB spec in
Re: NPE when @EJB is used on other class than the main class
"Hi again. I read the spec but I didn't notice that injection is only for main class. I think this limitation is very strange, because it will inflate the main class of application clients with things that shouldn't be there. But ok. Thanks again for your help."
has a global-right click idea in
Re: Selection using right-click
"One thing that may give you the ability to do a global right click is an AWTEventListener added to a Toolkit: addAWTEventListener adds an AWTEventListener to receive all AWTEvents dispatched system-wide that conform to the given eventMask.
In Also in
Java Today ,
the Swing UI toolkit makes it possible, though not always easy, to update user interfaces dynamically in response to events or user actions. Peter Seebach's article Dynamic interface design with Swing reviews some of the common ways you can build UIs that update dynamically, a few pitfalls you might encounter along the way, and some principles to help you decide when this is the right approach for the job.
Do you have a stake in the startup scripts of the server your app runs on? Well, it depends--do you want your application to run fast, and to have expected services present? Ah, now I've got your attention. Chris Josephes writes "In most Unix environments, the startup process consists of a handful of autonomous boot scripts. They act independently of one another; unaware of what scripts have already run or which ones will run after them. When they are invoked, there is no serious error checking and no recourse if the script fails." In Using Solaris SMF , he introduces Solaris 10's Service Management Facility (SMF), which "addresses the shortcomings of startup scripts and creates an infrastructure to manage daemons after the host has booted."
Gregg Sporar almost gets caught putting his GIFs in the wrong place in today's Weblogs . In
Watch Those Icons Closely , he writes:
"I'm developing my first application that is based on the NetBeans Platform. With invaluable help from Geertjan, I'm making progress."
Vikram Goyal notes an
FTPOnline special report on Java ME , saying
"FTPOnline has a few articles on Java ME development"
SOAP Over JMS using Java EE Service Engine , Manisha Umbarje writes:
"Java EE Service Engine, part of GlassFish project, is a JSR 208 compliant component which along with JMS Binding component from openESB can be used to achieve SOAP over JMS."
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
- April 24-27, 2006 - MySQL Users Conference 2006
- April 25-28, 2006 - Enterprise Java Architecture Workshop Toronto
- April 28-30, 2006 - Northern Virginia Software Symposium
- May 3-4, 2006 - Sun Tech Days - Johannesburg
- May 7-9, 2006 - Rocky Mountain Software Symposium: Spring Edition
- May 8-10, 2006 - Eclipse Forum Europe 2006
- May 8-12, 2006 - Enterprise Architektur Konferenz
- May 8-12, 2006 - JAX 2006 - Konferenz fÃ¼r Java, XML, Web Services
- May 10-12, 2006 - The Ajax Experience 2006
- May 16-19, 2006 - JavaOne 2006
- May 19-21, 2006 - Central Ohio Software Symposium
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
Desktop Java's impression