Search |
||
Nothing Bad Ever HappensPosted by editor on September 16, 2005 at 7:20 AM PDT
Getting pro-active when Bad Things happen OK, so you know your application is going to have problems at some point. Maybe it won't be your fault, maybe it will be, but in any case, how will you find out and what will you do about it> One unfortunately typical approach is to wait for something to go wrong, wait for the customer to complain, and then try to get the log files -- you did remember to log things in your code, right? -- and start reading through them. That's assuming, of course, that you can even get to the log files. After all, they might be on an unreachable remote machine, or the time you want to investigate may have already rolled off the logs. Author Romin Irani proposes an alternate approach:
In the Feature Article, Receive Application Errors via Yahoo Messenger, Romin shows how to extend the log4j logging framework, and to use the jYMSG library to provide a logging extension that sends log messages via instant messenger. With this arrangement, you can use your IM client as a fairly light-weight remote monitoring system, without going for the more complex and difficult options like JMX, SNMP, etc. In Projects and Communities, the JXTA Community has just announced two releases. The JXME 2.1 (Tantà) release provides a "reliable bidirectional communication profile" along with "significant bug fixes". Meanwhile, the JXTA Java 2.3.5 "Shebakia" release offers a number of bug fixes and "significantly improved performance for the rendezvous and relay peers." The next Jini webinar is scheduled for Wednesday, Sept 21 at noon EDT (16:00-17:00 UTC) and features Richard Nicholson speaking on "Complex Adaptive Systems, Jini, and the Enterprise DataCenter" Meanwhile, an MP3 of Jim Waldo's May 25 talk at the NYJava SIG, "An Architecture for Service-Oriented Architectures", is now available as well. Chris Campbell has good news about Java2D/JOGL Interoperability in today's Weblogs, including: "details (and screenshots) on the improved Java2D/JOGL interop story in the latest Mustang and JOGL builds... More improvements to the OpenGL-based Java2D pipeline in Mustang b51 (and b53)... And a big thank you to the attendees and event staff at JavaChina 2005..." Scott Schram says The XStream library offers clean, easy XML serialization of POJOs: "XStream serializes and restores very clean, readable XML from POJOs, with only two lines of code, no dependencies, and a BSD-style license." In Declarative UI and Principles of REST, Jacob Hookom writes: "HTML is declarative, XML is declarative, so is URI access (as REST promotes). If we can capture component frameworks in a truely declarative nature, then we can operate statelessly. How are we going to get there?" In Also in Java Today, "the Java API for XML Processing (JAXP) SAXParser or DocumentBuilder classes were [before J2SE 5.0] the primary instruments of Java technology XML validation. The new Validation API, however, decouples the validation of an XML document from the parsing of the document. Among other things, this allows Java technology to support multiple schema languages." The article XML Validation and XPath Evaluation in J2SE 5.0 looks at validation, XML schema, and the XPath API. "BackPack, Google Suggest, Google Maps, PalmSphere... All these websites show that web applications don't need to rely solely on pages being reloaded from the server to present changes to the user. Everything seems to happen almost instantly. In short, when it comes to designing a responsive user interface, the bar has now been set much higher." But client-side trickery is not easy to accomplish, and coordinating it with the server is even harder. In An Introduction to AJAX, David Teare examines the challenges of AJAX, and shows how the java.net project Direct Web Remoting (DWR) simplifies client-server communication. The latest java.net Poll asks how you would complete the sentence "I think AJAX..." Cast your vote on the front page, and then check out the discussion on the results page. In today's Forums,
In today's java.net News Headlines :
Registered users can submit news items for the 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 thejava.net News RSS feed. Current and upcoming Java Events :
Registered users can submit event listings for the java.net Events Page using our 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 java.net Archive. Getting pro-active when Bad Things happen »
Comments
Comments are listed in date ascending order (oldest first)
|
||
|
|