Owned by @Macarlo Networks, Inc.
ONLINE SINCE 1997

 

 
Now you can register your domain here at special price!

Java Lobby
Online


Macarlo Now Hosts 2 Shows:

http://macarlo.com
Hardware & Software, News & Reviews
OVER
30 MILLION VISITORS ON 2002!!
http://macarlo.net
Web Design & Hosting on UNIX Standard 

In Affiliation with CNET, Inc.

@MHardware Online
Buy secure hardware now

@MacarloSoft Online
Buy secure software now

Host for Very Special People?
 

HOST ME NOW!!

=@MACARLO MICROSOFT=  =@MACARLO YAHOO=  =@MACARLO WEBALIAS=  =@MACARLO ALTAVISTA=

 

 CodeBrain.com Free Java

 

Javalobby logo image
Tuesday, July 25, 2006  
 Perspective


Be sure and
check out a
No Fluff Just Stuff
Java conference
coming your way!

7/28-7/30 Phoenix
8/04-8/06 Cincinnati
8/18-8/20 Newark
9/15-9/17 Seattle
9/22-9/24 Calgary
9/29-10/01 Boston
10/06-10/08 Atlanta

 
 A Developer's Perspective
 Next section
Rick Ross is the founder of Javalobby. He is a frequent speaker at Java-related events and a well-known advocate for Java developer interests..

Rick Ross, JavaLobby FounderDon't forget the simple solution (like I did)

We needed to modify the firmware of a specialized device today, and doing so required that we actually have a computer with a parallel port. My, how times have changed! Neither my laptop nor my desktop machine has any serial or parallel ports, although there must be at least 8 USB ports on my desktop, if not more. At first I had mistakenly thought the 25-pin, male connector was an old-fashioned serial port. I was looking all over for cables and adapters to get the device connected to one of the older machines we have running upstairs as a local server - those being the only machines here that have any serial ports.

I located a cable and adapter combination that allowed me to get things plugged in, but the device programming software wouldn't work. A little more research revealed that it was a parallel port, not a 25-pin serial port. Luckily, Matt's desktop machine has a parallel port, so things were looking hopeful. We tried the only cable which matched the genders of both ends, but it was apparently not correct, and I started to think we were out of luck. There was little hope of finding the correct cable in the spaghetti heap of dozens of tangled up, old cables we have heaped into a bin in the back closet. Then came Mike's moment of brilliance for the day. "Don't worry about the cable," he said, "just plug the thing straight into the port."

The simple solution… the one right at your fingertips, so obvious that you can't believe you overlooked it. That's the one most of us really want, although it's incredibly easy for any of us to overcomplicate our development problems and miss solutions that don't require any ingenuity at all. Mike brought that concept front and center for me today with his clear-minded suggestion (which worked perfectly, by the way.) We plugged the device's 6-inch ribbon cable straight into Matt's parallel port and got the job done in minutes. I couldn't help wondering how many times we have encountered similar circumstances in our software projects, struggling to devise elaborate workarounds when the simple solution should be drop-dead obvious. It's food for thought.

Not So SimpleDateFormat
Speaking of simple, we also had a headache today with Java's ironically named "SimpleDateFormat." A utility we're creating to support dzone.com uses the Rome library to fetch and parse news feeds from a number of sources. Simple enough, right? Not on your life! One of the feeds we need to work with uses the Dublin Core extensions to provide metadata that enhances the limited information included in standard RSS. The <dc:date> element permits a wider range of acceptable formats than its RSS counterpart, and the feed we wanted to parse uses one which we hadn't previously encountered. Some investigation led us to believe the date format, which includes a decimal fraction of a second with six digits of precision, should be considered correct and acceptable in the context.

