Posted by editor
on June 19, 2007 at 6:17 AM PDT
Swap your web MVC webapp pieces around... also:
Feature Article: A Dynamic MVC Development Approach Using Java 6 Scripting, Groovy, and WebLEAF
Java Today: jai-operators project, JSR-275 early draft review, and Java Posse on checked exceptions
Weblogs: JBI convergence, GlassFish tooling, and how not to send your JavaDB password in the clear
Forum Posts: Direct buffer crashes, single-OS features, and ME beyond phones and games
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 .