Sunday, November 30, 2008

Cute Bike!

I was heading for gym @ Leisure Mall on Saturday afternoon and notice this cute bike. I don't feel anything special bout this bike at the 1st glance, but after few seconds i was like "eh, how come this bike is like that?" and i quickly snap 2 picture and coolly walk off =D

29112008202

29112008203
Look at the body! so cute, haha! even the rim is in pink.

Fullhouse @ NZX

Heard about this nicely deco restaurant from my friends and pictures from their facebook makes me wanna try out this new place Fullhouse @ NZX. For those who don't know what is NZX, it's stands for Niu Ze Xui located at Kelana Jaya. But NZX is an acronym for "New Zealand Stock Exchange" too, so don't get the wrong idea about getting any stock tips or infos here =D

Going to the place is quite "not so direct" because it's like a hidden city similar to those in "Indiana Jones". You'll need to go through all the small residential roads and a tunnel before reaching there. The place is nice conceptually, but it turns out to be a bit of "rojak" and bad location. Imagine you can have a nice restaurant/cafe at a corner, but along the stretch you can get a lousy coffee shop. A very confusing theme i must say. As for the location, a feeling that you'll need lots of efforts in order to reach the place (maybe not for those who stay nearby). You won't have the chance of bumping into NZX (e.g. Mid Valley, Leisure Mall) and have a thought of "hey, why don't we just have our dinner here?". Doing business is all about location apart from your products and services (for retails). They're losing out there.

Anyway, there's still a gem there in NZX =) Nicely deco restaurant/cafe, one of its kind in KL (AFAIK). Lets the pictures do the talking (camera phone, bear with the quality).

09112008162
Sitting near the entrance.

09112008163
The cat clinging on the glass bowl can be taken off, it's just hanging on it. How cool is that?

09112008164
Cappuccino mushroom soup (mushroom soup with foam on top).

09112008166
Tea on pot.

09112008167
Upstair, just after the staircase exit.

09112008170
They're selling accessories and cloth too!

09112008173
The Entrance.

09112008174
Coincidentally bump into Becky, she blogged about this outing too.

Conclusion, foods so-so, environtment nice, service good, location bad.

Saturday, November 22, 2008

Running Java 5 Compiled classes/Jar on JRE1.4

Most of you might not need and bother to know about running Java 1.5 compiled classes on JRE1.4. Why? you don't need to. Run with JRE1.5 or higher. No issues.

But sometimes, though i admit it is very annoying that you need to run in that behaviour. You might happen to have a set of codes which relies on an 3rd part API that is Java 5 onwards compatible (i.e. Apache Camel) and it's working great and *SNAP* there's 1 client that still running on JRE1.4 that need to have that functionalities. I've panicked for about 5mins myself until i came across this "Retrotranslator".

Retrotranslator enable you to run Java 5 compiled class on JRE1.4 or 1.3 in 2 ways.

1. Transform the classes/Jar into Java 1.4 compatible.
2. Run Java 5 class on JRE1.4 using Just-In-Time(JIT) Retrotranslator to translate Java 5 byte codes to Java 1.4 on the fly.

Personally i'll prefer first option (not knowing how is this Retrotranslator behaving). After using it for some time, i found it's quite stable and have no problems at all =)

Here's how you convert a Java 5 classes/Jar to Java 1.4:

java -jar retrotranslator-transformer-n.n.n.jar -advance -srcjar 

The "-advance" option is to resolve compatibility issues between Java 5 and 1.4. Such as new methods that found in Java 5 but not 1.4. But it has only limited support. After running the Command, the jar file will be converted into Java 1.4 compatible. Now you can use this Jar on JRE 1.4. 

For more information, please refer from http://retrotranslator.sourceforge.net/