Skip to main content
Live to Learn!

Main navigation

  • Home
  • Learn
    • FoxPro
    • MS-DOS
    • C PRG
    • Java
    • ASP
    • Ruby on Rails
    • ASP.NET
    • E-Books
    • Exam Preparation
    • Tools
  • Blog
  • Forums
  • Contact

Main navigation

  • Home
  • Learn
    • FoxPro
    • MS-DOS
    • C PRG
    • Java
    • ASP
    • Ruby on Rails
    • ASP.NET
    • E-Books
    • Exam Preparation
    • Tools
  • Blog
  • Forums
  • Contact

AddServer

  • Home
  • Learn by Example - Java Sample Programs
  • RMI - Example AddServer
Profile picture for user Karthikeyan
Submitted by Karthikeyan on Jun 01, 2012 - 07:42

AddServer.java


import java.rmi.*;
import java.rmi.server.*;
public class AddServer {
    public static void main(String a[]) {
        try {
            AddServerImpl addservimple = new AddServerImpl();
            Naming.rebind("//"+a[0]+"/AddServer", addservimple);
        } catch(Exception e) {
            System.out.println("Exception:"+e.getMessage());
        }
    }
}
  • Add new comment
  • Armstrong Number
  • Palindrome Checking
  • Playing Audio Clip using Applet
  • Applet Form
  • Exception Handling
  • Multiple Inheritance and Packages
  • Shopping List
  • Simple Multithread program
  • JDBC Program Select, Insert, Update, Delete records
  • RMI - Example AddServer
    • AddServer
    • AddServer Interface
    • AddServer Implementation
    • Add Client
  • Simple Bank Account Process
  • TCP Server and Client in Java
  • UDP Server and Client in Java
  • FTP Server and Client in Java
  • Chat Server and Client in Java
  • Echo Server and Client in Java
  • Address Resolution Protocol in Java
  • Ping server and Client in Java
  • Multicast Server and Client in Java
  • Transposition Cipher Method
  • Poly-alphabetic Cipher Method Encryption - Java
  • DES - Using Data Encryption Standard in Java
  • AES - Using Advanced Encryption Standard in Java
  • Bit Stuffing

User account menu

  • Log in

Learn by Example - Java Sample Programs

  • Armstrong Number
  • Palindrome Checking
  • Playing Audio Clip using Applet
  • Applet Form
  • Exception Handling
  • Multiple Inheritance and Packages
  • Shopping List
  • Simple Multithread program
  • JDBC Program Select, Insert, Update, Delete records
  • RMI - Example AddServer
    • AddServer
    • AddServer Interface
    • AddServer Implementation
    • Add Client
  • Simple Bank Account Process
  • TCP Server and Client in Java
  • UDP Server and Client in Java
  • FTP Server and Client in Java
  • Chat Server and Client in Java
  • Echo Server and Client in Java
  • Address Resolution Protocol in Java
  • Ping server and Client in Java
  • Multicast Server and Client in Java
  • Transposition Cipher Method
  • Poly-alphabetic Cipher Method Encryption - Java
  • DES - Using Data Encryption Standard in Java
  • AES - Using Advanced Encryption Standard in Java
  • Bit Stuffing

Recent Updates

WOW! Ubuntu 22.10 Installation and new features
Ubuntu 21.10 - What's new? - Upgrade Experience and Screenshots
Convert Currency in Number to Words - MS Access Sample Database
Algebra Equation Solver Download
Convert Currency in Number to Words Version 2 - Download VBA Script
Convert Currency in Number to Words - Download VBA script
Tools & Downloads
How to install FoxPro 2.6 on Linux OS (Ubuntu 20.04 | 20.10 | 21.04)?
How to install FoxPro in Windows 10 64 bit using VDosPlus?
Ubuntu development environment with .local domain setup

© 2009-2025 Live to Learn.In

Terms of Use | Privacy Policy