Posted by editor
on February 27, 2006 at 4:33 AM PST
Back to the browser... also:
Spotlight: Ask the Java Plug-In experts
Weblogs: Cleartext passwords, JSF and AJAX, and service-oriented mashups
: Spring JMS and migrating JDBC DAO's to EJB 3.0
Projects and Communities: Seneca research and Jini surrogate projects re-licensed
Forum postings: Framework stability and dialogs for uncaught exceptions
Back to the browser
Do you remember the Applet Era? Back in 1.0, before Servlets, or even the Java Web Server, before Swing, back at the beginning of Java, most code was written either as command-line utilities or as applets. For the GUI crowd doing applets, it helped that getting a free ride from the then-popular Netscape browser was providing our potential user-base with a runtime. If only it had gone better -- the move from 1.0 to 1.1 (and its radically overhauled AWT event scheme) was a train-wreck on Netscape, sent out in bits and parts in minor verions of the Netscape browser. Perhaps the worst problem was that the Mac version shipped with a brain-damaged Frankenstein version -- 1.0 for the AWT and 1.1 for everything else, so your code couldn't even look at the version system property to figure out what to do.
The Java plug-in helped solve these problems by standardizing browser access to Sun's JRE. While applets have dropped off the radar for many, they still work and are still supported.
In this week's
Sun's Ask the Experts page is featuring members of the Java Deployment Team answering questions about Java Plug-In Technology . If you're working on getting your code to run in a browser, Sun staffers Dennis Gu, Danielle Pham, and Mike Lei will be taking your questions all week.
Krishnan Viswanath presents A simple utility
in today's Weblogs .
"Often, a password is embedded in source as clear text. No corporate risk management folk would approve of exposing passwords, which would potentially expose access to sensitive data. Here is a partial solution that addresses technology by extending the IDE and by using Java 5 Annotations."
Jacob Hookom describes a
New Feature for JSF 1.2 :
"In order to solve some misconceptions with JSF's API and to setup a platform for partial processing (AJAX), we've add a new method to JSF 1.2. For this blog, I'm going to summarize it a bit and provide some ideas for extension."
In Service Oriented Mashups , John Reynolds writes:
"What can Service Oriented Architects learn from Mashups? Aren't mashups just about fluffy browser stuff? NetBeans 5.5 may just change that."
In Also in
Java Today ,
by-the-book JMS development means boilerplate code to resolve a JNDI
context and manage a JMS session; it takes a lot of work, or a lot of
copy-and-pasting, before you're ready to start exchanging messages. The
Spring Framework helps do away with this by providing a "template"
abstraction that isolates Spring developers from the boilerplate, version
differences, and other drudgery. In Asynchronous Messaging Made Easy
With Spring JMS , Srini Penchikala provides an overview and examples of
how it works.
"Data Access Objects (DAO) is a popular design pattern for building the persistence layer of a J2EE application. Developers use this design pattern primarily to separate their JDBC code from business logic. The EJB3 Java Persistence API, which defines the persistence API for the Java platform based on O-R solutions such as Oracle TopLink and JBoss Hibernate, lets developers skip the mundane task of building DAO and JDBC code." But what if you've already rolled your own DAO? In Migrating JDBC Data Access Objects to Use EJB3 , Debu Panda reports that performing this migration on the J2EE Adventure Builder Consumer web site reduced the code size by 16% and the class count by 36%.
In Projects and
the Seneca project is a effort to use open source methodologies for research and analysis. The project is being used to create a paper called "SOA at the Edge". The goal is not to create a "perfect" paper, but to investigate open-source dynamics. The first version of this paper has been uploaded and is available from the project's CVS repository.
Sun has re-released the jini.org projects Surrogate and IP Surrogate under the Apache License, v. 2.0. The various surrogate projects provide a means for devices to participate in a Jini federation even if they are unable to perform certain Jini requirements, such as downloading and executing Java classes on the fly.
In today's Forums ,
dav0 contributes an analysis and some criticism on
Re: why Java3d is not widespread :
"Keep in mind that when large companies drop down millions of dollars in the adoption of a new platform, they can't afford to jump ship a year later when Sun decides to start selling Java Server Faces or some new framework. First of all, the chosen framework is seldom used as is, but customized layers are built on top of it to both work around problems, as well as improve upon it. These sorts of application development projects take years to complete and funding for these sorts of rewrite projects is not perpetual."
Re: Display alert dialog box for all uncaught exceptions ,
"If you don't have the liberty to develop the mechanism, then study the source of JOptionPane and see how it does its dialogs. Or maybe use a JOptionPane for the notification mechanism instead. Be warned though, if your message is big you will probably need to pass in your own widget to control the sizing of the message. Ive put a patch out for that problem in the Collab project, but I believe things are on hold to see if developing multi-line labels will help solve the problem."
In today's java.net
News Headlines :
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
- March 3-5, 2006 - Gateway Software Symposium
March 6-9, 2006 - Enterprise Java Architecture Workshop Dublin
- March 6-9, 2006 - O'Reilly Emerging Technology Conference 2006
March 10-12, 2006 - New England Software Symposium
March 11, 2006 - JCO JUG Meeting
- March 11-12, 2006 - Weekend With Experts
March 15, 2006 - JavaUK06
- March 17, 2006 - 3rd IEEE International Workshop on Mobile Peer-to-Peer Computing (MP2P'06)
March 17-19, 2006 - Twin Cities Software Symposium
March 21-22, 2006 - Java Expo '06 at Sun Tech Days Madrid
March 23-25, 2006 - TheServerSide Java Symposium
- April 7-9, 2006 - Greater Carolina Software Symposium 2006
- April 11-12, 2006 - Sun Tech Days - Sao Paulo
- April 20-21, 2006 - Sun Tech Days - Moscow
- April 21-23, 2006 - Western Pennsylvania Software Symposium 2006
- April 24-27, 2006 - MySQL Users Conference 2006
- April 25-28, 2006 - Enterprise Java Architecture Workshop Toronto
- April 28-30, 2006 - Northern Virginia Software Symposium
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
Back to the browser