Archive for June, 2007

Perform a RESET of your PDA or PDA Phone

Friday, June 29th, 2007

วิธีการ Hard Reset ของ PDA/PDA Phone แต่ละรุ่น ซึ่งจะมีวิธีที่ไม่เหมือนกันครับ

มองหารุ่นของคุณได้ที่ Perform a RESET of your PDA/pdaPHONE

native2ascii

Thursday, June 28th, 2007

native2ascii เป็น Tool ที่มากับ JDK เพื่อใช้ในการแปลงไฟล์จากภาษาไทยหรือภาษาอื่นๆที่ไม่ใช่ Latin ไปเป็น Latin-1 และ Unicode-encoded
โดยมากจะใช้เพื่อแปลงไฟล์ resource property ที่เป็นภาษาไทย

ตามไปอ่านวิธีการใข้ได้ที่ Native-to-ASCII Converter

Types of JDBC Driver

Wednesday, June 27th, 2007

JDBC Driver มีกี่แบบมาดูกันครับ

ที่มา: Types of JDBC technology drivers

1. A JDBC-ODBC bridge provides JDBC API access via one or more ODBC drivers. Note that some ODBC native code and in many cases native database client code must be loaded on each client machine that uses this type of driver. Hence, this kind of driver is generally most appropriate when automatic installation and downloading of a Java technology application is not important. For information on the JDBC-ODBC bridge driver provided by Sun, see JDBC-ODBC Bridge Driver.

2. A native-API partly Java technology-enabled driver converts JDBC calls into calls on the client API for Oracle, Sybase, Informix, DB2, or other DBMS. Note that, like the bridge driver, this style of driver requires that some binary code be loaded on each client machine.

3. A net-protocol fully Java technology-enabled driver translates JDBC API calls into a DBMS-independent net protocol which is then translated to a DBMS protocol by a server. This net server middleware is able to connect all of its Java technology-based clients to many different databases. The specific protocol used depends on the vendor. In general, this is the most flexible JDBC API alternative. It is likely that all vendors of this solution will provide products suitable for Intranet use. In order for these products to also support Internet access they must handle the additional requirements for security, access through firewalls, etc., that the Web imposes. Several vendors are adding JDBC technology-based drivers to their existing database middleware products.

4. A native-protocol fully Java technology-enabled driver converts JDBC technology calls into the network protocol used by DBMSs directly. This allows a direct call from the client machine to the DBMS server and is a practical solution for Intranet access. Since many of these protocols are proprietary the database vendors themselves will be the primary source for this style of driver. Several database vendors have these in progress.

Amarin Book Fair 2007

Saturday, June 23rd, 2007

amarin_bookfair.jpg

งานจัดถึงพรุ่งนี้นะครับ ซึ่งผมก็ตั้งใจว่าจะไปพรุ่งนี้เหมือนกันเลยลองหาข้อมูลดู

อ่านรายละเอียดเพิ่มเติมได้ที่ Amarin Book Fair 2007

List of project management software

Saturday, June 23rd, 2007

พอดีเห็นที่ blognone คุยกัน เลยลองหาต่อดูว่ามีตัวไหนน่าสนใจบ้าง

List of project management software

Spring IDE 2.0 RC2

Friday, June 22nd, 2007

springide_logo.png

ตอน RC1 ออกนั้น ผมติดพันกับงานที่รัดตัวจนไม่มีเวลา Download มาทดลอง
วันนี้ถือโอกาสดีโหลด RC2 มาลองซะหน่อย

Spring IDE เป็น plugin ของ Eclipse โดยหลักๆก็เพื่อช่วยในการ config Spring โดยเฉพาะคนที่เคยทำโปรเจคขนาดใหญ่คงรู้ดีว่าถ้า bean เยอะๆมันจะปวดหัวแค่ไหนเวลาไล่ config

อ่าน Feature ของ Spring IDE และส่วนที่เพิ่มเข้ามาใน 2.0 นี่ได้ที่ Spring IDE Features

SpringONE 2007

Friday, June 22nd, 2007

จัดมาได้สองวันแล้ว แต่ผมยอมรับตรงๆเลยว่ายังไม่ได้เข้าไปอ่านรายละเอียด ได้แค่ดู Agenda เท่านั้น

ตามไปอ่านกันได้ที่ SpringOne 2007

MySQL Workbench

Thursday, June 21st, 2007

mysql_workbench_about_1.png

MySQL Workbench หนึ่งใน GUI Tools จาก MySQL โดยตรง
ผมเคยลองเล่นกับมันมาบ้างก่อนหน้านี้ แต่เพิ่งได้มีโอกาสใช้แบบจริงจังเมื่อเร็วๆนี้ครับ
ถึงแม้ตอนนี้ยังเป็น Beta Version อยู่ โดยปุ่มบางปุ่มยังกดไม่ได้ก็ตาม ^^”
แต่โดยภาพรวมแล้ว ผมค่อนข้างประทับใจกับ Free Tool ตัวนี้ของ MySQL พอสมควร
โดยผมใช้ MySQL Workbench ในการ Reverse Engineering จาก MySQL Database มาเป็น Data Model โดยตรง เพื่อใช้ในการทำเอกสารต่อไปครับ

mysql_workbench_model_large.png

For more information: MySQL Workbench Overview

Feed Stat ของ WordPress หาย

Wednesday, June 20th, 2007

ผมละชอบ Statement ที่เขา Quote มาจริงๆ

Pruning is an important and necessary step in growing roses. Pruning keeps the plant healthy. It promotes new growth, removes dead, broken or diseased canes and trains roses to a desired shape. Pruning encourages flowering, either more blooms or larger blooms, and is essential to keep modern rose varieties blooming repeatedly all summer long.

อ่านต่อได้ที่ Retiring Feed Stats

-vmargs -Xmx ใน Eclipse ไม่ทำงาน

Thursday, June 14th, 2007

เนื่องด้วยช่วงนี้ต้องใช้ Eclipse ทำงานแบบโหดมากๆใช้ Memory ค่อนข้างเยอะ จึงต้องจูนเรื่อง Memory กันหน่อย
โดย Eclipse จะเปิดช่องให้เราใส่ Arguments ของ JVM ลงใน Eclipse shotcut หรือ eclipse.ini ก็ได้ ดังตัวอย่างข้างล่างเป็นการกำหนด Max ของ Memory ให้ขึ้นไปที่ 1200 Megabyte

-vmargs -Xmx1200M

แต่… ในบางครั้ง Arguments นี้กลับไม่ทำงาน คือโปรแกรมยังเกิด Exception Out of memory ทั้งๆที่เมื่อดู java process จะเห็นว่ายังใช้ Memory ไม่ถึง 1200 เลย
ทางแก้นั้นให้เราเพิ่ม Argument เข้าไปดังนี้ครับ

-vmargs -Xmx1200M -XX:MaxPermSize=256M

MaxPermSize คือ Permanent Size ครับ

การทดสอบครั้งนี้ผมทำบน Windows XP SP2, Eclipse 3.2.1 และ Sun jdk1.5.0_10

อ่านเพิ่มเติมได้ที่ Eclipse 3.2.1 Project Release Notes