Saturday, March 13, 2010

Building GUI applications

There are various open source plugins available for developing GUI application. Here I am consider about Eclipse IDE. The easiest way to develop GUI is to use the Visual Editor, I will recommend that it is easy to use the Visual Editor plug-in with Eclipse 3.3 Europa.

More on RMI

I am writing this post the usage of IntelliJ IDEA users, who need to run RMI application using the IDE.
For the IntelliJ IDEA user-
First go to the settings-> compiler -> rmi compiler -> enable it

Then you have to set the VM parameters (run config) for the class that

need to compile and run as a RMI application. Following is how to do it.
-Djava.rmi.server.codebase=file:///c://project_name/out/

c: - indicate the disk drive where your project located
out - indicate the out folder of your project


Folliwing code description shows how to run RMI registry from the source code. Before all the RMI logic start initialize this code and you will not need to run the rmi registry manually in your computer.

Process rmi = null;
try{
rmi = Runtime.getRuntime().exec("rmiregistry");
Thread.sleep(5000);
}
catch (IOException ex){
//exception handling logic here
}
catch (InterruptedException exc){
//exception handling logic here
}

Wednesday, February 17, 2010

For Eclipse users

For the people who are using Eclipse Galileo 3.5. You can install new updates for RMI using the following procedure.
Main menu -> Help -> Install Software -> http://www.genady.net/rmi/v20/install_e33/
it will automatically download the most recent RMI plugin for you. Then restart the Eclipse IDE to apply changes.

RMI

Recently I involved in developing java RMI application for our Final year project. There I had learnt RMI from the scratch.
There is good tutorial available in http://www.genady.net/rmi/v20/demos/ this site. Which shows the steps as demos. Anyone easily learnt RMI from here.

Friday, October 2, 2009

Latest News on epZilla...

Yesterday our team successfully finished the Architectural Analysis Document which is basically research of available existing solutions. And the team started working on the first phase of the project. Which is to develop simulation program analyse the suitability of distributed complex event processing architecture.