Developing GWT-RPC application with a Database support
This post is a step-by-step guide to build an application using GWT-RPC . Just to make it more realistic , I have used a back-end database to store the records. I have used MySql as a database and Tomcat 6.0 as a deployment web server. If you are interested to have a look at the code and then the post , it can be downloaded from here. Let me start with a small but specific description of GWT-RPC.
[continue reading...]
Java
We use temporary file in our day to day applications. This post would talk on how to create a temporary ...
The basic concept of creating a java thread is to extend the class java.lang.Thread or to implement java.lang.Runnable interface. In ...
In my last post on java object serialization , I have explained how to write an object to an object ...
Often it becomes necessary for application programmer to read from or write to XML pragmatically. There are many different ways ...
Java Object Serialization – Developer’s Guide
Class is the heart of Java programming and object is a representative of the class. In day to day java ...
Java reflection API provides a way to know more about your own class which includes methods and fields. The power ...
When a program violates the constraints of Java programing language , Java virtual machine(JVM) throws an error signal to the ...
Spring
Spring 3.0 – Java Annotation based Dependency Injection(DI)If you have been using Spring Framework for sometime , you will be aware that the Spring Framework has undergone several major changes in the latest Spring version 3.x. Spring Framework is now based on Java 5 and Java 6 fully supported. It has incorporated all the important features of Java latest versions. Spring version 3.0 encourages the developers to use Java Annotations instead of the configuration xml. This post will talk on the Annotation based Dependency Injection mechanism using Spring 3.0.
SVN
Setting up SVN under Windows OSSetting up SVN is never a big deal. This post talks about a step-by-step procedure to set up SVN server under windows OS. Few open source software need to be downloaded and you can get going with the set up.
Eclipse
Eclipse shortcuts – Make Java development easyEclipse is an widely used editor and a must used IDE for most of the Java Developers. Use of eclipse can be more fun and cool , if you know to use the eclipse shortcuts properly and effectively. What is the use of an IDE if it does the work of a notepad only(Intention is not there to blame notepad at all)? Eclipse provides a set of features in terms of key-shortcuts which make a life easy and save lots of time. Lets discuss some of the frequently used shortcuts of Eclipse.
Java Script
Refresh Parent page using JavaScriptWindow.open() method opens a new window . If we try to refresh the parent on change of something in the opened window , what are the ways to do it ? One possible way is to call reload(true) on the opener. It reloads the whole document for you.
Servlets
Know more about Servlet MappingA web server takes a request from the client and send the response back to the client. A servlet is a web application component that can talk to web server through the container it’s deployed into. We know , we need to do servlet mapping into web.xml to define the url pattern to access the [...]
Ajax
Ajax – XMLHttpRequest ObjectAjax is nothing but getting the XMLHttpRequest and work on it to get or post data. Forming an XMLHttpRequest varies form browser to browser. This post shows , how to construct XMLHttpRequest object seamlessly.