Tuesday, September 25, 2007

Friday, September 14, 2007

FLEX 2.0

I tried flex and the so called RIA(Rich Internet Application) today ... made a Hello world .. understaood the basics of MXML , ActionScript , Class Libraries , and DataServices.How all these pieces fit together .... Beleive me flex is so so powerful ... i can now create applications so easily at just click of mouse ...

Moreover the IDE "Flex Builder" is a*w*e*s*o*m*e* i mean just take a simple example of making a simple page that has "Name Label" and "TextBox" and "Address Label" and "TextArea" in order to make this page in design view the IDE gave me so good aligmnet indications ( both vertical and horizontal) i never saw that in an IDE befor ( may be u can say at least the ones i used )

Another plus point .. using flex i guess i can make the same application easily for desktops and mobiles ... withput much of a coding headache... i need to explore more on that ...

But i get an error during debugging mode

C:\WINDOWS\system32\Macromed\Flash\Flash9d.ocx
Flex Builder cannot locate the required debug version of the Flash Player. You may need to install the debug version of Flash Player 9.0 or reinstall Flex Builder. Do you want to try to debug with the current version?

Trying to figure out what does that mean ... on forums
:)

Monday, August 20, 2007

Saturday, August 18, 2007

String VS StringBuffer : Bytecode level

Hi
found this article on String VS String Buffer and the interesting part is difference is explained in terms of bytecode ...
The byte code didnt make MUCH sense to me ... EXCEPT that StringBuffer creates less bytecode that string.

:)

Tuesday, August 14, 2007

Java Puzzlers

Hi
see this .. best java puzzles ever
http://video.google.com/videoplay?docid=9214177555401838409
wat say ??

Adding my bit of cheese on it try predicting output of


class Some_Runnable implements Runnable {
public void run() {
System.out.println("Some_Runnable");
}
}

class Some_Thread extends Thread {
Some_Thread() {}
Some_Thread(Runnable r) {
super(r);
}
public void run() {
System.out.println("Some_Thread");
}
}

class Some_Other_Thread extends Thread {
Some_Other_Thread() {}
Some_Other_Thread(Runnable r) {
super(r);
}
public void run() {
System.out.println("Some_Other_Thread");
}
}

class default_thread extends Thread {
default_thread() {
System.out.println("IN default thread ");
}
default_thread(Runnable r ){
super(r);
}
// NO RUN() METHOD
}

public class Class2 {
public static void main(String args[]) {
// lang.Thread class implements Runnable
new Some_Thread().start();
new Some_Thread(new Some_Runnable()).start();
new Some_Thread(new Some_Other_Thread()).start();

new Thread(new Some_Runnable()).start();
new Thread(new Some_Other_Thread()).start();

System.out.println("Default Thread ... doesnt override run()");
new default_thread().start(); // ok
new default_thread(new Some_Runnable()).start();
new default_thread(new Some_Other_Thread()).start();

}
}

Monday, August 13, 2007

Oscars of the Software Industry

I am hearing it for the first time ..
may be coz i am not that much aware of the industry awards
never thought of exploring the same
But the findngs are interesting

Oracle Database 10g' is the winner of the best enterprise database and 'Oracle ADF Business Components' the best Java Component as announced by the 'Oscars of the Software Industry'.

Check out this link:
http://jdj.sys-con.com/read/171303_3.htm

Thursday, August 9, 2007

Observable Collection

came accross this observable collection
http://commons.apache.org/sandbox/events/apidocs/org/apache/commons/events/observable/ObservableCollection.html

something useful and nice ..
didnt get time to try it out ...
but soon will ...

this thread talks more about it