Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blog Posts by Community

• Adopt a JSR  • Embedded  • GlassFish  
• Global Education and Learning  • Identity Management  • IoT  
• Java Communications  • Java Desktop  • Java Enterprise  
• Java Patterns  • Java Tools  • Java User Groups  
• Java Web Services and XML  • JavaFX  • JCP  
• JDDAC  • Jini  • JXTA  
• Mac Java  • NetBeans  • Open JDK  
• Portlet  • Robotics  • Sun Grid  
• Sun RFID and Sensor  • [no association]  


Java Desktop

I've always known that ImageIO was a good thing to use since its inception. It reads and writes more formats than the original Image loading APIs, it has a pluggable interface for new image formats, it's the way of the future, it's more robust than the previous APIs, it's synchronous without the need for MediaTracker or that hacky ImageIcon workaround, blah, blah, blah.... I knew all that...
on Jul 19, 2004
I've had the pleasure to work on a Swing application these recent months, and I'd like to share with you one of the main conclusions I've arrive at. It did take me a little time to gain fluency with the APIs. After all Swing is a fairly large API (over 600 classes). On the other hand, once that fluency is gained, developing in swing works out all right. Specifically one quickly realizes...
on Jul 8, 2004
Sun showed a demo application to demostrate real time Java. There was a thick client application controlling a reverse pendulum (basically a machine that held a stick straight up, like when you balance a ruler on your hand). They had an application along with it to control the motors and display settings -- including failover. The problem was that the application sucked. Layouts were terrible and...
on Jul 1, 2004
June has been a record breaker for new open source projects at Sun. The projects ambling out the door this month have run the gamut from new initiatives like JDIC, JDNC, to longtime J2SE stalwart Java3D. And standing in the doorway is the great hulking giant Solaris, of which our president Jonathan Schwartz has said: "Make no mistake: we will open source Solaris". At today's opening JavaOne...
on Jun 28, 2004
You guys know by now my stance on native look and feel support. I saw some demos showing native looking apps on Mac, Windows and Linux. Very impressed. I know I talk alot about the need to look native. That's definitely my problem space, but I also definitely realize the need to have an application that looks absolutely identical between different platforms. Sun is taking the right approach --...
on Jun 28, 2004

Java Patterns

Let us start with a need Given a user name, userid and an email address create a user. We can call this "createUser" transaction with three parameters name, id, and email. Let us see how a client can invoke this horizontally Conceptual horizontal invocation using key value pairs client -> calls -> execTransaction(requestName="createUser",name="", id="", email...
on Jul 17, 2004
While preparing for an upcoming session at OSCON 2004, I have collected some sample code for dealing with factory patterns in java applications. The specified URL lists some demonstrative examples of the idea. The examples deal with simple object instantiation, simple object instantiation using IMultiInstance, simple object instantiation with parameters, simple object instantiation with...
on Jul 14, 2004
While preparing for an upcoming session at OSCON 2004, I have collected some sample code for dealing with configuration in java applications. The specified URL lists some demonstrative examples of the idea. The examples deal with XML configuration files, Property file configuration files, Reading mandatory keys, Providing default values, Reading objects from configuration files, Configuration as...
on Jul 13, 2004
I have been trying to summarize and document some of the server side programming/design patterns I have used while building Aspire/J2EE/XML. I am quite happy to see the idea come to fruition as it was accepted as a session at the upcoming (very soon) OSCON 2004 to be held in Portland, Oregon. The presentation covers application patterns, data access patterns, business logic patterns, presentation...
on Jul 7, 2004

Global Education and Learning

I'm impressed that people can blog while attending JavaOne. My head's just clearing up from all the new ideas slamming into the old ones. To relax on the way home, I started stitching generics into JDigraph, a general library for representing directed graphs. The effort mostly went smoothly, with a few hiccups. Scouting The documentation for generics in the jdk 1.5 beta is pretty thin. "This...
on Jul 14, 2004
Java is taking the lead in education systems development. It's easy to build and deploy fairly sophisticated applications that can be well supported. Another reason for choosing Java is its flexibility with respect to frameworks. Frameworks are important in education systems and particularly eLearning because the functional models the systems are trying to address are unknown. How can you design...
on Jul 14, 2004
I am at JavaOne, again! It is great to be a JavaOne Alumni, but it is interesting because of the changes we see from prior years. The Java 1.5 release is one of the bigger things to happen. Most of the conferences I have been to have had new version of Java, but this is a much bigger jump. Java has always suffered from a lack of templates and other syntactic sugar, but it is finally here....
on Jun 29, 2004

JXTA

The awards were given out at the end of the main session today. The winners were "The Cyclists". I got to speak to the developer of the software. Silly me forgot to write down his name, but he can be reached at mrjava @ sprint.com and the web site is www.observeit.com (site is not up yet). As Gosling said, the winner was built with a lot of weirdness and imagination. Here is the list of...
on Jul 1, 2004
Greetings! We can't solve problems by using the same kind of thinking we used when we created them - Albert Einstein A Paper Airplane made of JXTA I got to attend Brad Neuberg's tech session on P2P Sockets and Paper Airplane. Paper Airplane is a Mozilla plugin written with JXTA. It is a great example of extending a known metaphore into the P2P world. Brad talked about a shared Wiki and...
on Jul 1, 2004
Today we got to see the sunny side of Scott McNealy at the keynote today. I have to admit that I like to hear that man talk. The key thing that he said that got my attention was that there were 14,000 developers at JavaOne. That is almost like before the crash! Almost everything but the requisite T-Shirt lofting at the end of the talk was just icing on the cake of the Java economy(the T-Shirt...
on Jun 29, 2004

Jini

So far today the most interesting talk I've been to is the one on RFID techonology by Sun. They've built it on Jini and Rio, which itself is built on Jini, and they have an impresive platform for dong stuff with RFID applications. The match is good because these systems require customization and smarts at the edge of the network, where the data is gathered, because otherwise too much data would...
on Jun 30, 2004
Two good Jini moments today at JavaOne: 1) Scott McNealy gives out a Dukie award to Orbitz, with an obvious reference to what they're doing--it was the ConJINIality award! That's right. Jini, in a keynote. Scott McNealy. (Mind you, he didn't actually *say* anything about Jini, but there it was--right there in the name of the award. 2) The Jini session I went to was VERY well attended. It may...
on Jun 30, 2004

Mac Java

Apple's JavaOne session this morning, Tech Manager Francois Jouaux and several other Apple representatives laid out the case for Java on the Mac, and why Java developers should develop on and for the Mac. Saying that basic support of J2SE wasn't good enough, Jouaux went into Mac technologies that help Java applications work better. These include the Quartz Extreme graphics technology, which...
on Jun 29, 2004
After a fair amount of hue and cry when the first previews of the all-Java Java Studio Creator — um, hello, run anywhere — Sun has announced that an early-access Mac version is now available. Better yet, MacCentral reports that buying a 15" or 17" Powerbook now gets you a Sun Developer Network Standard subscription, a $99 value which includes the Studio. Maybe next time we'll get...
on Jun 28, 2004

Java Web Services and XML

In this instance, we have put together a set of tutorials and samples, and also have structured this co-bundles so you can immediately over-lay use RowSet in any of the three target containers Sun's App Server 8.0 PE (this the same as the free J2EE 1.4 SDK), Sun's Web Server 6.1, and Tomcat 5.0. To use the co-bundle, and benefit the samples and tutorials we have provided, you will first need to...
on Jun 28, 2004