Skip to main content
View Archives: Homepage | Spotlights | Articles | Weblogs Spotlight

The UISpec4j project offers a functional/unit testing library for Swing-based applications. "UISpec4J was conceived in an Extreme Programming environment, where automated testing takes a central place. The existing Swing-based testing frameworks did expose too much of the Swing APIs, resulting in arcane and unmaintainable test classes. This is why we decided to implement a set of wrappers, trying to make our tests as close as possible to human-readable text.

Our ultimate goal is to allow tests written with UISpec4J to become the actual detailed specification of an application."


Java Native Access (JNA) provides Java programs easy access to native shared libraries (DLLs on Windows) without writing anything but Java code--no JNI or native code is required. This functionality is comparable to Windows' Platform/Invoke and Python's ctypes. Access is dynamic at runtime without code generation. JNA's design aims to provide native access in a natural way with a minimum of effort. No boilerplate or generated code is required. While some attention is paid to performance, correctness and ease of use take priority.


This week's Ask the Experts session is on Java SE 6 Update 10. "Java SE 6 Update 10, currently available as a beta release, introduces many new features and enhancements that dramatically improve the developer and user experience. Some of the significant improvements in Java SE 6 result in faster and easier deployment of Java applications and applets, better performance, and an improved look and feel. Got a question about Java SE 6 Update 10? Post it during this session and get answers from three key members of Sun's Java SE Platform team: Danny Coward, Ken Russell, and Richard Bair."


BTrace is a safe, dynamic tracing tool for the Java platform. BTrace can be used to dynamically trace a running
Java program (similar to DTrace for OpenSolaris applications and OS). BTrace dynamically instruments the classes of the target application to inject tracing code
("bytecode tracing"). Tracing code is expressed in Java programming language. There is also integration with
DTrace for the OpenSolaris platform. There will be a VisualVM plugin
for BTrace soon - so that the users can trace their application from the VisualVM client. Alternatively, if you'd prefer you can run BTrace from command line shells as well. BTrace is available under GNU Public License v.2 w/Classpath Exception.


One of the most talked-about introductions at JavaOne 2008, the Lightweight UI Toolkit (LWUIT) makes it very easy to create compelling UI's that will look and behave the same on all devices using a programming paradigm similar to Swing. It supports platform look-and-feels and themes, touch screen functionality, animation and transitions, rich widgets, 3D integration, painters, and more. The project already has a wealth of information available, including a tutorial, developer's guide (PDF), javadocs, and a wiki. You can also learn more in episode 46 of the Java Mobility Podcast.


Part of both the JavaFX and SwingLabs communities, Project Scene Graph provides the scene graph -- a hierarchical representation of objects in a scene -- called for by JavaFX Script, allowing for its use by general Swing applications as well. The project's latest release is version 0.6, which adds some APIs, fixes bugs, and adds a number of new visual effects.


The Da Vinci Machine Project is "extending the JVM with first-class architectural support for languages other than Java, especially dynamic languages. This project will prototype a number of extensions to the JVM, so that it can run non-Java languages efficiently, with a performance level comparable to that of Java itself." The group is hosting a JVM Language Summit on the Sun Microsystem Santa Clara campus, September 24-26, an "open technical collaboration among language designers, compiler writers, tool builders, runtime engineers, and VM architects."


One of the significant new features added to NetBeans IDE 6 is support for JRuby. With this support, Ruby developers can take advantage of NetBeans IDE features such as code completion and the debugger to develop and maintain their Ruby code. Got a question about the JRuby support in the NetBeans IDE? Post it during this week's Ask the Experts session and get answers from three experts: Tor Norbye, Charles Oliver Nutter, and Brian Leonard.


GlassFish's Project SocialSite is delivering social networking functionality by adding social networking platform support based on the OpenSocial standard to any community site. Any social application written for the OpenSocial based social network can be seamlessly and easily hosted on a transformed community site that is powered by the SocialSite project. Project SocialSite adds social networking functionality to applications written in Java, PHP, or Ruby; with widgets, and REST APIs. SocialSite also seamlessly scales up to millions of users


