Get logged into JavaLobby with just one click...
Tuesday, July 20, 2004  

Get a Free WebLogic Platform 8.1 Developer License

Get WebLogic BEA WebLogic Platform 8.1 offers powerful new functionality for building and integrating enterprise-class service-oriented applications - and you can get your own copy and development license for free. Download WebLogic Platform and get your free development license today. Check it out today.

 Perspective


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

7/23-7/25 Phoenix
8/06-8/08 Cincinnati
8/27-8/29 Columbus
9/10-9/11 Salt Lake
9/17-9/19 Dallas
9/24-9/26 Detroit
10/1-10/3 Chicago
10/8-10/10 Seattle
10/15-10/17Atlanta

 
 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 Founder A Little JSTL Goes a Long Way

(Please click for your free Weblogic 8.1 from BEA. Your visit to our sponsors is what makes Javalobby possible. Thanks!)

I had the chance to enjoy a great vacation at the beach with my kids last week. Although I was apprehensive about it, I am happy to report that I fared much better without a high-speed Internet connection than I expected to. How long it will be until we have genuinely ubiquitous and affordable broadband wireless connectivity available? It's an admission of how much of a primadonna I have become, but the 26.4Kbps dialup connection I could usually manage to obtain from my hotel room felt a lot like breathing through a straw. One night, in a combination of curiosity and withdrawal, Elizabeth and I did a little bit of war-driving and were easily able to find several beach houses with wide open wireless networks exposed. I shudder to think about the average user's level of network security.

It was sad to see BusinessWeek deliver such a scathing commentary on Sun chairman and CEO, Scott McNealy, as this week's cover story. Sun has finally just ended a long streak of money-losing quarters, and I know I'm not alone in feeling like McNealy could conceivably pull off the miracle it will take to breathe new life into his company. The exodus of top leaders from virtually every segment of Sun's operations has clearly hurt the company, however, and the Java technology we all care about cannot remain immune to Sun's hardship forever. BusinessWeek says it is time for Scott to leave, but if Jonathan Schwartz is the heir apparent, then I hope Scott will keep his position for a long time to come. This quote from the BusinessWeek article was notable: "When McNealy told other executives about Schwartz' promotion the night before the announcement, the silence on the phone was deafening, according to former execs." I guess the whole world of investors is looking poorly upon Sun right now, and it just makes me glad that I don't care much for business and investment. I'm happy those problems are Scott's and not mine, and I have no advice for him other than to be a helluva lot more grateful for the support he gets from a loyal developer community.

On a more positive note, Matt and I have been working hard on what I believe will be the best new addition to the Javalobby community in years. It has been truly exciting to work on something which I feel will genuinely benefit a large number of our developer members, and our progress is helping me move past my general disdain for the site in its current form. Hopefully by this time next week we will have been able to make an announcement of the new service and opened the doors to members for some preliminary testing. Keep an eye on the Javalobby website for more info soon.

This project has given me occasion to get much more familiar with JSTL, and I am solidly impressed by what can be achieved using JSTL alone with virtually no scriptlets and no back-end Java code whatsoever. If you are one of the people who are looking for ways to simplify your Java and increase productivity, then you may want to look into what you can do with JSTL and other taglibs such as those from the Apache Jakarta Taglibs project. We haven't even begun to focus on caching and optimizing, but the performance of our database-driven project with only JSTL is already much more than adequate. We'll see how it scales soon enough when you guys start to pound it, and I know you will!

IBM is reportedly making its entire arsenal of Java development tools easily available to university students. Thank you, Big Blue, for taking this proactive step to help ensure that the next generation of developers will have access to high-end Java tools in addition to the .NET suite that Microsoft has been so liberally spreading. This is meaningful leadership that is appreciated by all of us who want to see greater prosperity and longevity for Java developers, and it is good to see a major company behaving with enlightened self-interest that goes beyond what the analysts will say at the end of this fiscal quarter. Don't get me wrong, either, as I do not mean to suggest that only IBM has shown generosity or demonstrated leadership. All the major players, including BEA, Sun, Oracle, Borland, Apple and others have made material contributions to the overall well-being of the Java platform in the past year. Still, IBM has done more than most and deserves to be recognized for its continuing contributions. Without IBM's steadfast support Java could never have become the success it is today.

