Site Sponsors:
XML Serialization for Java 
I wanted to share the following article - it is an excellent overview of the history of Java Serialization as well as an unusually good overview of using XML with JavaBeans.

Along the way, Mr. Winchester also whets the appetite for learning more about using XML for the serialization for non-JavaBeans-conforming objects by using delegates.

Upon reflection (pun intended), the article will also provide the student with an understanding of the assessor / mutator refactoring operation of NetBeans & other popular Java IDE's:

[XML Serialization of Java Objects]
"Java serialization was initially used to support remote method invocation (RMI), allowing argument objects to be passed between two virtual machines. RMI works best when the two VMs contain compatible versions of the class being transmitted, and can reliably transmit a binary representation of the object based on its internal state."

NOTE: Students unfamiliar with JavaBeans might also enjoy reading the [Wikipedia JavaBeans Page.]




[ view entry ] ( 2427 views )   |  permalink  |  related link
Adding Javadoc to NetBeans 

What is "Netbeans"?


Netbeans is a free Java developers environment from Sun. IMO is is much easier to use than Eclipse.

The best part of the deal is that NetBeans is 100% free. If you are new to Java Software Development, NetBeans is a great place to start before you upgrade to a professional IDE like JBuilder.

Help!


Once NetBeans is installed, most folks also want to install the on-line help for Java.

For the perplexed, to install the Java documentation (know as JavaDoc) all we have to do is:

(a) Download the official JDK docs from http://java.sun.com/javase/downloads/index.jsp

(b) Unzip the doc into the JDK directory (on MS Windows, mine was under C:\Sun\SDK\jdk)

(c) From the main NetBeans Menu, select "Tools | Java Platform Manager".

(d) Select the platform you need to Javadoc in the left side of the Platform Manager.

(e) Click the Javadoc tab. Select Add ZIP/Folder. Type in the directory location of the newly unziped Javadoc files.

(f) Close the Dialog. Your changes will be saved automatically.

Notes


The hardest part can be finding the proper version of the help files you need. If you were looking for JavaHelp on version 1.5, then try http://java.sun.com/j2se/1.5.0/download.jsp


[ view entry ] ( 2155 views )   |  permalink  |  related link

<<First <Back | 1 | 2 | 3 | 4 |