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 Tools

I'm a big fan of the Unix find utility for managing large projects. One task that's difficult to do with it, however, is finding which jar file contains a Java class -- you can't use search commands like grep because it will match on any class that references your target, not just the defining class itself. There are several utilities that do this on the web, but most are big GUI-based tools...
on Sep 3, 2005

Java Desktop

Zoomable Image Panel I read many Java forums and answer to a lot of questions about Java and Swing people send me by email. During the past few years, I've often seen users asking how to create a component which would let you display an image but also zoom in and out. I decided to take advantage of the SwingLabs FX module I recently introduced to provide such a component. As FX contains nice...
on Sep 3, 2005
Synth Studio EA1 Synth Studio Early Access 1 is a package of three very simple tools I wrote to help me port existing look and feels to Synth. The downloadable archive contains everything you need to run them but I haven't included the source code yet, for I need to figure out which license to use. I might even start a new java.net project if some of you are interested into helping creating a...
on Sep 1, 2005
Werner Randelshofer is the developer of very popular Quaqua look and feel. As said on the project main page, Quaqua is focused on fixing minor bugs and glitches in Apple's implementation of the AHIG as well as providing enhancements that make your application fit nicely into Mac OS X. Unfortunately, this excellent look and feel is available for Macintosh only, and until the last release, there...
on Aug 30, 2005
I've been playing around with the Windows Vista Beta1 release lately, seeing how we're doing for compatibility and native look and feel. There are some minor issues that need to be fixed, but in general we're looking great. It's a nice confirmation of the changes we made in Mustang to use the uxtheme APIs in Windows to render our widgets for the Windows look & feel; we didn't need to make any...
on Aug 30, 2005
When the 2005 WritersUA Skills and Technologies Survey initially was published a coworker forwarded me the results showing JavaHelp with a 12% of the respondents saying it was valuable or invaluable to them. I didn't understand at first why he was so excited. I mean after all if the number had been 13% I would have been rejoicing since that was the number I wore in my athletic days. No...
on Aug 26, 2005
Special Effects? SwingX, one of the SwingLabs projects, offers a very interesting set of components sitting on top of Swing. Just before JavaOne, Richard Bair and I came up with a new Swing border you can use to cast shadows around your components. Creating this simple graphical effect gave us a lot of weird ideas and we decided it would be great to have a separate incubator dedicated to that...
on Aug 25, 2005
Earlier this year I was fiddling around with the new J2SE network ProxySelector APIs as part of a small demo-project. Sadly, the project just wouldn't stay small and I didn't have time for something big. So after a few days it disappeared into one of the many corners of my laptop's hard disk, where it's been quietly moldering away. One part of the old demo was a small GUI for collecting...
on Aug 25, 2005

Java Web Services and XML

I got Windows Longhorn Vista Beta1 through MSDN subscription and decided to upgrade my Windows XP+SP2. The Sys-admins in my company were prompt to help me configure that. I got tempted to setup Windows Communication Framework (codename Indigo) on this machine. So I tried installing Visual Studio 2005 Beta2. I was expecting a smooth VS installation but history repeats itself (different...
on Sep 2, 2005
The annotation processor in JAX-WS 2.0 has been using wildcards to specify the list of annotations that can be processed. For example, the list of supported annotations was initialized as: static {  Collection<String> types = new HashSet<String>();  types.add("javax.jws.*");  types.add("javax.jws.soap.*");  types.add(...
on Sep 1, 2005
Friday has always been a good time for making performance improvements for me, for some reason. Today, its target was javax.xml.datatype.XMLGregorianCalendar class. One of our internal benchmark identified this as a hotspot for JAXB, because when a schema uses xs:dateTime or some such datatype, we're binding it to XMLGregorianCalendar. So I looked at its parsing code and the printing code. On...
on Aug 26, 2005
Ryan and I launched another service to make it easy to own a project in java.net. One of the things that we didn't like about java.net is the mailing list moderation policy. To protect lists from spam, you need to mark a list as "moderated" to indicate that the posting can be only done by subscribers. But if you do this, and someone sends a message to a list without subscribing, they won't get...
on Aug 25, 2005

JXTA

Just wanted to take this time to introduce myself and describe what kinds of things you can expect to see in this blog. My name is Sayed Ibrahim Hashimi and I'm a Java developer and consultant based in Jacksonville Florida. I've been using Java for about 6 years now. My current interest lie in P2P applications, especially those using JXTA. I'm the owner of the dreamcatcher project, a committer to...
on Sep 2, 2005

Open JDK

The Java SE sources are downloadable from java.net, and you can change and extend them within the constraints of the relevant licenses. But building the whole of Java SE is a major undertaking. Here's how to build just the JMX API. The same ideas would apply to building other subsets of Java SE that are Java-language-only. Update: there is now a purpose-designed...
on Aug 30, 2005
The JDK 5.0 (Tiger) and JDK 6.0 (Mustang) binary images include the source and binaries of quite a few demo Java Virtual Machine Tool Interface (JVM TI) agents (native libraries) in the demo/jvmti directory. The more curious people might be interested in the detailed description in my blogs.sun.com site on using VM agents. Certainly writing VM Agents is not something that we want thousands of...
on Aug 23, 2005

Java Enterprise

The Common Annotations and EJB 3 JSRs both provide a number of annotations that are useful to enterprise Java developers. This blog entry examines the use of two from EJB3 that I feel really should be in Common Annotations: @PostConstruct and @PreDestroy. Let's review the purpose of these annotations. @PostConstruct * Designates a method to receive a callback during creation of a *...
on Aug 29, 2005
This is part 2 of a blog series on the superb capabilities new in Sun Java Studio Enterprise 8 EA. As indicated in part 1, I owe Nathan Fiedler of the IDE's development team the input for this series. Take a bow, Nathan. Navigator Window: Source Hierarchy at a Glance In Sun Java Studio Enterprise 7, to view the structure of a source file, you choose a menu item--the editor toolbar. A slick...
on Aug 29, 2005
I'm pleased to announce the availability of the Proposed Final Draft revisions of the next release of the JavaServerTM Faces and Pages specifications. The Faces spec may be downloaded from <http://www.jcp.org/en/jsr/detail?id=252> and the Pages spec may be downloaded from <http://www.jcp.org/en/jsr/detail?id=245> We really want feedback! Please use our Forum to share your thoughts on...
on Aug 25, 2005
You may have read my previous blogs regarding the brand-new release of Sun's IDE: Sun Java Studio Enterprise 8, which is currently in Early Access. Based on the NetBeans 4.1 platform, this is the very first IDE that delivers integrated, code-aware developer collaboration among other capabilities, such as UML modeling and Enterprise Application Profiler. George Vasick, software engineering...
on Aug 25, 2005
In its continuing open-source effort, Sun has made the source code of its implementation of JavaServer Faces available under the OSI approved Common Development and Distribution License (CDDL). More information about that license can be found here. JavaServer Faces has had external contributions, and this open-source strategy will make it easier to get contributions into the technology. The...
on Aug 24, 2005