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

Mark Reinhold just announced that J2SE 1.5.0 snapshots are now available. These are slightly tested builds that contain the latest fixes and changes to the latest release of J2SE, Tiger. The intention of the snapshots are to get early feedback into the final stages of releasing Tiger. This approach has proven very successful in many communities - it is particularly common in the open source...
on Jun 12, 2004
Look at definition of Metadata: The J2SE 1.5 metadata feature is a facility that allows developers to annotate their code so that tools can generate boilerplate code (e.g stub generation to remote procedure calls) as directed by annotations. And think about those interfaces: Serializable and Cloneable. Those interfaces are empty. They contains nothing. But they are used to give directive to...
on Jun 3, 2004
Sam Pullara has done some work to help people run some of the Java v1.5 features on Mac OS X. Note that his work is based upon the bundles made available as part of JSR-14 and is therefore a bit out of date relative to the official releases for other platforms (even more so when the next official beta is release in the next couple of weeks). I don't know about you but I'm finding Apple's...
on May 22, 2004
On the plane back from California I decided I've had enough with politics for a while and I'm ready to get back to coding. One thing I've always thought was missing from Swing is a good color chooser. Swing provides a color chooser model and a default color chooser, but it's always felt unfinished. Another 3rd party opportunity I suppose. In my ideal color chooser we would have several different...
on May 18, 2004
So far, of the people I’ve brought in, no one has been able to answer a simple Swing threading question. Several even suggested to use SwingUtilities.invokeLater() for expensive work - not knowing it’s actually executing in the Swing thread. I’m making a point of this because it highlights a disconnect between the design of the Swing API and its users. Is the Swing API too...
on May 10, 2004
You've seen the titles in the bookstore: Rock Gardening for Dummies, Needlepoint for Dummies, etc. If ever I'm tempted to pick one of them up, I quickly put it back on the shelf...and of course I could never let myself actually buy one regardless of the quality. OK, I know that I shouldn't judge a book by its cover (or title), but I just can't get past the name. Something about dummies just...
on Apr 27, 2004
I know it's been a while since I've posted. But I've been busy. With, um, you know, stuff! Writing stuff. Coding stuff. Drawing stuff. I'm especially interested in drawing stuff. In particular I've noticed a growing interest in SVG and vector displays. I'm personally a fan of vector formats since it makes a great base for interesting drawings in Photoshop, but I've started to discover other uses...
on Mar 30, 2004
I've been spending time in India lately, where my pal Brian Behlendorf and I recently met a local open source activist, Niyam Bhusan (more on Niyam another day). We got to talking about the origins of Java and being Niyam he decided to spend a few hours researching on the web. He sent me this link to a long but fun to read piece about the early days of Java (before Duke, before Oak...REALLY...
on Mar 25, 2004
Sun has released Gilad Bracha's Generics Tutorial.
on Feb 17, 2004
'Tis true; for those that she makes fair she scarce makes honest, and those that she makes honest she makes very ill-favouredly-As You Like It, Act I, Scene ii As much as I hear people talking about "a renewed interest in Java on the desktop", I hear just as many differences in basic assumptions about what we want or expect from these applications. Conversations with other authors and webloggers...
on Feb 13, 2004
As I said, I'm back with more on the new JDK 1.5. There is a new package called java.lang.instrument that allows you to intercept a class before being loaded and modify its bytecode, for example (can I hear standard entry point for AOP support? :-P). Well, let's use it for something different: measuring the size of some objects. Here is the code: import java.lang.instrument.*;import java.util.*;...
on Feb 5, 2004
Ok, sorry for not blogging for so long, but I have to work, date etc. :-D I hope this is the start of a series of small, but informative blog entries about new features available in Tiger, especially the ones a hundred people haven't mentioned before me :-D To begin with, I'll show you how to use the new nanoTime() method in System. An important thing to notice is that nanoTime()'s return and...
on Feb 5, 2004
Sun has released J2SE v1.5 beta 1. Go wild!
on Feb 4, 2004
Mac OS X is now officially up-to-date with Java, as Apple has just released a substantial J2SE 1.4.2 implementation that catches up with the latest release version from Sun. Panther (ie, Mac OS X 10.3.x) users can find it in their Software Update. For those wanting a stand-alone installer (hello, sysadmins!), one is available here. The download is about 28 MB. The big news in this update is...
on Feb 3, 2004
So I've been reading a bit about this battle between Microsoft and Sun ... I mean between C# and Java ... about something I think is called a delegate. The above URL describes them in the context, strangely, of Visual J++. From what it looks like to me, all that C# really has that Java does not is the ability to, effectively, have one method per callback interface. This would be as if, for...
on Jan 22, 2004
Exceptions are a new concept for most people when they get to learn Java. Even though C++ offers some degree of support for them, a number of C++ programmers never heard of exceptions since the language they were used to did not force them to handle or declare exceptions. Other languages are said to have them as well - such as Ada, though I just read this information a few times and know nothing...
on Jan 7, 2004
Querying a database is no big deal. SQL has been around for a long time and has become the de facto standard for doing that. So has JDBC, even though nowadays it is being used more as the foundation of other solutions and frameworks. But what you do when you have to query objects? Most people wouldn't be able to answer it, really. Three more common ways of querying your objects in Java are...
on Dec 31, 2003
Rather than being forced to register at JavaLobby to be able to get access to the release, you can download the Java 2 SDK, Standard Edition v1.5.0 alpha release directly from Sun. People interested in the JSR-166 Concurrency additions should note that the Tiger alpha release does not contain the latest version of the package. You can get the latest version from the JSR 166 resources web site.
on Dec 28, 2003
Now that the J2EE Web Services book has been published and I'm wrapping up work on the 4ed of the EJB book, I can talk a little about what I'm planning to do in 2004. So what's next? I've wanted to write a book on J2SE for a couple of years, but since this space is already crowded I've put it off. Recently, however, I've decided to test out some material for such a book - I may post it on the...
on Dec 27, 2003
I've recently been playing more intensively with CVS - I've always used either IDE support for it or any nice GUI client for CVS available - and found out more about GZIP compression than I knew before. That's my main motivation for this post. It's been quite a while - since JDK 1.1, according to javadocs - Java has been providing support for working with ZLIB compression through its API. The...
on Dec 26, 2003