Java Tutorials, Tips & Tricks

Java Virtual Machine, An inside story!!

Java Virtual Machine, An inside story!!

Java Virtual Machine, or JVM as its name suggest is a “virtual” computer that resides in the “real” computer as a software process. JVM gives Java the flexibility of platform independence. Let us see...

Create JAR file in Java & Eclipse

Create JAR file in Java & Eclipse

[ad name=”AD_INBETWEEN_POST”] Let us see how to create a JAR file using Java’s jar command as well as using Eclipse IDE. The JAR file format is based on the popular ZIP file format. Usually...

RPC in Javascript using JSON-RPC-Java

RPC in Javascript using JSON-RPC-Java

Remote procedure call (RPC) in javascript is a great concept of creating rich web applications. First we will see some background about RPC using JavaScript Object Notation (JSON). See following quote from Wikipedia entry...

Creating ZIP and JAR Files in Java

ZIP files offer a packaging mechanism, allowing multiple files to be bundled together as one. Thus, when you need to download a group of files from the web, you can package them into one...

Files-Directory listing in Java

This example lists the files and subdirectories in a directory. Traversing the Files and Directories Under a Directory This example implements methods that recursively visits all files and directories under a directory. // Process...