Finally, I understand from Will Pugh's JRoller blog that the code for the BEA Beehive project is now online. This sounds like a very substantial contribution in its own right, and I am looking forward to seeing what BEA has included. According to Will, if you wish to download the code you'll need to install Subversion. He has kindly provided instructions for exactly what you need to do in this blog entry. Enjoy, and please let me know what you think about Beehive if you check it out.

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 Where Do You Get Your Java Resources?

Whenever I’m deep in the zone working on some new piece of software, I inevitably need to look something up. Each time, I have to start over with my search – going through Google to try and give some semblance of organization to all the information that exists in our space. Right now Java resources are spread out over tens of sites with no real linking between the resources on all the separate sites making it hard to remember what you’ve seen and how they work together with and relate to the resource you’re currently reading.

One of the things we’ve been trying to do at Javalobby is improve the types of resources that we offer. While many of you haven’t yet seen the effects of this on the public site, it really represents a shift in what we’re all about. While Javalobby may have had more of a political bent in prior years, we are actively working to increase the value and range of our services to the Java community as a whole. To help further our goal, we’d love some feedback from you guys. When you’re looking for resources, where’s the first place to go? Is it TSS? Is it JavaRanch? Java.net? Javalobby perhaps? We totally understand that Javalobby isn’t necessarily the first option for Java knowledge resources, but I want everyone to know that we’re actively working to change this perception. So, to help our team make this change a reality, please send us your feedback. Let us know where you get your resources, what makes those sites so great, and how we can make Javalobby into a place you want to visit each and every day. We value the opinion of each and every one of our readers and I hope that we hear from lots of you.

Fun With JSTL

Over the past two weeks Rick and I have been working on a site using JSTL, JSPs, and plain SQL. In the age of O/R mappings, MVC frameworks, and IoC, we decided to simplify things. I have to admit that so far I’ve been very, very impressed with the performance and speed of development. While many people will probably chastise us, being able to execute SQL queries with a JSP tag has been a breeze and has made getting right to our data easier than any other method I’ve tried on the web front end.

Now, some of you may be asking why in the world we decided to go this route. First, the data that we were trying to expose was populated outside of the web application and very little user entry or state keeping was required. In an application where you’re basically just outputting data from SQL results (sometimes complicated queries) sometimes the simplest solution is the best one. By going with this quick and dirty method, we’ve been able to get 85% of our application finished in just a few days. Keep your eyes out on Javalobby, I’m sure Rick will be talking about it more next week.

Spring + Hessian + Hibernate

In our last edition I asked for some help with my latest Hibernate and Spring experiments. Lots of you responded and through the helpful emails of you guys, I was finally able to get my code working – and without too many changes to my own code. In return for the great answers that you guys gave, I’d like to share the final answers that were given to me. In the end, there were two answers that work for the particular problem I was having, which was that all my Lists, which were controlled by Hibernate, seemed to believe they were lazy loading when Hessian was deserializing it on my client side.

The first solution (and the one that I’m currently using) wasn’t quite as robust as the second solution. It basically involves extending Spring’s Hessian exporter and adding a custom Hessian serializer that wraps any Hibernate list in a regular ArrayList. What this did is make sure that Hessian had a copy of a regular list on the client side instead of a Hibernate list, which prevented the lazy loading exception that I was experiencing.

The second solution that someone sent me was actually a much more robust answer to the problem. The first solution really only worked for Lists in the form that it was sent to me. A solution by Armond Avanes took care of all forms of Hibernate collections by creating a new ServiceExporter in Spring. He basically took the code to the Hessian exporter then modified it to write initialized Hibernate objects. While I haven’t tried this method yet, it seems to me like it should work.

As more and more people learn about Hessian, I think a problem like the one that I experienced will become more widespread. If you’d like the source code, just email me and I’ll forward you the emails that were sent to me.

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

 
 The Pulse
 
 The Pulse
 Next section
 Back to top
Erik C. Thauvin is director of technology at Imacination Software. He also maintains a blog, as well as a popular linkblog updated daily with the latest Java and technology news.

