Skip to main content

The OBLOOYAS pattern?

Posted by daniel on May 25, 2005 at 9:06 AM PDT

Knowing where to look

Your Swing app seems inexplicably frozen. You blame Swing but the truth is you've done something that has been explictly cautioned against at countless presentations and in many articles. Chet Haas is sympathetic says " if someone has not read the right article or attended the right talk or thought through the problem thoroughly, it is not immediately obvious why this has the horrible frozen-GUI effect that it does."

In today's Weblogs
Chet blogs on Swing development and commands Enjoy It! He writes what
"people tend to look for are frameworks that can assist in application development, especially for large applications. This can be anything from good sample code that people can cut and paste from to tools that have code- production wizards. Some examples of these gotta-have-but-tedious-to-figure-out-and-write elements of Real World applications include lazy loading, splashscreens, asynchronous operations, status and error reporting, internationalization, accessibility, error recovery, context-sensitive help, and persistent configuration preferences. Also of interest in larger-scale applications are things like plugin frameworks and scripting support. There are examples of frameworks out in the wild, although solid frameworks for Swing in particular are not yet in existence (or at least not standardized). "

Jayson Falkner cautions Why custom tags aren't worth your time and says "Stop encouraging people to make their own custom tags. Especially new developers who don't know better."

Andreas Schaeffer invites you to try jPodder: your Pod's best Friend. " I am delighted to announce that several months of hard work finally paid off and we could release jPodder 0.9 last Sunday. If you like podcasting or where wondering what it is or where not quite happy with your current Podcast receiver then you should read on. "

Arun Gupta posts on Method-based security asking " If a WSDL 1.1 document has two operations in a portType, how to apply different security requirements to them ? "


In Also in
Java Today
, Ant may have started as a sensible, Java-friendly alternative to make, but over time it has evolved to pick up further responsibilities, not just compiling code, but packaging and deploying it as well. In Developing for the Web with Ant, Part 1, an excerpt from Ant: The Definitive Guide, 2nd Edition, Steve Holzner shows how to package code that's destined for web distribution, creating WAR archives for Java web applications and CAB archives for .NET.

The JDesktop Integrated Components are a java.net project that "lets portable JavaTM applications access native desktop features. " In OCI's article JDIC Tray Icons Erik M.
Burke leads you through an example of "a dummy weather forecast service that shows current weather conditions as an animated GIF on the system tray. Balloon help alerts you when a new forecast is available and you can click the icon to view a detailed forecast in a Swing JFrame."


In Projects and
Communities
, Eitan Suez, Java User Group community co-leader presents a JUG Profile with JUG.RU is an interview with Yakov Sirotkin about the St. Petersburg, Russia JUG.

Members of the Portlet Community may want to check out the JCP's Portlet 1.0 Errata, which clarifies and corrects issues in version 1.0 of JSR-168 to be addressed in version 1.1.


Hr_stoyanov asks about JAXRPC 2.0 EA and exceptions
in today's Forums. "JAXRPC2.0EA tutorial says I am allowed to throw exceptions from my webservice class. But the client (JAXRPC2.0 code) does not get any? Can someone explain how WS clients (Java/JAXRPC2.0 and non-java/.NET) handle/receive exceptions, thrown from the web service object."

Regarding static boolan Integer.isInteger(String) "I like the approach by caching the parsing-result of the isInteger method for later usage by valueOf or parseInt. As you see, we have just two methods for parsing a string to an integer. So why not have three, all caching the result."


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.

Knowing where to look