Friday, January 21, 2011

Asynchronous programming in Java with Jsp and Servlets

Have you ever needed to do some task asynchronously with Jsp and servelet? If if is EJB container like jboss then we can use message driven beans or some other technique. I found a good discussion thread that has suggested few good solutions for that.

http://cephas.net/blog/2004/02/02/asynchronous-method-invocation-in-java/

Friday, August 13, 2010

Check Your Programming ability with Java

Hi all, after Long time :-)

I found a nice site, which offers really good questions to test our java programming knowledge. Just go through the test. All the best

http://www.betterprogrammer.com/

Monday, September 15, 2008

MIA Paper Planes (Diss by DeLon)

I found this song and thought to share it with you....

Wednesday, June 18, 2008

Google App Engine

Although Google has announced this quite while ago, I tried it today. It is amazing service (product) by google. I don not want to write more... Here is the url... try it yourself

http://code.google.com/appengine/

Saturday, May 03, 2008

Sri Lanka in top 10 contries in the GSoC 2008

Google has recently announced the top 10 countries this year

See the article

I think this is a great achievement as a country. Well done guys :). Good luck with your great work.

Tuesday, January 08, 2008

Connecting your Nokia N70 phone in Linux

I tried several ways to connect my Nokia N70 phone in my Debian box. I did it using bluetooth, but I wanted to connect it via USB. So I did some googeling, but I did not find any solution. Therefore I raised that question in LKLUG (Lanka Linux User Group) and get few responses. This is what I did.

I used this link as suggested in LKLUG mailing list.

http://think2ed.blogspot.com/2008/01/connect-your-nokia-n70-with-your-ubuntu.html

First of all I installed obexftp tool,

1.) sudo apt-get install obexftp

Using obexftp you can check whether the your phone is correctly connected to the machine.

2.) sudo obexftp -u

Above command indicates that.

All the above commands and related outputs are clearly mentioned in above link

Then I installed obextool (ObexTool is a graphical frontend for ObexFTP)

Debian repositories does not contain obextool packages.

Then I visited following link,

http://www.stud.uni-karlsruhe.de/~ubq7/debian

It contains all the repository details where obextool packages exists.

Copy following repository paths in your sources.list

deb http://www.hendrik-sattler.de/debian extra main
deb-src http://www.hendrik-sattler.de/debian extra main

execute following commands,

1.) sudo apt-get update
2.) sudo apt-get install obextool

After installing obextool, run the following command.

sudo obextool --obexcmd "obexftp -u 1"

So, thats it. now it list the contents in your mobile phone (My one is Nokia N70). It lists two letters. i.e. The phone's internal memory is accessed as C: whereas E: refers to the memory card.

Now you can exchage files etc etc...... Enjoy it :-D

Refer this link for more details

http://dburr.veritel.com.au/nokia/

Saturday, November 24, 2007

Google Desktop Gadgets - Hall of fame

I earlier wrote about Google Desktop and its featured gadgets. This time I am going to write you about Hall of fame :).

Before you go in to details, Just visit this page.

Hall of fame

What do you think?

This is what Google says,

"We love our developers! The first time your desktop gadget or indexing plug-in is added to our directory and shared with millions of Google Desktop users around the world, we'll send you a developer appreciation package. Subsequent submissions give you a shot at other rewards. If some of your gadgets or plug-ins become very popular, you'll earn a spot in our Developers' Hall of Fame."

As they said, I got the developer appreciation package for my first gadget - Simple calculator

Now I have developed four gadgets and you can see them in this page.

As Google said, If some of our gadgets become very popular, we can earn a spot in Developers Hall of Fame.

So all in all my Calculator gadget become very popular and Now I have a spot in Developer Hall of Fame :-D

If you go that page you can find my Name and some details of my gadgets, but my photograph not there :(. I sent my details with photograph to Google Desktop and hopefully they will publish it in future.

Finally Thanks Lahiru who motivated me to develop Google Desktop gadgets :) (Thanks machan)