Java Tutorials, Tips & Tricks

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. File dir = new File(“directoryName”); String[] children = dir.list(); if (children == null) { // Either dir does not exist or is not a...