How To Google Map

 

Google Map 

คือ Applicationแผนที่onlineที่ GoogleเปิดAPIให้เราเรียกงานผ่านWebโดยไม่ต้องเสียค่า

ใช้จ่ายแต่อยางใดโดยgoogleได้เปิดช่องทางให้ท่านสามารถเรียกใช้งาน Google Mapsผ่าน

APIให้ไปปรากฏบนหน้าwebsiteของท่านได้และมีวิธีการทำที่ไม่ซับซ้อนมากจนเกินไป
 

ความรู้ที่เพื่อนควรมีก่อนการทำGoogle Map


         1 FlashScript หรือ JAVAScript

         2 Form HTMLและCSS

Read the rest of this article »

Manage test data for integration tests using Spring and DBUnit


    Testing is very important to application development. Most enterprise applications are related with persistence data in database system. If you have to test integration between DAOs and databases, called Data Access Objects Testing (DAOs Testing), you will prepare data in database for these testing. There are many ways to prepare test data in database.

  • 1. Inserting test data using SQL script by manually.
  • 2. Import and Export data automatically by other applications.

DBUnit is a tool which provides for Data Access Objects Testing.

Read the rest of this article »

SSO and Identity Management

         Nowadays, web-applications have grown over to support business processes in many organization. Each application has many users, groups and roles, that is responsible of administrator to manages its. Single sign-on (SSO) and identity management can reduce the administrator work about managing user information that is kept in a centralized repository.
 

Read the rest of this article »

Apache POI


    Apache POI เป็น API ที่ช่่วยเราในการเขียนและอ่านเอกสาร ของ Microsoft Office

ซึ่งสามารถหาดูตัวอย่างและdownload source code มาใช้งานได้ที่ http://poi.apache.org

โดยเราสามารถแบ่ง Component ใน POIได้เป็นส่วนๆดังนี้

  • Excel
  • Word
  • PowerPoint
  • OpenXML4J
  • OLE2 FileSystem
  • Outlook
  • Visio
  • Publisher

Read the rest of this article »

Setting multiple JAVA_OPTS in Tomcat

Every JAVA Developer should know how to set Java runtime options. Tomcat’s document said that setting Tomcat’s Java runtime options is as easy as setting ordinary Java runtime options by set those options in environment variable named JAVA_OPTS. When I try to set multi Java runtime options in Tomcat core script, catalina.bat, it appear that I cannot start my Tomcat Server due to fault configuration in JAVA_OPTS that lead to fault execute command in the last part of core script. What is happening here?
Read the rest of this article »

HSQL (HypersonicSQL)

HSQL เป็น Database Server เป็นอีกตัวเลือกหนึ่งของ Java
Developer เหมาะสำหรับการทำงานเกี่ยวกับการ testing และ de-
ployment of database applications ด้วยขนาดที่เล็กและทำงานได้
รวดเร็ว

ประโยชน์

  • HSQL มีขนาดเล็ก
  • HSQLใช้ทรัพยากรบนเครื่องน้อย
  • HSQL เหมาะสำหรับผู้ที่ต้องการทดลองการทำงานที่ใช้งาน Database
  • HSQLสามารถเลือกmodeในการใช้งาน Database เช่นการเก็บข้อมูล ใน Memory ,การเก็บข้อมูลลงบนFile
  • HSQL เป็น Open Source ที่ให้ใช้ฟรีสามารถใช้การค้าได้
  • HSQL สามารถใช้งานร่วมกันกับ Hibernate

Read the rest of this article »

How to write a GOOD defect report

Defect report คือรายงานที่แสดงผล การทดสอบระบบงาน ที่เกิดข้อผิดพลาดหรือ ไม่สอดคล้องกับ functional specification

การเขียน defect report ที่ดีนั้น จะช่วยให้

  • แก้ไขความผิดพลาดที่เกิดขึ้นได้อย่างรวดเร็ว
  • การ test เกิดประสิทธิภาพ
  • ลดจำนวนข้อผิดพลาดในอนาคต
  • ช่วยเรื่องการประสานงานระหว่าง ทีม tester และ ทีม developer

Read the rest of this article »

Http SVN

SubVersioN

(SVN(http://en.wikipedia.org/wiki/Subversion_(software))) ซึ่งเป็น Open Source Application ที่ทำหน้าที่ Revision control ซึ่งได้รับความนิยมสูงมากตัวหนึ่ง โดยถูกสร้างขึ้นมาเพื่อทดแทนการทำงาน Concurrent Versions System (CVS) ที่เริ่มไม่รองรับความต้องการในปัจจุบันที่ต้องการความสามารถในการควบคุมและจัดการ version ของไฟล์ สามารถติดต่อ svn ได้ทั้งแบบ local network file และแบบ http protocol แต่ในบทความนี้จะพูดถึงเฉพาะการติดตั้ง svn แบบ http protocol

ในการติดตั้ง http svn จะต้องเตรียม software ที่เกี่ยวข้องดังนี้

Read the rest of this article »

การใช้งาน Tapesty ร่วมกับ Spring Framework

   Tapestry เป็นเฟรมเวิร์คสำหรับพัฒนาเว็บแอพพลิเคชั่นด้วยจาวาที่มีประสิทธิภาพมากเฟรมเวิร์คหนึ่ง ด้วยการทำงานในรูปแบบ Component-Centric ที่มีความสามารถหลักๆคือทำให้เราสามารถนำโค๊ดเก่ามาใช้ใหม่ได้ ง่าย และยังมี HiveMind ที่ทำให้สามารถใช้แนวคิด Inversion of Control (IoC)ในการพัฒนาได้อีกด้วย

   แต่การพัฒนาแอพพลิเคชั่นด้วยแนวคิดแบบ IoC ในปัจจุบันนั้น การใช้ Spring Framework จะเป็นที่นิยมแพร่หลายมากกว่า ฉะนั้นถ้าเราสามารถนำ Spring Framework มาใช้งานร่วมกับ Tapestry ได้ ก็จะเป็นประโยชน์มากทีเดียว

Read the rest of this article »

Introduction to SQL #2

Manipulating Data

Command Description
INSERT Adds a new row to the table
UPDATE Modifies existing rows from the table
DELETE Removes existing rows from the table
COMMIT Makes all pending changes permanent
ROLLBACK Discards all pending data changes

Insert

Read the rest of this article »