Erik C. ThauvinKeep your hat on.
With a little help from your friends...

Tip of the Week:

Why can't I allocate 2GB of heap to the JVM on Windows.

Tutorial of the Week:

AppFuse: Start Your J2EE Web Apps.

Notable Software Releases:

Cayenne ORM 1.1 Beta dprism Time Package 2.0 Apache Maven 1.0
viPlugin 1.7.3 Simple 2.5 DamageControl 0.2
jlo 1.0 Axis 1.2 beta2 MagicDraw UML 8.0 beta
WebLogic 8.1 SP3 PMD 1.9 JotAzul 0.91
Jacquard 1.10.0 JGraphAddons 0.9 Xrefactory 1.6.7
JAME 5.0M1 AspectJ addin for JDeveloper 10G iCal4j 0.9.5
JNIWrapper 2.5 Beta Java Email Server 1.4 (1.x) Oracle XML Dev. Kit 10.1.0.2.0
JDBInsight 2.5 JiBX Beta 3c Groovy 1.0-beta-6
Jakarta Tomcat 5.0.27 Excelsior JET 3.6 Morena Image Acquisition Framework 6.1
Eclipse Tidy 1.2.1 IBM Reflexive User Interface Builder ICU4J
KNCforum 1.1 FeedBurner MFR 2 - MIDP2.0 Beta TransJ 0.1.1
Apache Ant 1.6.2 Mevenide Netbeans 0.1 BlueJ 2.0.0 beta
JNI Wizards for Visual C++ 7.1 oXygen XML Editor 4.2 Sandler 1.0
Base64 of SHA1 for J2ME jEdit 4.2pre15 JPhotoBrush Pro 1.3
Netty 1.5.0 OpenWFE 1.3.1 KNCwebserver 1.2
nib4j 1.01 Ant Task for Jrun 3.0 Doclipse 0.6.0
TM4J 0.9.6 JPick 0.1 Mevenide Netbeans 0.1

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.
Will Sun Get Behind Eclipse

Analysts are calling on Sun Microsystems to make its NetBeans open-source integrated development environ- ment (IDE) work with the Eclipse open-source IDE, in order to head off the challenge from Microsoft's dot-Net.

Eclipse started life as an IBM initiative but last year IBM handed over control to the independent Eclipse Foundation. Sun contributed NetBeans to the open source community in June 2000, and IBM made Eclipse open source a year later.

Sun said that there have been two million downloads of the NetBeans IDE. But Eclipse - which supports development in other languages in addition to Java - has gained even greater traction among Java developers.

FULL STORY & DISCUSSION Posted By: Matthew Schmidt - (38 Replies)

Critiques of Layouts in Java (GridBagLayout)

Found this funny animated blog entry making fun of the complexities of GridBagLayout:
http://madbean.com/blog/2004/17/totallygridbag.html

In the past I've always seen a good handful of people say that JGoodies Forms was very nice and helped simplify their GUI work. I tried getting into Forms before during one afternoon and found it to be just as confusing as GridBagLayout. Anyone have a great article that helped them out with Forms? Also how is the performance when resizing windows with complex layouts?

Also I'd like to take this opportunity to say that I rely on the NetBeans GUI builder whenever I need to do a quick GUI like a dialog or something along those lines. The "Customize" feature for the GridBagLayout is absolutely excellent IMO, really top notch work to the NB team.

FULL STORY & DISCUSSION Posted By: Riyad Kalla - (31 Replies)

Autoboxing pitfalls

Autoboxing might become a very confusing experience for Java developers.

FULL STORY & DISCUSSION Posted By: Jesper Nordenberg - (77 Replies)

Architectures for 'richer' web applications

Now that JavaOne is over (not that I got to go) and we are all more up-to-date with where Java is 'believed' to be going, I have a simple question: as Java developers are we in a better position to develop web applications that offer a richer user experience? To this end I have developed a simple test scenario:

Test Scenario
I have a service that can provide the metadata for several thousand items (id, title, creation date, status, etc) and a service that can deliver an HTML description giving further details of an item specified by its id. I want to develop a web application that displays the metadata in a table on the left (allowing the user to resize, reorder columns etc) and the HTML description of a 'selected' item on the right. When the user selects a row in the table, the HTML description on the right is updated. As a complication the description may also reference zero or more other items. Selecting one of these links should update the both the description and reset the selection in the table.
I can imagine a number of responses:
  • Java WebStart: create a WebStart application using the JDNC table component and the JDIC browser component. The interaction between the two components would be defined in Java. While I have no doubt this would provide a fine user interface, I suspect that WebStart solutions are just not percieved as being 'standard' web apps.
  • JSF: create a web app using some [yet to be developed?] table JSF component. Altough a JSF table may be able to handle the reodering of columns and the like, the concern is round-tripping to the server each time to deliver a large table.
  • something else... my preference would be for a JDNC table component embedded in one frame (as an applet) and the item's HTML description displayed in a second frame and have the interaction between the two defined in Javascript.

Currently the last solution is not possible because JDNC components cannot be scripted. My understanding is that the resources were not there to both develop the components and a scripting solution. This post is something of a test to see whether there is any interest in trying to plug that gap.

FULL STORY & DISCUSSION Posted By: adrian cuthbert - (19 Replies)

TabContainer a better JTabbedPane

Netbeans 4.0 contains a very nice tab component. I have extracted it =). It has four different views and is model driven. It also appears to support Metal, GTK, Aqua, WinXP, and Windows Classic look and feels out of the box.

FULL STORY & DISCUSSION Posted By: Scott Delap - (13 Replies)

 Product Announcements
 
 Product Announcements
 Next section
 Back to top
Product and service announcements for Java developers.
YourKit Java Profiler 3.0 Early Access

YourKit, LLC has launched the Early Access Program for YourKit Java Profiler 3.0, the next major version to be released in August 2004.

We invite all interested developers to participate in the early access program and share their comments and

FULL STORY & DISCUSSION Posted By: YourKit Team - (0 Replies)

nib4j 1.01

nib4j 1.01 is available for download.

nib4j is a simple but powerfull Java library that permits the use of Apple's Interface Builder to design Swing-based user interfaces.

More informations at:

FULL STORY & DISCUSSION Posted By: Manuel Hermann - (0 Replies)

jClientUpload (Upload Applet) 1.0 released

jClientUpload is a client-side JAVA component (Applet) that allows to upload files to a web server. This component could be integrated in any application. Server-side technology could be JSP/Servlet, PHP or Microsoft ASP. Front-end provides an upload

FULL STORY & DISCUSSION Posted By: JavaZOOM - (0 Replies)

KNCwebserver 1.2

KNCwebserver is a simple multi threaded HTTP (web) server that is open source written solely in Java. Is very configurable, contains templates and has built in access logging.

Check it out @

FULL STORY & DISCUSSION Posted By: Ben Reilly - (0 Replies)

Adobe Designer 6.0 creates smarter forms with open standards

Adobe has optimized its new release of Adobe Designer 6.0 and Adobe LiveCycle server software with the WebSphere Studio open standards environment, which embraces ebXML, XML, J2EE, and Web Services. This intergration enables you to build easy,

FULL STORY & DISCUSSION Posted By: Frank Carlos - (1 Replies)

Whizlabs Upgrades its SCWCD 1.4 (J2EE Certification) Exam Simulator

Whizlabs Software, the global leader in J2EE Certification Exam Preparation, has upgraded its SCWCD 1.4 Exam Simulator for CX-310-081 Certification.

Whizlabs SCWCD 1.4 (J2EE Certification) Exam Simulator for the CX-310-081 Exam, authored by

FULL STORY & DISCUSSION Posted By: Whizlabs Software - (0 Replies)

Wi.Ser (WidgetServer) new beta version available now

Wi.Ser is a Java/XML server-side GUI-framework which enables an application to run as either a monolithic Swing app, a thin-client/server Swing application, or as a Web application without any change.

The framework supports a mixed

FULL STORY & DISCUSSION Posted By: dirk vdW - (0 Replies)

JPhotoBrush Pro 1.3 released

FULL STORY & DISCUSSION Posted By: Tanveer Rameez - (0 Replies)