Nonetheless, this particular date format was giving the Rome library a bad case of indigestion. The problem turned out to be that Rome uses SimpleDateFormat to parse dates, and apparently SimpleDateFormat is simply not able to parse a 6-digit decimal fraction of a second (in effect, microseconds.) SimpleDateFormat is willing and able to parse milliseconds, but if you have microseconds your out of luck. No problem, you say, isn't it just a trivial matter of ignoring the three least significant digits? Nope, it doesn't work that way, and you cannot apparently instruct SimpleDateFormat to ignore data by pattern. Characters in your format string are either interpreted or not, but the characters which are not interpreted must be quoted literals - wildcards and patterns aren't allowed. There's no way for the format string to say something like "ignore the next three characters of input."

We managed to work around the problem in this instance by writing a modified version of Rome's DateParser class. Thankfully we were able to just copy the original Rome class, make the necessary mods, and put the compiled class into our classpath so it overrides the one in the jar file. It's poor form, but doing the job in a more proper way would have required a ton more effort for limited additional benefit. It just wasn't worth the hassle and expense. Our compromise will do the trick, even if it stinks of being a dodgy hack. Remember, all we really wanted to do was read and parse a valid RSS feed.

The date format we needed to read is valid according to both ISO and W3C specifications, and it's really not unreasonable for a date to have this level of precision even if you may not often need such precision. Since SimpleDateFormat can't be coaxed into digesting it, there doesn't seem to be any reasonable workaround that does not include munging the date input string before feeding it to the parser. Rome is a super-handy Java library for reading and publishing all kinds of feeds, but this valid feed will never work in Rome unless the library overcomes the limitations of the underlying SimpleDateFormat for date parsing. Not so simple after all, but nothing about dates in Java is simple, is it?

Until next time,
Rick Ross
rick@javalobby.org
AIM or Yahoo Messenger: RickRossJL

 
 News From the Front
 
 News from the Front
 Next section
 Back to top
Matthew Schmidt is the man behind the scenes at Javalobby. If you have questions or concerns, feel free to email him at matt@javalobby.org.

Matthew Schmidt, JavaLobby Lead Developer Preparing for a major upgrade

Yes yes, I know that each week I write about this upgrade or that one, but hopefully by this time tomorrow we’ll have successfully completed one of the upgrades that I’ve been putting off for some time now.  JavaForge has come a long way since we launched it less than a year ago, and now it’s time to give it its first overhaul and makeover.  We’re going to be upgrading to the latest version of the Codebeamer software.  This update has been a long time coming and I have to admit, just a little bit scary.  Fortunately, I think we’ve overcome some of the major issues blocking it and we’ll be holding our breath tomorrow when we roll it out to see whether it stands up to the test of the traffic of JavaForge. 

So, enough about the stress that comes with the upgrade, what goodies can we expect from this upgrade?  First, the user interface has lightened up a bit.  It’s not quite so dark and 1990s.  The first major feature you’ll find is that you won’t need to always see EVERY project along the left-hand side.  There are these things called “working sets” which let a registered user choose the projects to see along the side.  By default, there are two options, “All” or “I’m a member”.  You’re likely going to want to see the “I’m a member” list, which is much more useful.  You can also create your own sets for a completely different set of projects, perhaps some you’re watching.  The next update is that the wiki support is now pervasive throughout all descriptions and pages.  You can use wiki syntax everywhere and even get a huge wiki space to do whatever you want with it.  While this might seem like old hat, you should check out the “Wiki Plugins” that Intland has introduced.  Check the help files as you’re editing a field that supports wiki to see some of the examples and how to use the new plugins. 

The new version also answers a recently requested feature of JavaForge users – commit notification from subversion and CVS.  I’m not entirely sure how these particular features works, but again, check out the help link.  In addition to the smattering of new features, there are tons of bug fixes since the version that we’ve been running and we have some nice ideas for making JavaForge feel more useful and be more of a community.  For the full list of changes since the version we’re running, check out the changelog on the Intland site.

