Skip to main content
View by: Most Recent | Topic | Community | Webloggers   
Monthly Archives:    

Blogs by Community: Java Tools

• 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

As a programmer, I spend a lot of time fixing bugs. And a considerable portion of that is the time spent on reproducing a problem. Here is how a typical such session goes. Your user reports that your program doesn't work and throws such and such exception. Or given the symptom he's describing, you suspect some "if" statements to be evaluating to false. If you are lucky and experienced,...
on Nov 8, 2009
I would like to show you how you could extend your javadoc to include samples directly into the javadoc without extra work. What I don't like about javadoc is the lack of code sample. Something is can be hard to find the starting point of a new framework. Let's show a example, it will be easier to understand, and so simple. [prettify]
 /** 
 *
 * This in a javadoc with...
on Nov 8, 2009
I'll be doing a webinar and Q&A sessions on Hudson tomorrow. One of the problems of doing a presentation for the general audience is that I normally can't spend too much time on the advanced topics. So in this webinar, I'll be talking about several topics that are oriented more toward people who have already evaluated Hudson and/or are already deploying Hudson. The topics include:...
on Oct 13, 2009
Can you compile, deploy and test your Java EE projects with just 1 line of command? Check it out. I have no time for documentations lately, but I prefer to give you a chance to early adopt my build script and take your own conclusions. Following the steps below, you will have my Java EE 5 application running in your Glassfish v2.1 server - including test data populated in the MySql database....
on Oct 9, 2009
When you need to produce lots of fairly straightforward graphs, Java2D is your friend. In this blog, I show you how you can render simple images as crisp-looking PDF or EPS files, provided you can draw them on a Graphics2D object. Recently, I had to draw a bunch of simple images, such as this one or this PDF Of course, you can do these drawings in Illustrator or Inkscape. But if you are a coder...
on Oct 8, 2009
When I started the mavenization of my projects, in July, I really didn't figure out that it would have been such a painful and long process. It is literally consuming me - also because I'm longing to see the end of the conversion, so I can resume the development. The first mavenized projects, BetterBeansBinding, jrawio and Mistral, were reasonably easy, also considering that I had to...
on Sep 25, 2009
Java Power Tools Bootcamp sessions are coming up fast in Sydney and Wellington - come see what the buzz is about! For those in Europe, sessions are scheduled for Paris and London and in February next year. The Java Power Tools bootcamps provide a great way to give your Java development a boost and introduce some kick-ass tools, techniques and tricks into your daily development routine. This...
on Sep 14, 2009
A new Java Power Tools Newsletter is out! In this issue, we study the theory and practice of Mock Objects, including the subtle differences between mocks and stubs, and a simple case study using Mockito, the new kid on the block of Mock Objects frameworks for Java. Check it out!
on Sep 13, 2009
I'll be leaving the bay area on Monday to give a talk about Hudson in JavaZone 2009. The talk will include both the general introduction of Hudson, as well as some of the advanced topics. Europe has a lot of Hudson adoptions (possibly better than in the U.S.), so I'm hoping to meet with many of Hudson users and developers there. I'll be back next Friday. I was hoping to take a few days off in...
on Sep 4, 2009
Tony Epple posted Simplest possible Drag&Drop implementation for Visual Library: Two days ago I blogged about how to create a new ExplorerView by Combining ListView and ChoiceView. Today I'll show you how to use this view as a palette for a Visual Library scene. It's very simple, AbstractNodes already implement everything needed for this. In the NestedListView -as in any ListView- dragging...
on Aug 28, 2009
Bonjour, Comment Java? This coming Thursday(08/27/09) 'll be at GooglePlex (Mountain View) for an Eclipse Day...The entire genda is at http://wiki.eclipse.org/Eclipse_Day_At_Googleplex_2009. 2 presos seem to be very interesting so far: OSGi for Eclipse Developers Deploying Successful Entreprise Tools and possibly others...The Google crowd is impressive. There is a waiting list for people who...
on Aug 24, 2009
Since I was unable to quickly google the solution for my Maven DLL problem, I thought I'd post a quick blog about it. Here's the situation, I have tests that rely on artifacts that are DLLs (in my case these were the Java3D DLLs). So, I needed to be able to have the DLLs in a known location so that the tests could run, but did not want to check those items into the SCM repository, nor install...
on Aug 14, 2009
I write my lecture slides in XHTML, using the marvelous HTML Slidy package. I just dump the images into the same directory as the HTML files, which isn't so smart because it makes it hard to copy a presentation from one directory to another. I could change my habit, but hey, what is technology for? A couple of years ago I decided to write a script that simply generates a list of all images in an...
on Aug 11, 2009
The continuous integration server Hudson that I started 5 years ago has grown to the point that it has become an important part of many businesses (to name a few, and most of them run inside corporate firewalls that I can't point you to.) When an enterprise depends on Hudson as an infrastructure for doing software development, a commercial support often becomes an useful option — And to...
on Aug 4, 2009
Folks, On July 1st, I started a new blog that will feature posts related to the experiments I carry out at various FOSS projects. Motto for this initiative: "You've got to experiment to figure out what works", as said by Andrew Weil. As part of this initiative, I started a new project as well. Wiki to XML Martin Junghans and Dirk Riehle, did research on the possibility of converting WikiCreole...
on Jul 24, 2009
Hudson Distributed Fork Plugin Most of the tests written today are designed to be executed on a single system (in fact, many of them don't even try to use multiple threads.) This tends to increase the time it takes to run tests, which in turn hurts our productivity. The way I see it, the reason such a single system environment is assumed (despite the fact that we are almost always connected to a...
on Jul 15, 2009
To quote the announcement e-mail from R. Tyler Ballance: Howdy everybody, I pitched this idea to Mike (mrooney) and Kohsuke onIRC and I wanted to spread the word further.Me and by extension my employer (Slide) are hosting a Hudsonhackathon/meetup on Saturday, July 18th in downtown San Francisco.I personally wouldn't mind getting some other hackers in the same roomtogether, perhaps to hack on...
on Jul 13, 2009

Java Desktop

If you are reading this blog it means you want to use JasperReport with dynamically programmatically generated images. An example of such use cases in generating complex charts using JFreeChart and then including these charts into reports. Each report in JasperReport uses a datasource to populate the fields, we need to use JRBeanCollectionDataSource which can be considered as a simple collection...
on Sep 21, 2009
The refcard discuss the following items:  The BDB Family : An introduction to different DBD family members, including BDB Base Edition, BDB XML edition and BDB Java Edition with tables comparing their features. Key Features: Key features of BDB family members and BDB Java Edition exclusive features are explained here Introducing Berkeley DB Java Edition includin: Installation: How to...
on Sep 1, 2009

Java User Groups

I am absolutely thrilled to anounce that I will be talking at the Canberra JUG meeting next week (on Wednesday, September 9, to be exact), about BDD in general, and Easyb and JDave in particular: Behaviour-Driven Development, or BDD, is an excellent development strategy that can help bridge the traditional gap between requirements and implementation. This talk will go discuss the basic...
on Sep 2, 2009