O'REILLY NETWORK'S ONJava.com NEWSLETTER
--------------------------------------------------
The Independent Source for Enterprise Java
==================================================================
Learn how easy it is to extend Web applications to phone
users. Reusing Web applications can reduce development
time for building voice and touch-tone applications by up to
80%, resulting in lower costs and faster ROI. SandCherry
extends web-based apps to voice - download free white paper.
http://www.sandcherry.com/resource.html
==================================================================
Greetings...
With J2SE 5.0 still the focus of much discussion and investigation,
here's a look back at some ONJava articles that take 5.0 in
unpredictable and innovative directions. I love pieces like
these that move beyond the typical use cases--like how most
introductions to aspect-oriented programming show how to use
it for logging--and instead put Java to some surprising uses.
For example, when I first saw J2SE 5.0's generics, I thought
"yay, now I don't have to do a potentially wrong cast when
pulling an object out of a collection." But Arjan Vermeij saw
more. In A Generic MVC Model in Java, he shows how generics
can "genericize" the boiler-plate code used in developing
model-view-controller (MVC) arrangements. Instead of having
to write listener handling and event notification code over
and over again, Arjan moves this code into generic model and
listener classes.
http://www.onjava.com/pub/a/onjava/2004/07/07/genericmvc.html
Bill Burke takes two new programming paradigms--aspect-oriented
programming and metadata (aka, "attributes")--and combines them,
using the attributes to mark the point-cuts where AOP code should
execute. In Aspect- Oriented Annotations, he shows how this
combination effectively allows him to create his own Java syntax.
In one example, he creates the attribute @Oneway, which indicates
that a method is to be fired off in its own thread.
http://www.onjava.com/pub/a/onjava/2004/08/25/aoa.html
Those of you who've been using JDBC for a while are probably
used to the routine of getting a connection, executing a query,
getting a result set from that, and iterating over the results.
But keeping this database connection open while working with
results is less than optimal in high-load enterprise environments.
In Using CachedRowSet to Transfer JDBC Query Results Between
Classes, Sean Eidemiller shows an alternative--quickly populating
a CachedRowSet and releasing the database connection, then sharing
the CachedRowSet around your application's classes as needed.
This approach has other advantages as well, such as pushing
changes back to the database with the CachedRowSet.
http://www.onjava.com/pub/a/onjava/2004/06/23/cachedrowset.html
Thanks, as always, for your support of ONJava.
Chris Adamson, editor
ONJava.com
==================================================================
SandCherry's AppDev(TM) VXML is an application development platform,
integrated with BEA WebLogic(TM) Workshop and Eclipse, allowing
developers to extend Web applications to phone and multimodal
users. Key benefits include: reduced costs, compatibility with
leading Web and voice platforms, and simplified development of
VoiceXML applications. AppDev VXML builds on the three-tier model
for Web applications by incorporating the voice and touch-tone
interactions into a "voice" presentation layer. By using this
model, developers can reduce application-building costs up to
80 percent by reusing the existing data access layer and business
logic already developed for a Web application. VoiceXML is the
leading standard for the development of applications using speech
recognition, touch-tone or text-to-speech elements. AppDev VXML
provides a standards-based solution for creating applications
compliant with any J2EE application server environment and VoiceXML
2.0 compliant browser, building them in a J2EE framework generates
VoiceXML commands for the VoiceXML browser running an application.
Similar to today's Web development environments, new voice-enhanced
application can be written and then tested on a laptop or network
server. SandCherry's AppTuner(TM) Tool provides a standalone
PC-based environment for testing applications built using AppDev
VXML or any VXML-compliant development tool. The AppTuner tool
provides a standardized framework for the real-time execution
of speech applications using the same speech technology resources,
such as a VoiceXML browser, an Automatic Speech Recognition (ASR)
engine and a Text-to-Speech (TTS) engine, as in a live service
deployment. The AppTuner realistically validates the flow,
the grammars, and the timing of speech applications. It eliminates
the need for a telephony board or a PSTN T1 line or hosted voice
portal to access an application. The end result is the ability
to perform quick prototyping and validation of applications
reducing the time to build and deploy new applications.
For more information contact SandCherry at Phone: +1 (720) 562-4500,
Toll Free: +1 (866) 383-4500, or Email: [EMAIL PROTECTED]
------------------------------------------------------------------
To change your newsletter subscription options, please visit
https://epoch.oreilly.com/account/default.orm and click the
"Manage My Newsletters" link. For assistance, email
[EMAIL PROTECTED]
------------------------------------------------------------------