Welcome! This is a website that everyone can build together. It's easy!

Information TechnologyThis is a featured page

Hi Dude's Welcome to The Site.....Here u will find about all the steps to u r carrier ...
with Information Technology...
1. Slideshow About My College
2. Chat-----With Everybody In This Site
3. Songs---Latest
!!! Meenakshi Sundararajan Engineering College!!! ---> be proud to be msec student









intel_ram2002
intel_ram2002
Latest page update: made by intel_ram2002 , Oct 19 2007, 1:00 PM EDT (about this update About This Update intel_ram2002 Edited by intel_ram2002

2 words added
3 words deleted

view changes

- complete history)
More Info: links to this page
Started By Thread Subject Replies Last Post
Anonymous RMI-Program 0 Oct 16 2007, 12:49 PM EDT by Anonymous
 
Thread started: Oct 16 2007, 12:49 PM EDT  Watch
//RMI Interface

import java.rmi.*;
public interface Hello extends java.rmi.Remote
{
public void Hi() throws java.rmi.RemoteException;
}

Save this file as Hello.java and Compile it using
javac.

//Implementation File

import java.rmi.*;

class Implementation extends
java.rmi.server.UnicastRemoteObject implements Hello
{
Implementation() throws java.rmi.RemoteException
{
super();
}
public void Hi() throws java.rmi.RemoteException
{
System.out.println("HELLO!!!");
}
}

Save file as Implementation.java and compile it.

//Server Side Program

import java.rmi.Naming;
class Server
{
public static void main(String args[])
{
try
{
Implementation i = new Implementation();

Naming.rebind("rmi://localhost:1099/HelloService",i);
}
catch(Exception e)
{
System.out.println("Exception at server!!"+e);
}
}
}

Save file as Server.java and compile.

//Client Side Implementation

import java.rmi.Naming;
class Client
{
public static void main(String args[])
{
try
{
Hello
p=(Hello)Naming.lookup("rmi://localhost/HelloService");
p.Hi();
}
catch(Exception e)
{
System.out.println("Exception at client");
}
}
}

Save File as Client.java and compile.

Execution:
1.Open command
2. rmic Implementation
3. rmiRegistry
4.Open new command prompt
4.1 java Server
5.Open new Command prompt
5.1 java Client
6.Stop.
1  out of 1 found this valuable. Do you?    
Keyword tags: None (edit keyword tags)
Anonymous Ajith in kreedom!!! Thala Rock---reviw by india glits 0 Aug 10 2007, 3:25 PM EDT by Anonymous
 
Thread started: Aug 10 2007, 3:25 PM EDT  Watch
http://www.youtube.com/watch?v=O2I8lURCVO4
1  out of 1 found this valuable. Do you?    
Keyword tags: None (edit keyword tags)
Anonymous the site is cool 0 Jul 21 2007, 11:31 AM EDT by Anonymous
 
Thread started: Jul 21 2007, 11:31 AM EDT  Watch
i see grt work in ur site and tat it make it really cool ...tat too the picture effect is grt ... nice job.... keep up the good work .... and looking for still more of ur works... all the best..
2  out of 2 found this valuable. Do you?    
Keyword tags: None (edit keyword tags)

Anonymous  (Get credit for your thread)


Showing 3 of 26 threads for this page - view all
JPEG Image Rangoli_700.jpg (JPEG Image - 26k)
posted by intel_ram2002   Sep 4 2007, 5:27 AM EDT
aaaaaaaaa
JPEG Image Rangoli_700.jpg (JPEG Image - 26k)
posted by intel_ram2002   Sep 4 2007, 5:25 AM EDT
This attachment has no description.
Word Document RESUME-FINAL-BALA.doc (Word Document - 84k)
posted by intel_ram2002   Aug 7 2007, 2:45 PM EDT
resume
JPEG Image igatelogo.jpg (JPEG Image - 57k)
posted by intel_ram2002   Jul 25 2007, 12:59 AM EDT
I GAte Logo
Word Document us_tech_papers.doc (Word Document - 44k)
posted by intel_ram2002   Jul 17 2007, 4:34 AM EDT
US Technology Pattern
(Showing the last 5 of 15 - view all)