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

Another year, another JavaOne. It's always great to see so many old friends again. This year seems to be continuing the attendance growth trend of the last couple of year so that's a good sign. Also, I've been able to find enough actually interesting and useful talks to keep from going back to sleep and that's an even better sign. In particular, this is starting to show how the "Java community"...
on May 7, 2008
Last year, Java One Day 0 was Netbeans Day, in a cozy hotel. This year, the Java One week started much more grandly, with Community One, at the Moscone Center. There were tracks for a number of open source communities, including NetBeans, GlassFish, MySQL, OpenSolaris. Frankly, I preferred the cozy hotel, but I can see that it is savvy marketing by Sun to have a large-scale free community event...
on May 5, 2008
I can't remember if my first JavaOne was the second or third but I've been to every one since and I'm still not considered Alumni. I've been to enough of them to remember when there was a huge buzz around the conference and you would walk out of the keynotes energized and couldn't wait to write something using the new toys. I also remember Pat Sueltz on stage in her Howard Dean moment screaming "...
on May 5, 2008
I ran across this tech tip on using wildcards in Java generics. Pretty basic stuff, I thought. But I was amazed by the comments: Great post!! never knew about wildcards I cant believe this. I cannot think how a wild card in generics fits into the java OOP theme. Upto now the rules were always simple and straight forward. In this case list object should have accepted all objects of...
on May 4, 2008
Yesterday, Apple released Java SE version 1.6.0_05 for 64-bit Intel-based Mac OS X 10.5.2 or later. Download it here! It's restricted to 64-bit machines and Charles is unhappy about it. Hopefully, they'll release a 32-bit version as well. Type "sw_vers" in a terminal to check the Mac OS X version as shown below: ~ >sw_vers ProductName:    Mac OS X ProductVersion: 10.5.2...
on Apr 30, 2008
Apple yesterday pushed out Java SE 6 for Mac OS X. Software Update installs it as an additional Java run-time on your machine. Through the Java Preferences app (found in the Java folder in Utilities) you can set the default VM to use. After installing I set that to SE 6 and I am happy to report so far all is well! Bahamontes, my own hobby project, works just fine including the Java 3D stuff....
on Apr 30, 2008
I know, I know, it's been far too long since I've made an entry. My younger son is ten months old now, so I suppose I should probably stop using "new baby" as an excuse for my laziness... Ahem. Before I joined Sun, I thought I knew a lot about Java. I had been using it for a decade and had dug into its innards more times than I could count. Anytime I ran into inexplicable Swing weirdness or...
on Apr 29, 2008
A draft specification for supporting OSGi bundles in the Java Module System is put together based on the past EG discussion in particular the proposals and inputs from Glyn Normington, Richard Hall, and Bryan Atsatt. It is expected to evolve based on further inputs from the JSR 277 Expert Group. With the OSGi expertise from the JSR 277 EG and their contributions, we expect that this...
on Apr 28, 2008
I recently take on a new challenge and join the JSR 277 project working on JSR 277 and OSGi interoperability. There are lots to learn and I am trying to come up to speed as quickly and effectively as I can. Thanks to all the interests and excitements around this topic! I appreciate in advance the participation and contribution from the JSR 277 and 291 Expert Groups and the OSGi experts. Our...
on Apr 18, 2008
JDK product registration is one of the most significant features in the new Java SE 6u5 release. This provides the ability to register the JDK installations through Sun Connection. Registering the JDK is optional. We would like the JDK registration to provide mutual benefits to both Sun and the developers. JDK Installation Experience There is a change in the JDK installation flow for this...
on Mar 6, 2008
Recently I have been working on a new Java SE project related to a Sun Connection Technology called Service Tags. I'd like to give a short introduction of the Sun Service Tags technology that you may find various interesting ideas of leveraging it. Sun Service Tags The Sun Service Tags enable automatic discovery of the tagged systems and softwares on your systems or a local network. The JDK and...
on Feb 19, 2008
Scenario version 0.5 is out. For the list of features and enhancements check out Hans's announcement here. One of the things we have done for this and will do for future releases is to provide a webstart extension for Scenario binaries. Using the extension allows for simpler deployment for webstart enabled applications which use Scenario. Instead of hosting Scenario...
on Feb 8, 2008
There has been much discussion on whether Java programmers are becoming dinosaurs, on an evolutionary dead end and overtaken by more nimble mammals. Bruce Tate has long abandoned Java for greener (or redder) pastures. Bruce Eckel has embraced Flex , Bill Venners favors Scala. Python is making inroads in college curricula. What is a Java programmer to do? In this blog, I argue that we need to...
on Jan 8, 2008
I got an OLPC for the holiday season. No, it wasn't for the Horstmann twins—after all, it is one laptop per child, so the child must be myself. I got it through the “give one, get one program”. For $400, I got mine and a much more deserving kid somewhere out there got one as well. (Hurry if you want to get yours—the program ends today.) Twelve years ago, in Chapter 1 of...
on Dec 31, 2007
I would like to discuss some proposed changes in the JColorChooser component. At present, the JColorChooser component contains the following default tabs: * Swatches: the predefined set of colors * HSB: color selection defined by hue, saturation, and brightness using a diagram * RGB: color selection defined by its constituents (Red, Green, and Blue) using a slider My suggestion is to combine the...
on Dec 19, 2007
Earlier I shared the Java/JDK issues that I faced while writing an annotation processor. Today I am going to share my experience of using Maven. The issues have hardly anything to do with the annotation processor itself. If you are curious about what that annotation processor does, please refer to my earlier blog. Now, without wasting much time, let me describe the issues in the order in which I...
on Nov 30, 2007
Correct usage of constrained properties seems still remain unclear for many users. As is the convention in the Java, the IllegalArgumentException is thrown if a method receives illegal arguments which cannot be used to execute the method. However, this approach is not applicable for the set methods, since it is impossible to identify whether all values can be used or not. That is why using the...
on Nov 22, 2007
After the widespread disapproval of Apple’s choice not to ship Java 6 with its latest Leopard OS it has come to my attention that there are more manufacturers that are adopting this anti-Java approach. Today, as I had planned for months now, I went and bought a new laptop to replace my aging Vaio. When it comes to hardware I always go big, so I went a little over my budget and got a brand...
on Nov 2, 2007
Here is an good list of top Java books available for preview on Google Books. Google Books provides scans of thousands of textbooks. The scans are not the best, most books have visible scan defects in them. Even though the scans are not the best, there are some features that just work well. Just like Google Maps, where you can send a link to a map (with a set size, address, etc), with Google...
on Oct 27, 2007
A Potted History of Applets Dion was privy to some news about the latest news on Java Applets. But why a re-birth of applets and how did they get from front page news to an industry footnote? My first experience of applets was from WebRunner, the Java based browser which spread through Sun like wildfire. I was working for Sun in Europe in those days and it was such a step up in ease of use...
on Oct 23, 2007