Skip to main content

The Flat Earth

Posted by editor on June 19, 2007 at 6:17 AM PDT

Swap your web MVC webapp pieces around

A flexible and dynamic development environment is currently a great concern, and even though scripting languages have shown they can be of help, we still need to create applications that can be maintained easily while giving us what we need during development. Recognizing the usefulness of scripting languages, Java SE 6 introduced the new Java Scripting API: a language-independent framework that allows developers to use scripting engines from Java code. With this new API, we can take advantage of the characteristics of the scripting languages where we need them most, while being able to use our well-known Java bag of tools.

In our Feature Article, A Dynamic MVC Development Approach Using Java 6 Scripting, Groovy, and WebLEAF , Daniel López uses not only scripting languages, but a highly decoupled MVC webapp approach that allows him to swap different views to render the results of the Groovy-scripted business logic. Check it out and see how you can use this flexible approach in your work.

In Java Today,
the jai-operators project recently posted a new build. jai-operators provides extension operators for use with the Java Advanced Imaging library. "It contains among other things an operator to apply any point
operation (such as pow() and sqrt()), an operator to apply the same
operation on a collection of images (the first renderable collection
operator!), a pipeline operator and the famous DFT3D and IDFT3D along
with a 3d periodic shift."

JSR 275, Units Specification, is in Early Draft Review, which specifies the programmatic handling of physical quantities and their expression as numbers of units. "Developers frequently encounter the need to model units of measure, because objects in the real world are subject to these measures. When working with units, developers need to understand the mathematics of units, how to convert between systems, and how to format and parse string representations of units. Most of this work can be consolidated into one or two Java packages, which is a primary aim of this JSR." The Early Draft Review ends on July 8.

The latest episode of the Java Posse podcast devotes much of its time to the recent dust-up over Neal Gafter's trial balloon of removing checked exceptions from Java (in order to simplify closure proposals for JDK 6), and Elliotte Rusty Harold's spirited defense of checked exceptions. Digging into the issue in detail, they note that the absence of checked exceptions from dynamic languages is something of a false comparison, as checked exceptions are really meant for use with statically-typed languages like Java.

In today's Weblogs.
Brian O'Neill looks at
JBI as a Convergent Communication Platform.
"Java Business Integration (JBI) may prove the best environment in which to develop convergent communications applications that (once and for all) integrate the disparate networks (XMPP + SIP)."

Ludovic Champenois shows off NetBeans' latest
GlassFish Tooling:
"Today is feature freeze date for NetBeans 6.0 Milestone 10, and here are a few of the new features rolling in from the GlassFish's perspective."

Finally, in No More Java DB Password in The Clear, David Van Couvering writes,
"this blog tells you how to configure the Java DB client so it doesn't send the password in the clear."

In today's Forums, alanb
explains the details of a GC-related crash, in
Re: jdk1.6.0rc crash .
"When you "discard" a direct buffer then the memory is not released until the buffer become finalizable so you are dependent on timely GC/reference processing for the memory to be recovered. This can be a problem in some environments and in this case you run out of virtual memory before a GC occurs and this causes the VM to terminate. "

johnlon makes a call for OS-specific feature support in
Re: Which JSRs do you think should be proposed?
"I am truely gobsmacked by the suggestion that WORA should take precedence over offering common features required by real systems (write once run on a single OS family). I think its at least 10 years since support for sym links was requested. Pretty damning."

Finally, terrencebarr talks about the scope of the Mobile & Embedded community in the reply
Re: I am not interested in Phones or Games, just small footprint embedded Java.
"A testament to the embedded nature is that fact that the Embedded Java Community ( chose to join the Mobile & Embedded Community very early on. We have many experienced Java ME developers and experts in this community so I think the chances of finding like-minded folks here who are interested in topics beyond mobile are good. I would encourage you to take the initiative and start to get involved. "

Current and upcoming Java

Registered users can submit event listings for the href=""> Events Page using our href="">events submission form.
All submissions go through an editorial review before being posted to the

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 it will be
archived along with other past issues in the href=""> Archive.

Swap your web MVC webapp pieces around