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]  


Global Education and Learning

I've been to quite a few conferences and symposiums lately, and I must say that JavaZone 2005 was one of the best. It had the right mix of in-depth talks, range, great attendees, and a smattering of vendors and exhibits. It also had a classy feel, which I'm always fond of :-). Topics included Spring, JSF, Ajax, SOA, EJBs, design and management areas, and more. The selection of speakers was top-...
on Sep 27, 2005
After I wrote about the JavaCast being discontinued, Dick Wall got in contact to tell me about a new Java podcast that he was putting together with a couple of other people - Tor Norbye and Carl Quinn. This is excellent news and an initial podcast has been released, featuring an interview with Rob Hardwood from JetBrains. As of today, I noticed that you can subscribe to The Java Posse via...
on Sep 26, 2005

NetBeans

Once again, a company (to remain nameless... in fact, let's call this a hypothetical situation) made a broad, sweeping decision to commit all of its in-house developers to a single IDE platform for all internal development. Let's just say that it's either Eclipse or Netbeans. (No need to get all holy-[ide]-war in this post; that's not the point.) One IDE for all... Sounds kinda silly, doesn't...
on Sep 26, 2005
Java 5 has a lot of major improvements to the platform, to the point where some of the smaller features can get overlooked. Like many developers (including Calvin Austin his J2SE in a Nutshell article), I thought it great that varargs methods were added so printf() could be implemented, but didn't see much other use for the feature. Yesterday I was updating a Factory class which uses a...
on Sep 24, 2005
As promised, here's a recap of a simple module I built to help me test a bugfix. There is a feature in NetBeans which allows any FileObject (including files in your project) to be served up by an embedded HTTP server. It is exposed by the API method URLMapper.findURL(FileObject, URL_TYPE). URL_TYPE may be one of three values: INTERNAL: results in nbres://foo EXTERNAL: results in file:/foo...
on Sep 22, 2005

Java Desktop

Important update: R. J. Lorimer has the solution!. Be damned you stupid manifest files! :) Disclaimer: It's not in my intent to start another flame war about IDE. Also please note that, as a user, I don't care about native look fidelity. Finally, please, please understand that I' talking about the look only, not the feel. Every now and then, when I read articles about why SWT and/or Eclipse are...
on Sep 26, 2005
The client group in Java SE-land is looking for someone smart enough to automate themselves out of a good job — and into an even better one. Some Background Currently, whenever a client team (Swing, 2D, AWT, etc.) needs to integrate its changes into the main Java SE workspace, the team's integrator does the job. The integrator is just an engineer on the team — generally someone...
on Sep 26, 2005
When you bring up a Swing file chooser in Tiger with the Synth look and feel you get a perfectly blank window. Styling JFileChooser requires bindings for scrollbars, tables, buttons, combo box, buttons, text fields and labels. Needless to say it's a rather difficult task. Despite your efforts you won't unfortunately be able to fully style it. It appears that Tiger provides no way to specify icons...
on Sep 23, 2005
One area of Swing that does not appear to be getting much attention these days (or that may have fallen out of favor with developers) are the elements that make up the Multiple Document Interface: JDesktopPane and JInternalFrame. I believe that there's tremendous potential in further developing the Swing features in this space. What I am envisioning is nothing less than a JDesktop that...
on Sep 23, 2005
Many Swing components can be oriented according to your needs. Scrollbars are among the most common oriented components. Despite some support in Synth for oriented components, it is far from being exhaustive in Tiger. While some left aside components can be easily forgotten, for instance the window of a floatable toolbar being dragged, Synth lacked support for important oriented components, like...
on Sep 23, 2005
Every Swing look and feel relies on properties to customize the rendering. One of these properties allows you, With BasicLookAndFeel and therefore Metal and Ocean, to change JTree's lines style from solid to dashed: UIManager.put("Tree.lineTypeDashed", Boolean.TRUE); The following screenshot shows the difference between dashed tree lines on the left and regular solid tree lines on the...
on Sep 21, 2005
Chase Away Those Fierce Nightmares In Tiger and early Mustang builds, Synth falls short providing a versatile, efficient and easy to use way to load a theme. Only one method is offered to load a Synth theme, the mischievous SynthLookAndFeel.load(). Albeit easy to use, this method suffers from critical limitations. When your program invokes it, two parameters must be specified: an input stream...
on Sep 21, 2005

Java Enterprise

The Sun Java Studio Enterprise Software Forum is the place for you to congregate with fellow developers and the Java Studio Enterprise engineering team online: You can ask questions, post comments, discuss bugs or issues, share your thoughts about the UI, offer suggestions. Not a participant yet? Just join Sun Developer Network--for free--and then sign in and post away. In this series, I'll recap...
on Sep 26, 2005
This is part 6 of a blog series on the superb capabilities new in Sun Java Studio Enterprise 8 EA. As indicated in part 1, input from Nathan Fiedler of the IDE's development team was what made this series possible. Thanks a million, Nathan. UML Modeling: A Sleek Redesign for Clarity and Simplicity A redesign of the UML diagram editor and toolbar has resulted in their assuming a similar look and...
on Sep 26, 2005
At this point, I would like to show you some of the JSP pages we have in our application, but I'm sure there's a clause somewhere in my contract that says otherwise. Over the long term maintenance and feature-adds on large web applications, your JSP pages can start to look like variable soup. You have 10 to 15 variables being accessed that may have come from any scope, set by any action,...
on Sep 22, 2005

Java Web Services and XML

The JAX-WS development team is proud to announce that JAX-WS 2.0 is now feature complete and the team has entered bug fixing mode. To obtain the highlest level of quality the team wishes to enlist all developers interested in Web Services to get the lastest JAX-WS bits and kick the tires. If you find issues with JAX-WS please let us know. You can provide feedback in the JAXB 2.0 and JAX-WS 2.0...
on Sep 26, 2005
On a recent trip to Blogger, I noticed a new tool: a blog toolbar for Word. How convenient! You can review, edit, and even post new blogs to Blogger from Word...nice. There's only one problem...what if I can't use Word? What if I don't want to use Word? What if I want to use OpenOffice instead? What if I want to blog to java.net instead? I've been hunting the internet for an OpenOffice plugin...
on Sep 21, 2005

Java Tools

Since I wrote the last blog entry about the maven java.net plugin, Ross Bamford joined the development, and we've been working on the Maven repository for all java.net projects. The idea is to have a single Maven repository where all java.net projects can publish their artifacts. This has two benefits; the first is that it becomes easier for other projects to depend on java.net projects,...
on Sep 23, 2005
Xdoclet did a very good thing: not only did they use a doclet-like mechanism to produce xml files and other artifacts to make j2ee and web development easier, they gave us a better design than javadoc in that the code generation is template-driven. My understanding is that xdoclet v1 used the xdt template engine while xdoclet 2 is now based on generama (where one can choose to use velocity or...
on Sep 23, 2005

JXTA

We all know that Java 5 represents one of the most significant evolutions of the Java language since its inception. And Java 5 is taking root and sprouting at different rates in different environments. The tool makers are the rapid adopters, of course. The IT houses are obviously going to proceed more slowly, more cautiously. So I was thinking about all of these new features in the language...
on Sep 23, 2005