OpenReports Designer 1.10 Released!

OpenReports Designer is a visual report design tool for JasperReports, a powerful open source Java reporting engine. OpenReports Designer combines a visual report designer, XML report definition editor, and report viewer into one interface in

FULL STORY & DISCUSSION Posted By: Erik Swenson - (0 Replies)

JNI Wizards for Visual C++ 7.1

Recently, Sun and Microsoft have both pledged to make Java and Windows work better together. Microsoft now advertises tools which allow .NET and J2EE to interoperate. Sun invites Microsoft to join the JCP. Despite these moves, neither company has made

FULL STORY & DISCUSSION Posted By: PureNative Software - (0 Replies)

BlueJ 2.0.0 beta available now

Hi everyone,

We are please to announce that

BlueJ 2.0.0 beta

is now available for download.

This version of BlueJ includes major feature improvements, including added support for J2SE 5.0 with all its new features

FULL STORY & DISCUSSION Posted By: Michael Kölling - (0 Replies)

jIRCii b11 - fully scriptable IRC client

jIRCii is a cross platform java Internet Relay Chat (IRC) Client. The client is fully scriptable using a perl-like language called sleep. jIRCii supports CTCP/DCC protocols, connects to SSL servers, and has a ton of

FULL STORY & DISCUSSION Posted By: Raphael Mudge - (0 Replies)

KNCforum 1.1

KNCforum is web-based message board software that is open source written solely in Java. A few of the prominent features text based topic searching, confirmation registration via email, cookie/session based login capability and admin

FULL STORY & DISCUSSION Posted By: Ben Reilly - (0 Replies)

IBM releases eclipse Embedded Voice Toolkit

The Embedded Voice Toolkit allows developers to more easily build embedded speech applications using a graphical user interface

FULL STORY & DISCUSSION Posted By: Greg Hamilton - (0 Replies)

Excelsior JET 3.6 for Windows and Linux (JVM+AOT compiler)

Excelsior JET 3.6 has been released for Windows and Linux on Intel x86 platform. Evaluation packages are available for immediate

FULL STORY & DISCUSSION Posted By: Dmitry Leskov - (3 Replies)

Morena Image Acquisition Framework for Java TM, version 6.1

File transfer mode added both to Windows and Mac OS version.
To see, how it works, download the trial package from http://www.gnome.sk and unzip it.
Go to the examples directory of the unzipped Morena package and

FULL STORY & DISCUSSION Posted By: Erika Kupkova - (1 Replies)

Rich Client Lecture Series Bundle Now Live

Hello,

I've bundled up all slide decks in the "Rich Client, Rich Browser, Rich Portals" lecture series in a package that you can download for offline reading.

The lineup includes:

XUL Intros
==========

The Future of

FULL STORY & DISCUSSION Posted By: Gerald Bauer - (0 Replies)

JDBInsight 2.5 "Trace in Time" Released

JDBInsight 2.5 "Trace in Time" is now available for immediate download. This new release focuses on the timeline analysis of transaction and SQL statement executions allowing for the immediate identification of performance bottlenecks as a result of

FULL STORY & DISCUSSION Posted By: William Louth - (0 Replies)

JNIWrapper 2.5 Beta and JExplorer Beta 3

Today we introduce the prerelease of new JNIWrapper 2.5 and a new Beta version of JExplorer - Beta 3.

New JNIWrapper is the Beta release that covers many important issues resolved after version 2.4.1 and adds some new features to the

FULL STORY & DISCUSSION Posted By: Eugene Toporov - (0 Replies)

AspectJ addin for JDeveloper 10G

The first product of the Developer AOP project is available in the form of an AspectJ addin for JDeveloper. Please take a look at this early version as feedback would be appreciated.

FULL STORY & DISCUSSION Posted By: Gerard Davison - (1 Replies)

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

(removed from online version)
 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.
This copy of Javalobby News may be distributed freely, provided that the distribution is without charge, that the issue is distributed complete and unaltered, and that all copies retain the Javalobby copyright notice. This copy of Javalobby News and the information within it, however, may not be reproduced, saved, or otherwise copied into a database without the prior written consent of Javalobby, Inc.

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