Java can look good and do multimedia too!
One of the two major complaints about Java as a platform is that it looks like crap and doesn’t have any support for real multimedia.  This morning, Riyad posted a nice find (which it turns out I had seen via Romain Guy but didn’t realize it) called ionDB.  Ion is self-described as “the Media browser for finding, managing and experiencing web podcasts, videos and photos!”  It’s written in Java, looks good, and has a ton of features for managing your podcasts and mp3s.  It also appears to have some nice integration with iTunes and it’s been reported that it calls out to the host operating system to play any of the video types that the OS supports.  In my limited trials on Windows, it felt fairly snappy and the video streaming was very smooth.  There’s no doubt that it still needs a little work, but they’re also headed in some interesting directions with sharable playlists.  From the ion homepage you can browse the playlists of other users and add them to Ion (or any other player that supports it such as iTunes) via a special RSS feed.  Nice job guys, it’s good to see Java on the desktop producing excellent multi-media applications.  Also, if you’re looking for another slick multi-media application written in Java, check out SimpleCenter.  It’s on its way to being open sourced and while it seems it only works on Windows, it looks pretty damned good.  Check it out. 

Only a few more podcasts to go
We’ve been working furiously to finish producing our initial EclipseZone Callisto Podcast series and we’ve only got 1 (with maybe an extra one) left to go.  This morning we launched episode number 6, which is an interview with the CDT project lead, Doug Schaefer.  While it’s not strictly Java, it’s interesting to see how people are adding support for other well-entrenched languages such as C++ and C#.  Tomorrow, we hope to have one more episode up and running for the hundreds of people subscribed to our podcast feed.  Episode 7 covers BIRT (Business Intelligence Reporting Tool) and should be an interesting one to listen to.  Jason Weathersby is one of the participants and is also an active member at EclipseZone.

So, now that we’re approaching the end of our initial podcast experiment, we’re wondering: should we do more?  We seem to have found a reliable way to do podcasts and decent transcriptions of the audio, so I don’t believe it would be that complicated to do some of these on a somewhat regular basis.   Would more podcasts be interesting?  If so, what would you like to hear in the ‘casts?  News, interviews, beer drinking and jokes?  We’re open to any suggestions that you guys might have, so send them to the editors.  They like getting mail anyway!

Until Next Time,
Matthew Schmidt
matt@javalobby.org
Yahoo IM: mattschmidtjl

 
 The Pulse
 
 The Pulse
 Next section
 Back to top
Erik C. Thauvin maintains a blog , as well as one of the web's first and most popular linkblogs, which he updates daily with the latest Java and technology news.

Erik C. ThauvinPicks of the week:

Tip of the Week:

Java Performance Tuning Tips

Tutorial of the Week:

Ease the integration of Ajax and Java EE

Notable Software Releases:

Advanced Installer 4.2 For Java Aware IM 2.0 Big Faceless PDF Library 2.7
Click 0.21 Click Framework 0.21 Compass 1.0
ConsultComm Project Timekeeper 3.2 Beta 2 DEMOS 0.9.0 DiffJ 1.0.6
GeoServer 1.3.3 Hyperic SIGAR 1.2 ICEfaces Enterprise Edition 1.0,
java-diff 1.0.4 JavaSVN 1.1.0.beta3 JDataGrid Spreadsheet Edition 1.9
JGAP 3.0RC2 JGraph 5.9.2 JOELib/JOELib2 2006-07-25
Json-lib 0.6 jsp File Browser 1.2 jsXe 0.5 pre2
JVoiceXML 0.5 JVoiceXML Release 0.5 launch4j 3.0.0-pre1
Mars Simulation Project 2.79 Mirth 1.0.1 ModSecurity Console 1.0.0-rc-5
MySpace Data Mining Tools 1.0 OpenReports 2.0 OpenSign 1.5.0
POMStrap 1.0.4 Pulse 1.1 (Beta) QDWizard 1.5
Restlet 1.0 beta 17 Scala 2.1.7 ServingXML 0.5.2
SkinLF 6.7 TestNG 5.0 UIMA SDK 1.4.2 for Linux
UMLGraph 4.4 Web Fast Forms 1.0 Beta 3 Wicket 1.2.1
XFire 1.2-RC YourKit Java Profiler 6.0-EAP16

The Truth is Out There...
Erik C. Thauvin
erik@javalobby.org

 
 Popular at JL
 
 Popular at Javalobby
 Next section
 Back to top
