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

Dalma is a workflow engine that lets you write conversational programs quickly. In my last blog about Dalma, I showed a little code snipet that explains the concept, but I wanted to have the real working code. So today, I added a little hangman game as a sample to Dalma. It's a daemon that handles hangman games with multiple users concurrently, via e-mail. The entry point looks like this:...
on Oct 22, 2005
New blog, new life. Let's start things up by talking about a nifty tool we have developed internally and are making available as part of the FastInfoset project (and will mostly likely create a new project for very soon). You can browse the CVS tree here. Japex is a simple yet powerful tool to write Java-based micro-benchmarks. It is similar in spirit to JUnit in that if factors out most of the...
on Oct 20, 2005
Many applications of today need to have a part of the program that waits for other entities. For example, a mailing list manager waits for an e-mail to trigger actions. A web application waits for incoming HTTP requests. Sometimes those applications are conversational; they not only just receive messages, but also send out messages. Those programs often maintain some state and change it as the...
on Oct 12, 2005

Open JDK

Descriptors allow you to give additional information about MBeans to management clients. For example, a Descriptor on an MBean attribute might say what units it is measured in, or what its minimum and maximum possible values are. As of Mustang (Java SE 6), Descriptors are a basic part of the JMX API and are available in all types of MBeans. Here's the easiest way...
on Oct 22, 2005

NetBeans

(Yes, buried in here is a link to a new cool NetBeans tutorial...) Budapest is lovely... It was my first time in Budapest since backpacking through there in the summer of 1998, and I was back to do a presentation at a Java developer event - along with Martin "the mobility guy" Ryzl, and Petr Jiricka, Mr. Web Tools who drove down from Prague to talk. Martin Ryzl demos Mobility in...
on Oct 20, 2005
A few folks have asked how you move an application from the cluster build harness on 4.x to the 5.0 platform. The way I did it was to create a new module using the IDE, and just copy my source code in. Then use the IDE's facility for adding module dependencies based on what doesn't compile right away. Worked like a charm, except that ClearCase was a PITA about hijacked files (if you're a...
on Oct 19, 2005
When the béta of NetBeans 5.0 has been available, I decide to write somes nice Flash tutorials for NetBeans 5.0. But they are, today, only available in french. You can find them on developpez.com, a high quality french website. developpez.com is hosting a lot of forums (and specially a recently new netbeans forum) concerning development, tutorials, blogs, FAQ, Sources, ... You can also find...
on Oct 16, 2005

Java Desktop

Yesterday i have stumbled upon this entry from Apple developer zone. It shows how to indicate that a document window (frame in Swing application) has changed contents. The indication is similar to that of regular Mac application (dark dot in the close button). The way to accomplish this is to put a windowModified client property with Boolean.TRUE value on either the JRootPane or on the...
on Oct 20, 2005
I've been trying to think of a way to humbly announce that no lesser authority than Evans Data Corporation has reported that Swing is the dominant GUI Toolkit for Northern American developers. It's difficult to present this new statistic with the grace and humility of good sportsmanship because, after nearly 8 years of steady growth: "Java Swing with 47% use, has surpassed WinForms as the...
on Oct 18, 2005
Some of us recently visited the Sun offices in St. Petersburg, Russia, where we have lots of great client engineers working on AWT, Swing, and 2D. We spent most of the week working on various desktop development issues (like planning the features in the next release after Mustang). But the most important contribution of our efforts there might be in the field of Swing Humor, a niche that has...
on Oct 18, 2005
What would you say if you opened the Options dialog in your application and it looked like this (click to see larger version): I've blogged about adding watermark image before, but pay attention to the buttons. They are shaped like little rhinos. Don't like rhinos (or Beyonce)? No biggie, just change a few VM flags and here you go (click for larger view): And now to the reason why would you...
on Oct 17, 2005

Java Enterprise

Yesterday, Sun shipped the final version of Sun Java Studio Enterprise 8, only two months after the Early Access release. To the IDE's engineering team--the people who made the IDE a reality--it was a momentous day. I asked them for their take on what in that IDE appeals to them the most. Here's what six members of the team have to say."Enterprise Application Profiler in the IDE is truly...
on Oct 19, 2005
Over the past weeks, in collaboration with Nathan Fiedler, a Sun Java Studio Enterprise developer, I posted a six-part blog series, Nifty Capabilities in Sun Java Studio Enterprise 8 Early Access. Now that the final release is out, I've consolidated the series here, given that all of those characteristics apply to the final version of the IDE. A handy reference for you, I hope. Be sure to visit...
on Oct 18, 2005
A few weeks back, I worked feverishly to get an article ready for this months' (November 2005) edition of the Sys-con's Java Developer Journal, or as many people refer to it, the JDJ. Check out your pigeon hole mailbox, or head to JDJ online to read the article. For this article, I delve into the details of matching your JDBC driver against the many choices in the Object-Relational-Mapping (ORM)...
on Oct 17, 2005

Java Web Services and XML

The JAX-WS 2.0 Proposed Final Draft (JSR 224) is now available on the JCP website JSR 224 PFD. It can also be viewed from the JAX-WS project on java.net under the specification link. From this page you can also download the JavaDocs for the APIs as well as the source code.
on Oct 19, 2005
Ken Hofsass enabled the JAX-WSA 1.0 RI weekly builds here. We will soon be adding samples for you to play. Technorati: Web Services jaxwsa WSAddressing
on Oct 17, 2005
Different Output Media The most basic notion of the marshalling is to take a JAXB-bound object that has @XmlRootElement, and write it out as a whole XML document. So perhaps you have a class like this: @XmlRootElementclass Point {  @XmlElement  public int x;  @XmlElement  public int y;  Point(...) { ... }} Then you can do: marshaller.marshal( new Point(1,3), System.out...
on Oct 13, 2005
JAX-WSA (Java API for XML Web Services Addressing) Early Draft 1 specification, zipped javadocs and online javadocs are now available. This is a work of JSR 261 Expert Group that is chartered to define APIs and a framework to support transport-neutral addressing of Web services. Please visit jax-wsa.dev.java.net for regular updates. Technorati: Web Services jaxwsa WSAddressing
on Oct 12, 2005

Portlet

Enterprise portal developers would likely find a new technical article helpful and illuminating: Configuring IDEs for Portal Development and Deployment. It answers an often-asked question, "How do I set up an IDE specifically for building and deploying portals?" The article cites Sun Java Studio Enterprise 8 and Apache Ant as example tools and explains the configuration process with project...
on Oct 19, 2005

Jini

About six months ago Sun released the Jini Starter Kit under the Apache Software License 2.0. That enabled other projects that use the service implementations and utilities from the Starter Kit to follow suit. By the time this weblog entry is written, 18 projects in the Jini community are using an open-source license and 15 others have plans to do so. The following list of projects is partly...
on Oct 13, 2005