JavaOne 2008 begins next week, and as always, will be a big part of the event, as captured by our JavaOne wiki page. On Saturday, May 3, we're holding a Community Leaders Weekend, an unconference in which community leaders can discuss the online community and help shape the future of the site. Then, of course, the Community Corner on the Pavilion floor will be your place to meet up with fellow community members, see demos, and check out 20-minute mini-talks from project owners and community members. The mini-talks will be recorded as podcasts, sent out during and after the show; you can subscribe to the feed at the podcast's home page, or via the iTunes link. Finally, if you're presenting a technical session, hands-on session, or BoF based on your project, please be sure to add it to the list of sessions on the wiki.


Collabnet's tutorial and Q&A for new project owners, held on April 24, is now available as an WebEx recording. To learn more about setting up and managing projects (including branding of left nav, project membership, roles and permissions, setting up mailing lists, etc.), check out the stream or download the entire session.


Collabnet is hosting a tutorial and Q&A for new project owners, Thursday, April 24 at 8:00 AM Pacific Daylight Time (15:00 GMT). You can join the online meeting with WebEx, or just the teleconference by phone. Check out the info page for specific instructions, technical requirements, and assistance.


Are you a college student? Interested in Java? Want to get into JavaOne for free? The JavaOne 2008 Student Program, hosted by Sun's Chief Gaming Officer Chris Melissinos, is a five-day program to attend the CommunityOne and JavaOne conferences in San Francisco, May 5 - 9, 2008. Participants will have full access to the conference, including general sessions, technical sessions, birds-of-a-feather sessions (BoFs), specially developed Java University classes, a coupon for a free Java Certification Class, access to the JavaOne pavilion (come see us at the Community Corner), t-shirts, lunches, the AfterDark party with Smashmouth, and more. Space for this program is limited, so interested students should download the registration PDF right away.


Entries are now being accepted for the RoboSim Programming Contest. The contest "is designed to test an entrant's coding skills in Java using the Greenfoot Framework/IDE to direct a simulation of a Sun SPOT equipped TrackBot through a simulated maze. The winners will receive free passes to the JavaOne 2008 Pavilion." To participate, read the rules (PDF or HTML), and follow the instructions in the trackbots-greenfoot-contest-2008 project. The deadline for entries is April 14th.


With the next version of the NetBeans IDE just around the corner, the community is hosting a NetBeans IDE 6.1 Beta Blogging Contest. Blog about NetBeans IDE 6.1 Beta for 10 chances to win a $500 American Express Gift Certificate or 100 chances to win a cool NetBeans T-Shirt. To enter, post a blog describing your experience
using the new NetBeans IDE 6.1, a tutorial, insight, tech tip, cool
code sample, request for enhancements, etc. Your blog must be linked
to a comment or trackback made to the NetBeans Blogging Contest site.
Entries must be new material and not copied from
something already written. Complete the href=""
form, or see the contest page for an e-mail link. The conest ends April 18.


The Community Corner at JavaOne 2008 will be your place to meet up with fellow project members and community leaders, and attend 20-minute mini-talks from fellow members. Sign-ups for the mini-talks are still available, so post an abstract and you can show off your project in the booth (and to the audience of podcast listeners). You can also introduce your project by means of a poster, or by scheduling a time to meet the community.


The overall goal of Project Open JBI Components is to foster community-based development of JBI components that conform to the Java Business Integration specification (JSR 208). You can join this project as a JBI component developer or as part of an existing JBI component development team. Starting your own component project is relatively straightforward: you have the option to create your JBI component project as a regular Java.Net project. Joining an established development team might take a little longer and require additional approvals.


The Kijaro project "provides an area for those interested in adding new language features to Java to try out their ideas." Starting from a copy of the OpenJDK javac compiler, the project has gone off on several interesting branches, including the First Class Methods implementation, properties, abstract enums, static implements/contracts, anonymous parameters, and list comprehensions. The project describes itself as "similar to KSL", but without the legal overhead.


As announced in a recent press release, the non-profit industry consortium CableLabs has launched the OpenCable Project on The OpenCable Platform is a Java-based middleware software layer that "provides the opportunity for operators to deliver interactive services and applications to consumers bundled with their other service offerings. Content Programmers may also leverage the OpenCable Platform to enhance their own programming and advertising offerings and perhaps evolve new businesses around these new services."


The OpenJDK JDK 6 project, a backport of the evolving GPL+CPE codebase to the JDK 6 spec, has posted its first source release. Due to IP encumbrances, some classes are not available as source, and are instead provided as "binary plugs" for Windows, Solaris (32- and 64-bit) and Linux (i586 and AMD64). More details about the project are available in Joe Darcy's blog and his initial project proposal. Those interested in the OpenJDK project will also want to check out the OpenJDK Developers' Guide, an early attempt to document everything needed by would-be contributors, from checking out code to contributing patches.