A recap of some of the most popular and active Javalobby.org discussions this week.
A new breed: Framework Java Coder?

This was supposed to be just another technical interview...But it turned out to be a conversation with a new type of a Java programmer. This is scary.

Full Discussion Posted By: Yakov Fain - (56 Replies)

Static factory methods vs Java collection API and best practice

Some of the features like searching, sorting, shuffling, immutability etc are achieved with java.util.Collections class and java.util.Arrays utility classes.

Full Discussion Posted By: akpillai - (26 Replies)

App Server Who's the best ?? Sun - Oracle - IBM - BEA

Application Servers, who's the best?? Oracle, BEA, Sun and IBM. The 4 providers said that they're better than the other ones, but that's not an objective vision of my problem.

Full Discussion Posted By: Carlos Carrizosa - (19 Replies)

Creating Passionate Users: Ignore the Competition

Kathy Sierra, an author in the Head First Series, has an excellent entry on resisting the urge to add a feature "because your competitor has it". Check out why she says we should focus on the user.

Full Discussion Posted By: Matthew Schmidt - (16 Replies)

NetBeans to support JavaScript, Python and Ruby?

In just a small mention at the bottom of the open sourcing Java article, there was a tidbit about NetBeans support languages such as Ruby. Is it really true?

Full Discussion Posted By: Matthew Schmidt - (11 Replies)

 White Papers & Announcements
 
 White Papers
 Next section
 Back to top
Technical papers & research related to Java development.
Mapless POJO Persistence in an Object DB

Download Full White Paper Posted by: InterSystems

 Product Announcements
 Next section
 Back to top
Product and service announcements for Java developers.
IBM Structural Analysis for Java

IBM’s Structural Analysis for Java (SA4J) provides structural analysis, anti-pattern detection, dependency web browsing, a graphical view of an application’s structure, and more.

Full Announcement & Discussion Posted By: Rebecca - (0 Replies)

Launch4j 3.0.0-pre1 Cross-platform exe wrapper

Cross-platform Java executable wrapper for creating lightweight Windows native EXEs. Provides better user experience.

Full Announcement & Discussion Posted By: Grzegorz Kowal - (-1 Replies)

Aranea 1.0 M4

This milestone includes enhancements to UiLib, improved handling of internal class loading, means of communications between popups and extension defining mechanism

Full Announcement & Discussion Posted By: Jevgeni Kabanov - (-1 Replies)

Surface 1.4 - PSD, PDF, TIFF, VXP video

Surface is an innovative tool that lets you prototype Java 2D renderers in Javascript. The API is based on Graphics2D. (Stock JDK) PNG, JPEG, GIF (QuickTime) PSD, PDF, TIFF and more.

Full Announcement & Discussion Posted By: Jan Erik - (-1 Replies)

Hong Kong JUG - Java EE and .NET Interoperability (Aug 05, 06)

Laurence Moroney will go into the different strategies that may be used to knit applicaitons built on the different types together.

Full Announcement & Discussion Posted By: Willie Vu - (-1 Replies)

UMLGraph 4.4 released

A new UmlGraphDoc doclet generates context and package class diagrams integrated with the standard javadoc output.

Full Announcement & Discussion Posted By: Andrea Aime - (0 Replies)

Pulse Continuous Integration Server 1.1 (Beta)

Zutubi is proud to announce the first public beta release of the Pulse automated build server, version 1.1. This new release includes dozens of new features and improvements.

Full Announcement & Discussion Posted By: Jason Sankey - (0 Replies)

Json-lib 0.6 released

JSON-lib is a java library for transforming beans, maps and XML to JSON and back again to beans and DynaBeans. It is based on the work by Douglas Crockford in http://www.json.org/java.

Full Announcement & Discussion Posted By: Andres Almiray - (0 Replies)

JDataGrid Spreadsheet Edition 1.9 Released!

JDataGrid Spreadsheet Edition provides a data grid, a spreadsheet style table, support some features such as row header, cell attributes, cell merge and split, undo and redo, and more.

