Get
a Free WebLogic Platform 8.1 Developer License
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.
|
|
|
|
| A Developer's Perspective |
|
 |
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.. |
|
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
|
| |
|
| |
|
|
|
 |
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. |
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
|
| |
|
|
|
|
|
 |
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)
|
|
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 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)
|
|
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)
|
|
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)
|
|
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)
|
|
|
|
|
|
 |
Manage your
account info for this and other Javalobby publications. |
(removed from online version)
 |
Here's how
to reach us, we love to hear from you. |
 |
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. |
|
|
|