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

Blogs by topic: J2SE

• Accessibility • Ajax • Blogging • Business • Community 
• Databases • Deployment • Distributed • Eclipse • Education 
• EJB • Extreme Programming • Games • GlassFish • Grid 
• GUI • IDE • Instant Messaging • J2EE • J2ME 
• J2SE • Jakarta • JavaFX • JavaOne • Jini 
• JSP • JSR • JXTA • LDAP • Linux 
• Mobility • NetBeans • Open Source • OpenSolaris • OSGi 
• P2P • Patterns • Performance • Porting • Programming 
• Research • RMI • RSS Feeds • Search • Security 
• Servlets • Struts • Swing • Testing • Tools 
• Virtual Machine • Web Applications • Web Design • Web Development Tools • Web Services and XML 


J2SE

Naming Generic Types We've had blogs covering DRY and magic Strings in the last week. I'm going to blog about generic type names, specifically using names longer than one letter. Some of us are old enough to have used systems with a limit the length of variable names. But I haven't seen anyone use "x" as a generic double name in years (caveat coordinates). We left that habit behind because of...
on Dec 5, 2004
A few weeks ago I published a quick roll-up of about 40 component libraries for Swing applications that we plan to include in the javadesktop.org Swing Depot . That blog produced a nice bunch of feedback about libraries I'd failed to note and so I published a follow up blog with a dozen more. Since then I've been pointed at another 25, so I hope to update the list again before too long....
on Dec 3, 2004
I've just found out the most bizarre bug I've ever come accross in my 5 years of experience with the Java platform. Let's suppose you have the following code: import java.beans.*;public class BizarreBean {   public static class B1 {      public String getProperty() {         return null;      }...
on Nov 29, 2004
Way back when I was an undergrad I had a professor who was a stickler for experimental method. She was also, however, always anxious to see what you had learned. As soon as she understood your experimental setup -- which was usually before the end of your explanation of it -- she'd insistently ask, "What were your results?" Between her enthusiasm for the question and her eastern-European...
on Nov 15, 2004
I've been reorganizing JDigraph to take advantage of generics. I've been able to implement generic versions of Floyd-Warshall and Dijkstra's algorithms -- hopefully using generics means doing this for the last time. I want to highlight -Xlint, a JDK 5 feature that's saved me a lot of grueling code reads as I've learned generics. I wish I'd found it sooner. My common-build.xml file's javac task...
on Nov 13, 2004
Got an email from the former JavaSound team (i.e. Florian) mentioning that Sun finally got their acts together and released an MP3 plugin. Apparently, it works with JMF as well as JavaSound. Apprently, this was blessed by Sun as they solved whatever legal issues were pressing. http://java.sun.com/products/java-media/jmf/mp3/download.html Rock on! Granted I don't think this should have happened...
on Nov 11, 2004
The J2SE 5.0 source code has now been released under the SCSL and Java Research License If you are just getting started with the Sun source and are interested in the linux port then I can recommend getting involved with the blackdown.org porting project. There are years of porting experience contained in that group and also experience with the TCK, both Hui and myself are also on the alias along...
on Nov 5, 2004
During a discussion with a colleague we started talking about the problems of equals() with inheritance. He mentioned Joshua Bloch's Effective Java book which covers this topic quit well but more or less said that this problem cannot be resolved. This was enough to get me hooked onto this problem and I came up with a solution quite fast. Afterwards I started to think about other solutions and...
on Oct 29, 2004
As my time allows, I will be blogging on some of the proposals that we are particularily interested to get feedback to give those watching this JSR a snap-shot of our progress. So watch out for future blogs on JDBC Ease-of-Development, XML and SQL:2003 alignment, Connection management and other topics over the next few weeks. Until next time...
on Oct 24, 2004
The question came up recently of "should we make Swing truly multithreaded?" My personal answer would be "no", and here's why... The Failed Dream There are certain ideas in Computer Science that I think of as the "Failed Dreams" (borrowing a term from Vernor Vinge). The Failed Dreams seem like obvious good ideas. So they get periodically reinvented, and people put a lot of time and thought...
on Oct 19, 2004
I know that probably backward compatibility is the main reason to keep java.lang.Cloneable as it is. Nevertheless as I hopefully showed in my rant about this still unresolved issue this shortcoming of the Cloneable interface is still haunting us. To prevent the impression that I only complain about problems I am going to suggest a solution to this problem that, I hope, will end this problem once...
on Oct 13, 2004
Surfing over to the weblogs site, it seems that every weblog I read is about Tiger (Java 5). That's no surprise, by any means, as this release is officially a "big deal" (TM). And I actually think Tiger is pretty cool -- generics have been missing for a while, enums are convenient, and things like for/in (or foreach, or enhanced for, or whatever else you want to call it) are just niceties that...
on Oct 1, 2004
Today the culmination of nearly 3 years of work bore fruit with the release of J2SE 5.0 GA, our production ready release of the next generation Java platform. Graham Hamilton announced the GA release in his blog early this morning. Readers of my blog have seen me talk about JDBC RowSet Implementations in my previous blog entries, so I won't delve into technical details here. The main...
on Oct 1, 2004
Tiger is done. Whew! I can just about hear the collective sigh of relief from everyone, both inside and outside of Sun, who contributed to this amazing product. We hope you enjoy working with it. As I've said before, I think Tiger is the highest-quality JDK that we've ever built -- and I've been helping to build these things since JDK 1.1. This seems an appropriate time to...
on Sep 30, 2004
J2SE 5.0 (Tiger) is out! The J2SE 5.0 final bits are now available at http://java.sun.com/j2se/5.0/download.jsp And there is a variety of news about the release on java.sun.com. The JCP Executive Committee approved the last 12 Tiger JSRs on September 14th. Less formally, but just as importantly, we then received our official blessing from the J2SE Quality Assurance team that we meet all...
on Sep 30, 2004
Java J2SE v1.5.0, aka "Tiger", has been officially released by Sun. Is this all that you hoped it would be?
on Sep 29, 2004
I know Tiger's getting a lot of press lately (after all, we don't ship a new major Java release that often) and that there's a lot more about the new release than the graphics end of things. In particular, with a platform whose language changes so little and so infrequently, the types of changes introduced in Tiger are pretty substantial and attention-grabbing. But still, there were some...
on Sep 24, 2004
While playing around some more with this miniapp idea, I came across geographer Tyler Mitchell's weblog post about hurricane tracking using Web Map Service urls. I thought this would make an interesting MiniApp and give me a good opportunity to play with a few webservices. Starting from his base (and with some greatly appreciated clarification emails from Tyler), I've created StormDrain, a simple...
on Sep 22, 2004
Here's a fun hack. I (like everyone else in the world) have a collection of utilities I take with me from job to job. It's served me well for several years now. These utilities are simple, domain-independent things: classes to copy files, find out what jar file a class is loading from, that sort of thing. Many of the classes in this utility collection jar have main() methods, and could...
on Sep 20, 2004
We're starting to think about potential language features for Dolphin (7.0). So I've been reflecting a little on the principles that James so brilliantly infused into the original Java language and which we've tried to preserve as it evolves. The big core principle is around making programs easy to understand. Java is focused on being a powerful but simple language, easy to read, with a...
on Sep 13, 2004