"A global search is on -- to find the coolest Java technology innovations on the planet. Don't miss this opportunity to be recognized as one of the Java developer community elite at JavaOne, in San Francisco. The primary judging criteria for this prestigious award is innovation -- putting small developer shops on an equal footing with multi-national giants." The annual Duke's Choice Awards celebrate extreme innovation in the world of Java technology and are granted to the best and most innovative projects using the Java platform. Submissions are now open for this year's awards, and can be submitted through March 14. Winners will be notified by April 4, and announced at JavaOne 2008.


The ROME Modules Subproject combines a number of contributed ROME plugins into a single distribution for users who want to work with feeds from major RSS sources. Included modules allow you to work with such feeds at iTunes podcasts, A9 OpenSearch, Slash-based blogs, Yahoo! Weather and more. The subproject's wiki page serves as a guide to module-makers, as well as providing guidance to users of the modules.


This week's Ask The Experts topic is "Developing and Deploying Java SE-Based Applications on Solaris". "Are you developing or deploying Java SE applications in the Solaris Operating System? Do you have a question about Java SE technology in Solaris? Post it during this session and get answers from three people at Sun Microsystems who have lots of experience with the intersection of Java SE and Solaris: Dave Dice, Alan Bateman, and Valerie Peng."


The Roller Support Project
"povides themes, plugins and other add-ons
for the Apache Roller blog server.
If you've got a theme or plugin you'd like to contribute then speak up
on the Apache Roller
mailing lists. The Java.Net Roller Support site hosts sample applications and related components based on
the Apache Roller blog and planet servers."


The JADE Project is the JScience Advance Development Experimentation effort, an experimental subproject of the larger JScience project. "We have a complete standalone set of files and releases but we expect one day to merge the whole into the very ahead of time JScience official architecture. Check the documents and files section to try our code. The library supports almost everything you should expect." Aside from source, available documents include articles about JScience and numerical computing, benchmarking information, and more. JADE was the top project by CVS commits on for November.


It has been one year since the open source Mobile & Embedded Community was launched and we have experienced tremendous growth and interest. With that in mind, Mobile & Embedded Community members are invited participate in a brief survey to tell us how we're doing and share ideas for the direction of the Community. We want to hear from you, so click on the link and take the Mobile & Embedded Community survey today.


The free CommunityOne conference will be held again on May 5, 2008 (the day before JavaOne), and its Call for Participation is now open. The initial topic list is:

  1. Free and Open
  2. Projects and Strategy
  3. Operating Systems
  4. Web Servers and Databases
  5. Scripting Languages: Content Authoring and RIAs
  6. Tools and Integrated Development Environments
  7. Next Generation Web Applications
  8. Web Scale Computing

That said, organizers are looking for participants to define what the conference program should cover, and encourage addition of new topics to the Conference Wiki. In any case, the CFP closes on January 31, 2008, and acceptances will be sent out by February 15.


To mark the release of NetBeans 6.0 we've launched a new NetBeans 6.0 forum to discuss experiences, issues and ideas with the popular IDE. The new forum is part of a re-freshening of our forums, which includes the archiving of older discussions, and the launch of new forums, including two new forums for OpenJFX, covering JavaFX Script Language Discussion and OpenJFX General Discussion.


This is the last week to get early-bird pricing for the Mobile & Embedded Developer Days conference. "This conference is devoted solely to the technologies of mobile and embedded Java platforms and will be a unique opportunity for application developers of intermediate and advanced skill levels, platform developers, and technical experts at tool vendors, OEMs and carriers to get introduced to the community, to join in and collaborate. Attendees will enjoy a broad range of technical sessions, lightning talks, poster sessions, panels, hands-on labs, and participatory sessions." Visit the conference's project page to check out the agenda, list of speakers, and planned sessions. The $175 early bird registration ends on November 30.


The Open Web SSO project (OpenSSO) provides core identity services to simplify the implementation of transparent single sign-on (SSO) as a security component in a network infrastructure. OpenSSO provides the foundation for integrating diverse web applications that might typically operate against a disparate set of identity repositories and are hosted on a variety of platforms such as web and application servers.