Update to Android 1.6

16 11 2009

Using the HTC developer phone the update to Android 1.6 will most probably the last one you can run on this device. Version 2.0 will not run on it (officially)
To update the version from 1.5 to 1.6 you follow the same steps as in my previous blog entry about Android update (link) using the lastest files from HTC (link):

  • Radio Image: ota-radio-2_22_19_26I.zip (same file as for 1.5)
  • Recovery Image: signed-dream_devphone_userdebug-ota-14721.zip

The release notes of 1.6 (from September 2009) you find at android.com.

If you dare to walk outside the standard path, go to Cyanogen.com for a homebew, but popular mod.





ZK 3.6.3 and ZK5.0rc with Glassfish V3 and EE6

15 11 2009

In my previous post I described how to get a EE6 web application using the ZK3.6.3 framework on Glassfish V3. I noted while redeploying or undeploying the web-application it made the GF instance plus the JVM crash (running Ubuntu 9.04,9.10 and JDK 1.6.b16).

This problem does NOT exist anymore with the latest build from last week. Make sure you update to build b72. Start the updatetool in glassfish-home/bin. (you might have to start it several times, I got several times time-out errors, or better click on the reminder if you choose the automatic update check feature).

SVH20091115_001

Glassfish V3b72





ZK NB Plugin News

10 11 2009

As expected, as a matter of not even days, the Netbeans plugin for ZK 3.6.3 was released. Download it from sourceforge.net.

You might also notice they released a plugin for the release candidate of ZK5 (which you find in the same download section). Though the plugin creates a J2EE 1.4 web application, it might be worth installing to test the features of the upcoming version.





ZK 3.6.3 with Netbeans 6.8 Beta on Glassfish V3

6 11 2009

I am using Netbeans 6.8B for a few days and mainly testing if my existing JEE5 projects can be opened, deployed and executed on GF3. I am using ZK as Web/Ajax Framework. Usually the ZK team releases a new NB plugin to help you to create ZK based Java Web projects. Currently the plugin supports 3.6.2, some days back ZK 3.6.3 was released, so I guess in a few days time we will have a 3.6.3 plugin. The plugin creates a skeleton for a JEE5 webproject and I doubt they will support Java EE6 before EE6 is finally released (December?).

I was curious to see if I get the latest ZK running on GF V3 as a JEE6 application.

Part 1: ZK 3.6.2 with Netbeans 6.8B as EE5 Web Project

First, lets try first to add the 3.6.2. plugin to NB 6.8B

SVH20091105_001

ZK plugin 3.6.2

Read the rest of this entry »





Singapore JUG Update

5 11 2009

Last monday we met for the third time. 15 people showed up following in a relaxed 2 hours on these topics:

  • Servlet 3.0 (part of EE6) by Chuk
  • JVM based languages Clojure, Scala bu Chuk (guess more to come soon once the he add the other languages)
  • Pomodoro Time Management by me
  • Netbeans, Cobertura, Hudson hands-on by me

You want to join ? Next meetup not yet scheduled. Drop by ww.meetup.com/JUG-Singapore





Release Fever Update

5 11 2009

Quite a number of new releases (that bother me) hit us the last few days (weeks) and more to come.

  • Ubuntu 9.10 (the broken Koala) (link)
  • Netbeans 6.8 BETA (link)
  • Java EE6 in NB 6.8B (official release eventually in December) (link)
  • ZK 3.6.3 (link)




Tutorial: Getting started with Netbeans and JUnit plus Cobertura and Hudson (Part 3)

26 09 2009

Following part 1 and 2 which covered the JUnit test class creation and the coverage evaluation by Cobertura, we will add in part 3 another dimension: Automation. So far we run the tests manually, but we want to achieve a continuous integration and test environment.

Part 3 (Cobertura and Hudson)

Preparation:





Tutorial: Getting started with Netbeans and JUnit plus Cobertura (Part 2)

25 09 2009

Following part 1 which covered the class and JUnit class creation and ended in a suspected successful test.

Part 1 (covering Cobertura setup and execution)

Preparation:





Tutorial: Getting started with Netbeans and JUnit plus Cobertura (Part 1)

25 09 2009

I believe strongly in testing. I saw companies and products without any automatic test frameworks and the slightest change to the codebase (often in the urgent ‘we-need-to-fix-it-now-and-give-to-the-customer-in-1hr’ mode) made parts of the product or modules prone to crashes because no one could test the changes against the complete application. In my current endevour to create a new product we embrace testing, though we dont practice TDD (test-driven-development), but at least we maximize the amount of automatic testing with tools/frameworks like Netbeans, Hudson, Cobertura and others. If you dont practice TDD, how can you judge how much of your codebase is really tested, even you assume all you business testcases are covered ?

The other day Code Coverage crossed my way (Thanks Chris!). Eager to find out how to “do it” or to “use it” I found a few tools suitable for the Netbeans environment. It actually drilled down to only one tool: Cobertura. It fits exactly into our landscape using Netbeans and Hudson and it is opensource.
To get started with Cobertura you should be familiar (a bit) with Netbeans, JUnit and Ant. The Cobertura website offers sufficient reference for all functions and introduction to get you started. But what I missed is a tutorial the start from the scratch using Netbeans and Cobertura. I found 3 references (I will add them at the end,) which are not complete or just not working for me), so let me share the most basic getting-started steps with you.
Please note: This is how I get started, it might not be complete, foolproof or even correct in all details. Please feel free to comment, correct or give other feedback !

Read the rest of this entry »





From the bookshelf

11 08 2009

New on my packt bookshelf to read:

I will update you with my review soon.