Archive for September, 2005

Java Timestamps go Database

Friday, September 30th, 2005

Couple of years ago I wrote a small application to manage a post cards distribution for a small advertising company. The application worked with a Cloudscape database but it’s not the point. The point is that my friend, who was working for that company, asked me to help with some strange problem. After the hardware upgrade all of the records in the database became invisible. I need to say that there is a screen where you can examine the amounts of cards sent to a different organizations at the given dates, and there is another screen where you can build a comprehensive reports with the same information but for a given dates range. Well, the records were not visible on the single-date statistics page, but they were in the reports. I was shocked…

(more…)

User Interfaces

Friday, September 23rd, 2005

Check this out in the mean time: Leo Burnett’s design studio. You will be impressed with the design, variety of user-interface solutions and visual effects.

(more…)

Wonderful Resource On EJB3

Sunday, September 4th, 2005

For those of you who already started to study this wonderful world of enterprise applications programming with EJB3 I suggest to visit fascinating resource on the web — Oracle’s EJB3 Resources. You will find lots of details on nearly every aspect of EJB3 application plus downloadable source code. As a learner, I found many interesting bit there.

Highly recommended!

Two approaches to testing of code with database access

Saturday, September 3rd, 2005

Often we deal with database. Data is flying back and forth between application and data store. Following the modern influences, we wish to have tested everything that might break some day. When you get enough experience and develop the sense of well code design, this task will become easy and straightforward, but unfortunately I can see very often bad samples of code separation and awful design. So what it is all about?

(more…)

First EJB3 Impressions with JBoss 4.0.3

Thursday, September 1st, 2005

Wow… My first impression is much like the second:

It’s Amazing!

Have you ever seen me writing like this? No. I haven’t seen myself too. Looking back through the last two hours, I’m smiling. I was and I’m still playing with JBoss4 and EJB3 like a small boy playing with a new toy. I admire new EJB3 specification in full sense of these words. It makes life of developers so much easier than it was before with all these annoying deployment descriptors: aha, you wrote that, don’t forget to write it down here and here… yuck… I can’t call new approach “The Revolution”, but watching it all in a short period of time, like I did this evening, makes exactly these words appear on the tongue. It’s a big, no, a MAJOR step in enterprise applications development using Java.

(more…)