Full Announcement & Discussion Posted By: Fuqiang Zhao - (0 Replies)

Exadel Announces Support for WTP 1.5 and Eclipse 3.2

The New release of Exadel Studio Pro, version 4.0, has support for WTP 1.5, Eclipse 3.2 and leverages new technologies for Enterprise Web Development

Full Announcement & Discussion Posted By: Tatyana - (0 Replies)

Advanced Installer 4.2 For Java - Windows Installer Authoring Tool

Caphyon LLC is pleased to announce the release of Advanced Installer For Java 4.2, a Windows Installer authoring tool with built-in support for Java applications.

Full Announcement & Discussion Posted By: Catalin Rotaru - (0 Replies)

Jsp File Browser 1.2

New version of the web based file administration tool Jsp File Browser with a lot of new features and some bugfixes.

Full Announcement & Discussion Posted By: Boris von Loesch - (0 Replies)

Wicket 1.2.1 available

The Wicket project has released the maintenance release Wicket 1.2.1. Wicket is an open source, Java component based web application framework using just Java and HTML.

Full Announcement & Discussion Posted By: Martijn Dashorst - (0 Replies)

Web Fast Forms 1.0 Beta 3 - Web Development Framework

Web Fast Forms (WFF) is a web application development framework for Java programmers. It is especially targeting programmers that develop administrative web applications based on a relational database

Full Announcement & Discussion Posted By: Martin Bergljung - (2 Replies)

IBM releases Eclipse foundation Callisto WTP and GMF

IBM has just released two value-added Eclipse 3.2 bundles that include key projects in the Callisto release: Web Tools Platform (WTP) and the Callisto Graphical Modeling Framework (GMF).

Full Announcement & Discussion Posted By: Frank Carlos - (0 Replies)

Excel style selection in the new Java Calendar Component v 4.1

Anticariat Online LTD is proud to announce a new release of Java Calendar Component. The major change in our latest version 4.1 is the excel style selection.

Full Announcement & Discussion Posted By: Gigel Chiazna - (0 Replies)

IntelliJ IDEA 6.0 and TeamCity features announced

The full list of features for IntelliJ IDEA 6.0 release and TeamCity - new product from JetBrains - is now available.

Full Announcement & Discussion Posted By: Alexandra Rusina - (4 Replies)

Java Implemented UIMA SDK v1.4.2 for Linux

IBM’s Unstructured Information Management Architecture (UIMA) SDK v1.4.2 has been improved to fix several bugs and limitations associated with UIMA's Vinci- and SOAP-based services.

Full Announcement & Discussion Posted By: Rebecca - (0 Replies)

Click Framework 0.21 release

Click Framework release 0.21 is now available. This is the last new feature release before the 1.0 release scheduled in August 2006.

Full Announcement & Discussion Posted By: malcolm edgar - (1 Replies)

CAPXOUS AutoComplete 1.0.1

An AJAX autocomplete component make your software sizzle. # July 19, 1.0.1 released. Quick release that fixes a serious bug of 1.0. # July 16, 1.0 released. Support .NET Web Service.

Full Announcement & Discussion Posted By: Cheng Guangnan - (0 Replies)

 Your Account
 
 Your Account
 Next section
 Back to top
Manage your account info for this and other Javalobby publications.
Manage your Javalobby membership details

Click on the following links to:


 Contact Info
 Next section
 Back to top
Here's how to reach us, we love to hear from you.
Email us
Send news items to editor@javalobby.org
Send questions, complaints, or suggestions to feedback@javalobby.org
Send advertising inquiries to advertise@javalobby.org
 
Call us
Our number is (919) 678-0300. We'd love to hear from you!

 Legal
 Back to top
The fine print we'd rather avoid completely.
Feel free to redistribute this newsletter in part or in full to your friends.

Javalobby News is a service mark of DeveloperZone, Inc.
Copyright ©2001-2006 Javalobby, Inc.

 

@Macarlo, Inc.
@Macarlo's Shareware & Web
OS/2
Java Lobby Member
Java Site Accredited

[TOP] [HOME] [INDEX]