My Java and Eclipse web reference

       My reference guide to Java programming and Eclipse environment setup.

Edited by Lim Siong Boon, last dated 16-Feb-2010.
email:   _l_mail@siongboon.com_l_
website: http://www.siongboon.com
<email address is blue in color,
please ignore "_l_">










The main concept in writing Java codes, is the understanding of object oriented programming (OOP). Java being a 100% OO programming language is quite fun to designed your software with. As simple as it seems to be, in fact took me years to learn what OO really means. It has been years, since 1997 since I first pick up the book on object oriented, and I am still learning as of today. I would think OO rather an art of designing software. There is no right or wrong, but a good OO designer is the one who can make a difficult software easy and fast to program. OO is really about memory management.


Among all the electronics hardware web pages that I have written, I find writing article about Java is rather difficult. I need to categorised a topic for section, else I may end up writing messy or end up writing the whole Java text book. Most Java program I wrote is rather low level, hardware oriented. Writing Java for low level application posed quite a number of challenges. Why? Java is not design for low level access. Any direct access to I/O is generally not available to Java. This is for the reason of security and compatibility issue, operating across different operating system platform. Here I will present some of the problem I face doing Java with the mindset of a C++ programmer. For now, this page will be more of my own frequent used Java references.

I hope to make this page useful to new Java programmer like I am.


Download you need for your developments


Java IDE, Eclipse, http://www.eclipse.org/downloads/



Java SDK, http://java.sun.com/javase/downloads




- Setting up Eclipse environment for development.
- Java language reference & commonly used source code.
- Flex 3, Java webservice project step by step.


Useful tools


java2html

Convert your java source code to HTML, RTF, TeX and XHTML with syntax highlighting.
1) open up the zip file.
2) double click on java2html.jar to execute the application program.
3) input files or source code text to convert them into html codes.

Software java2html:
java2html_50.zip

references:
http://www.java2html.de/

example: Input source code

public class Example
{
    public void Example()
    {
    }

    public static void main(String args[])
    {
    }
}
example: Output HTML results

public class Example
{
  public void Example()
  {
  }

  public static void main(String args[])
  {
  }
}








Keyword: Java, Eclipse, library, configuration, shortcut