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 Enterprise

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
Recently, I asked Nathan Fiedler of the Sun Java Studio Enterprise engineering team for a rundown of the nifty capabilities that are new in Sun Java Studio Enterprise 8. Not only is Nathan Mr. Debugger, as evidenced by his bio on an article that we cowrote in May, Debugging Tips for Applications Built With Sun Java Studio Enterprise 7, he was also the primary contributor for the product tour of...
on Aug 22, 2005
Today marks an exciting milestone for the IDE folks at Sun. It's the launch of the Early Access release of Sun Java Studio Enterprise 8, an all-encompassing IDE of numerous capabilities for building, debugging, testing, deploying, and tuning Web applications and Web services. Since December 2004, I've been working closely with many dedicated, knowledgeable, and capable engineers on the Java...
on Aug 16, 2005

Java Web Services and XML

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
When you are working with JAXB-bound classes, it's sometimes convenient to be able to parse those JAXB annotations by yourself. For example, some people are interested in implementing a subset of XPath engine on top of JAXB beans; Some other people are interested in writing a Swing JTable adapter for JAXB objects. When doing this kind of stuff, you'd like to know answers for questions like "does...
on Aug 18, 2005
Web Services Addressing Working Group advanced Core and SOAP Binding to Candidate Recommendation. As per W3C recommendation track process, the director will now call for implementations to gather implementation experience. Earlier the WG decided to have 4 implementations complete of mandatory features, of which 2 will also implement all optional features. These 4 vendors will provide feedback to...
on Aug 17, 2005
The initial version of the JAXB RI unmarshaller was written for 1.0 for more than 2 years ago, and that was based on my experience working with a databinding tool called RELAXNGCC. The idea was to build a push-down automaton by using XML events as alphabets. This was very flexible, in that it can capture most of the RELAX NG grammar (such as a choice between attributes, or a choice between an...
on Aug 16, 2005
ID/IDREF has been with XML since its very first day. It works nicely with databinding tools, because it's easy to do a type analysis with ID/IDREF In this regard, key/keyref in XML Schema is much worse --- in general it's not even possible to determine how a given key/keyref constraint maps to which field/method of an object. ID/IDREF is great, but it is sometimes too simple. For example,...
on Aug 15, 2005

Java Desktop

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
As Kermit once almost said, "it's not easy being free." Having a free and popular download has its advantages. Developers like the platform, they grab updates, they post bugs, they participate in forums, they come to conferences, they read blogs (I hope), .... But being free and popular also has a downside (beyond the whole "revenue" thing): we don't necessarily know what parts of our...
on Aug 19, 2005
For years Java developers have been warned about the dangers of using finalize methods to release system resources. Josh Block describes the issues thoroughly in his book, Effective Java (Item 6: Avoid finalizers), but just Google for "avoid finalizers" or "finalizers considered harmful" to find hundreds of similar discussions not just about Java, but most other languages that offer the facility...
on Aug 17, 2005

Open JDK

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

JXTA

Lately there has been several inquiries about JXTA's PipeService, and companion utilities (JxtaSocket, JxtaMulticastSocket, and JxtaBiDiPipe) on JXTA's discussion lists, hence this blog to shed more light on the PipeService and utilities provided, and their inherit features. The initial goal of the PipeService was to provide primitive (unidirectional, and unreliable) message based communication...
on Aug 23, 2005

NetBeans

At JavaOne this year I made a point to attend TS-5958: Amazon Web Services: Fueling Innovation and Entrepreneurship on Tuesday morning. I had registered for an Amazon SubscriptionId awhile back in order to use the Amazon E-Commerce Service (ECS), but never took it any further. Since returning, I've touched base with Jeff Barr, Amazon's Web Services Evangelist and session speaker and we've decided...
on Aug 18, 2005