Friday, May 22, 2009

Java Basics Using Qt Jambi Tutorial


Who This Book Is For:

For those who want to learn Java using QT4 framework called Qt Jambi.

History Lesson:

Java is a programming language created by a small group called the “Green Team” in 1991 led by James Gosling. See

Qt is a cross-platform application framework which means it can run on any platform(Windows,Linux,MacOSX, even on mobile phones) founded by Trolltech in 1994 by Erik Eng and Haavard Nord. Nokia acquired Trolltech in June 2008 and renamed it to Qt software as a group in Nokia. QtJambi is released under two licenses: The GPL, LGPL, and a commercial license. Which license to use, please refer to this link:


Java is a programming language that is:*

  1. Simple, Object Oriented, and Familiar (Easy to grasp).

  2. Architecture Neutral and Portable (Write your code once and deploy on different OS and hardware architectures).

  3. Robust and Secure (Java manages memory for you, and has a built-in protection against viruses).

  4. High Performance (Multi-threading is supported).

  5. Interpreted, Threaded, and Dynamic (Can download code modules from any network).

Based on white-paper by James Gosling and Henry Mcgilton link:

Qt is an application framework that is:*

  1. Qt supports the development of cross- platform GUI applications with its “write once, compile anywhere” approach. Using a single source tree and a simple recompilation, applications can be written for Windows 98 to XP and Vista, Mac OS X, Linux, Solaris, HP-UX, and many other versions of Unix with X11. Qt applications can also be compiled to run on embedded Linux and Windows CE platforms. “Therefore, it save costs and development resources (since you write code once, number of developers are reduced for platforms).”

  2. Qt introduces a unique inter-object communication mechanism called “signals and slots”. “Get to market faster (Qt's Signal & Slots allowed parts of Qt apps to talk to other parts in a very state and controlled way).”

  3. Qt has excellent cross-platform support for multimedia and 3D graphics, internationalization, SQL, XML, unit testing, as well as providing platform-specific extensions for specialized applications.

  4. Qt applications can be built visually using Qt Designer, a flexible user interface builder with support for IDE integration.

  1. Focus on core values (can achieve an identical look and feel across each operating systems (OS)).”

Based on Qt 4.5 white-paper:

to be continued...