Archive for May, 2008
Parsing XML in Java using DOM
In this post, I will show how to parse a XML content using DOM parser in Java. There are several DOM implementations available for Java, both inbuilt and external library based. Here, I have used inbuilt simple approach.
Following example shows a XML content dynamically created. If it is required to be read from file, then [...]
Filed under: Java | 5 Comments
Tags: DOM, Java, XML, XML Parsing using DOM
Simple RMI Example
Credits:
1) http://java.sun.com/javase/technologies/core/basic/rmi/whitepaper/index.jsp
2) Advanced Java 2 How to program, Deitel and Deitel
Java Remote Method Invocation (RMI) allows you to write distributed objects using Java. RMI provides a simple and direct model for distributed computation with Java objects. These objects can be new Java objects, or can be simple Java wrappers around an existing API. Java embraces [...]
Filed under: Java - Distributed | 5 Comments
Tags: Distributed Computing, Java, RMI