HANDS-ON TUTORIAL ON JAVA GUI, DATABASE AND RELATED THINGS

 

 

Introduction

 

This page holds temporarily the step-by-step tutorials and notes on Apache web server, PHP, MySQL, JGRASP, JDK and NetBeans the Java IDE. The ultimate purpose is to learn the basic on how to create a desktop or enterprise application using Java GUI (Swing and Beans) and MySQL. At the end we would like to try the web applications as well. The best thing here, all are 'open source' in a loose manner. There is no pre-requisite for this crash course, it depends on your efforts. The tutorials are presented hands-on based, step-by-step with tons of screen shots. Experience how object oriented principles been implemented in Java GUI that has been 'done' by Microsoft in the .NET programming language family.

 

The machine specifications used in all these tasks:

 

Intel Pentium Core 2 Duo, 2.2 GHz,

Windows XP Pro SP2 + periodical patches + periodical updates…

2 GB DDR2 RAM

160 GB SATA HDD

17” SyncMaster 713N monitor.

 

The learning curve are (you may skip to the next topic(s) if the topic(s) already mastered-right-click mouse and save as):

 

  1. Installing and testing Apache - DOWNLOAD (doc)

Assuming the IIS or PWS or other web servers not installed (or the service or application not started or running if installed) because web server will use port 80 by default. It is OK if those web servers use different ports. We start with Apache because during the PHP installation, Apache’s config file location or path will be asked.

 

  1. Installing, testing PHP and PHP extensions - DOWNLOAD (doc)

 

  1. Installing and testing MySql - DOWNLOAD (doc)

 

  1. Installing and testing MySQL management tools - DOWNLOAD (doc)

 

  1. Installing and testing JDK using Java program (Java 2 Enterprise Edition - J2EE) - DOWNLOAD (doc).

(If your machines already have Java Runtime Environment-JRE, it is recommended you uninstall it because JDK will have its own JRE).

 

  1. Installing and testing JGRASP using Java program – for basic and educational purposes - DOWNLOAD (doc)
  1. Installing and testing Java NetBeans 6.0 – for commercial grade Java applications development including GUI, enterprise and web applications. Keep in mind that Netbeans comes with its own web server and Java database. This is comparable to Java Studio (seemed Java Studio will be dumped by Sun :-)).

 

    1. Install and Use NetBeans 6.0 - DOWNLOAD (doc)
    2. Netbeans 6.0 and MySQL: Connection String and Database Manipulation - DOWNLOAD (doc)
    3. NetBeans 6.0 and Java GUI (Swing and Beans) : The Fundamentals - DOWNLOAD (doc)
    4. Netbeans 6.0 and Java GUI: Another Practice - DOWNLOAD (doc)
    5. NetBeans 6.0, Java GUI and Database: Combining All Together - DOWNLOAD (doc)
    6. ….Hahahahaha…….This part is reserved for our assignment…..After the Java Derby database, we need to try using MySQL………

 

  1. DBDesigner – To be used for database designing (this topic has been skipped until we learn the database design later).

 

  1. Start playing with java, java GUI (Swing and Beans), Derby and MySql databases and web applications.
 

 

   


www.tenouk.com < > www.visualcplusdotnet.com < > www.installsetupconfig.com