ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> Java Related >> Java J2EE >> Advanced Java
 
 


 

 
 Core Java interview questions  Core Java Interview Questions (1721)
 Advanced Java interview questions  Advanced Java Interview Questions (331)
 Swing interview questions  Swing Interview Questions (44)
 EJB interview questions  EJB Interview Questions (134)
 Servlets interview questions  Servlets Interview Questions (255)
 Struts interview questions  Struts Interview Questions (196)
 JDBC interview questions  JDBC Interview Questions (187)
 JMS interview questions  JMS Interview Questions (9)
 SunOne interview questions  SunOne Interview Questions (3)
 J2EE interview questions  J2EE Interview Questions (71)
 Weblogic interview questions  Weblogic Interview Questions (146)
 Websphere interview questions  Websphere Interview Questions (14)
 Java Networking interview questions  Java Networking Interview Questions (20)
 Java J2EE AllOther interview questions  Java J2EE AllOther Interview Questions (87)
Question
Explain the methods of Naming class, rebind( ) and lookup()?
 Question Submitted By :: Advanced-Java
I also faced this Question!!     Answer Posted By  
 
Answer
# 1
rebind()of the Naming class(found in java.rmi) is used
to update the RMI registry on the server machine.
Naming.rebind("AddServer",AddServerImpl);
lookup() of the Naming class accepts one argument , the
rmi URL and returns a reference to an object of type
AddServerImpl.
 
Is This Answer Correct ?    14 Yes 2 No
Janet
 

 
 
 
Other Advanced Java Interview Questions
 
  Question Asked @ Answers
 
how we can implement interface in jsp ? Google 2
which of the following authentication is stronger than the others? a. Http Basic b. Http DIGEST c. Form based   1
What is Connection Pooling? Infosys 1
Can you write Java code for declaration of multiple inheritance in Java ? Oracle 5
What is Stream and Types? Patni 2
How to get an image from db2 database plz help as soon as possible   1
how to create Calculator GUI using Gridbaglayout as like as Window Calculator??????????? (Open calculator Go-->Run-->type calc-->Enter) TCS 1
does j2ee means advanced java   10
What is resource bundle?   1
Write a program on RMI and JDBC using StoredProcedure?   1
What will happens, when a thread cannot acquire a lock on an object?   2
How do u supress the parameters from the displaying in the url?   2
 
For more Advanced Java Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com