Saturday, March 07, 2009

GWT learning Part 1

reference Google Web Toolkit tutorial: http://code.google.com/intl/zh-TW/webtoolkit/tutorials/1.5/gettingstarted.html

Leaning Google Web Toolkit
Download the Google Web Toolkit from Google Web Toolkit according your operating system.
In the tutorial, Google seems suggest us to use Eclipse IDE as a development tool. This tutorial will follow the Google tutorial and add video to explain the how to create the eclipse project and the file structure.
Let start now, are you ready? Go.
Create the Application folder with sample class.
Cmd: ./applicationCreator –eclipse StockWatcher –out StockWatcher test.client.StockWatcher
-eclipse
-out
remark: use client as a last package for full path Classname.

Cmd: ./publicCreator –eclipse StockWatcher –out StockWatcher
This command is like the applicationCreator. It for create the project and classpath files of eclipse configuration.

After complete execute the cmd, you could execute the StockWatcher-shell the open the GWT browser and software to preview the generate website.

Monday, February 25, 2008

JFreeChart

The following link is the teach of use JFreeChart library.
http://www.oracle.com/technology/pub/articles/marx-jchart.html

Friday, February 15, 2008

The best java script table sorting

That is a good sample to table sorting by javascript.
http://www.frequency-decoder.com/demo/table-sort-revisited/script-sort/

It could sort data with "/" and can be sort number and char very well in same column.

Thursday, February 14, 2008

No install version mysql5 on windows

MySQL is a good database for testing.
Today i try to install in company, it is very easy to use as no install version (just need to unzip)

http://book.opensourceproject.org.cn/lamp/mysql/mysql5cert/opensource/0672328127/ch24lev1sec2.html

Wednesday, February 13, 2008

To prevent execute oracle sql script to prompt input dialog

It is very simple, just a single line command.

SET DEFINE OFF;

After execute that command the oracle will not prompt the input dialog when your SQL query contains '&' char.

Hope this help ~

Wednesday, February 06, 2008

SSH and Remote Desktop

Today I find a useful document to talk about the SSH connection.
I using this configuration exactly on my Vista PC.
I can connect to home PC and via browser web page via Home network.
I think it better than use company proxy server as I don't want to leave any history.

Hope this page can help any people want to setup the SSH.
http://theillustratednetwork.mvps.org/Ssh/RemoteDesktopSSH.html

Thursday, January 31, 2008

Excel to create drop down list

Less chance to use excel, i only use it when i am study in IVE.
I read the special excel, it could create a complicate drop down list. I am interest so i try to find the solution....
This is a good site to teach that simple method to create drop down list.
http://www.contextures.com/xlDataVal02.html