Give a Little Bit
Adapting AJAX Incrementally
One protest against new frameworks and tools is how often the baby gets thrown out with the bath water. If you're already invested in one approach, switching a new one often requires throwing away some or all of your existing work. Switch to Ruby on Rails and you have to throw out all your existing Java knowledge too. Is this truly necessary?
Today's Feature Articles takes more of an incrementalist approach. In Sprinkle Some AJAX Magic in Your Struts Web Application, Paul Browne looks at how you can start adding AJAX features to the client side of a Struts-based web application, without having to throw out your old work, or Struts itself. As he points out "Since AJAX is a technique, not a framework, it is straightforward to add it to Struts."
This incremental approach to working the new into the old "allows us to reuse our existing investment, not only in code but also in developer skills. As a nice by-product, it also allows us to write cleaner, more reusable, Java Struts applications."
John Reynolds has a little fun at AJAX's expense in today's Weblogs. In
AJAXOffice, the next big thing, he asserts:
"Contrary to Jonathan Schwartz's 'common sense' views, rewriting OpenOffice in AJAX will revolutionize the software industry, reduce global warming, and promote good posture."
Kohsuke Kawaguchi has some useful advice about
Tools for java.net project owners:
"Those of us who run projects on java.net knows how painful the java.net web interface can be sometimes. Simple things like adding a person to your project take multiple mouse clicks, and when pages load slowly (like just now!), it can quickly kill your productivity. Today, I'm going to talk about the java.net tools that solve this problem."
Java significance, Felipe Gaucho writes:
"These days I was explaining to a cartoon designer about the need of a logo for my OpenSource projects, and he asked me about the theme he should use in order to create such logos. I gave him some words like freedom, technology and JAVA and we started to discuss about something different, something very creative. 'Java?' he asked me - 'Yes, Java I answered' - the strange spot of this conversation was due to the several meanings for this exotic word: Java."
Thinking in Java author Bruce Eckel is asking for some help with the next edition, via his Artima blog entry Use cases for Generics. "Trying to pick them apart in previous weblogs and in the chapter, I finally realized that each example of generics that you see is usually comprised of multiple use cases, which can make them confusing to learn from. So I've started a list of use cases, where I try to focus on only one issue of generics for each item in the list. What I'm hoping you will do is to look over this list and see if there are any (A) improvements and (B) additions that you can make."
New uses for aspect-oriented programming are described in Add Object Cache Monitoring Using JMX and Aspects, in which Srini Penchikala describes his company's strategy for using and monitoring an object cache. "We wanted to use the Java Management Extensions (JMX) technology for this requirement, but didn't want to change any existing application code because we weren't sure how much overhead the monitoring code would add. We decided to use Aspect Oriented Programming (AOP) techniques to dynamically introduce JMX code into existing Java classes and get the cache statistics that way."
In Projects and
the article Sun's Jini Upgrade To Ease Integration Dev interviews the Jini Technology Team about the recently-released and Apache-licensed Jini Technology Starter Kit 2.1, as well as Jini's applicability in realms such as grid computing, edge networking, and e-business applications.
The JDK Community home page is featuring the SDN article Use Profile Feedback To Improve Performance, which describes how to use information collected by the profiler in a subsequent re-compile of the code, allowing the compiler to make optimizations based on how the code actually executes at runtime.
In today's Forums,
linuxhippy wants to know
How to get statistic about Locks?
:I know the Mustang-debug-build has one of those favourite -XX+Print options for lock-statistics, however I've read it once and now I can't remember anymore. Does anybody know the parameter name for to enable printing lock statistic?"
Continuing the debate Re: Pass by reference - why not?,
"If you are getting multiple unrelated values out of a method, you have a SERIOUS problem in the design of your code.... Trying to make Java more like C is totally breaking the whole idea of Java, especially when you start talking about pointer-like constructs. I would rather go the other way, i.e. even Objects passed as parameters should not be allowed to be modified (at least not without a compiler check that the caller understands this will happen)"
In today's java.net
News Headlines :
Maven Continuum 1.0 Final
- ActiveMQ 3.2
- Jakarta HiveMind
- JavaZone 2005
Videos Now Available
Interfaces Visualizer - 3D UI Framework
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
- October 28-30, 2005 - Northern Virginia Software Symposium
- November 1-4, 2005 - Enterprise Java Architecture Workshop: San Francisco
- November 4-6, 2005 - Lone Star Software Symposium 2005: Dallas Edition
- November 8-10, 2005 - JavaOne Tokyo 2005
- November 11-13, 2005 - Rocky Mountain Software Symposium 2005: Fall Edition
- December 7-10, 2005 - The Spring Experience 2005
- December 10-11, 2005 - Weekend With Experts
- December 10-14, 2005 - ApacheCon 2005
- December 12-16, 2005 - JavaPolis 2005
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.
Adapting AJAX Incrementally