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 (1722)
 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 (147)
 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 4 No
Janet
 

 
 
 
Other Advanced Java Interview Questions
 
  Question Asked @ Answers
 
how convert java file to jar files? Samsung 10
What is a thread?   3
How to add new JTabbed pane?   1
which is the better collection class if the requirement is only displaying the data   1
If I define a method in JSP scriplet <%..%>, where will it go after translation into a servlet? HeadStrong 8
what we can't do in jdbc but can do hibernate? Cap-Gemini 3
What method MUST be implemented by all threads?   1
What is RMI architecture? Infosys 11
In HashTable I am storing null value..then what is the error it will show GM-General-Motors 2
Where does the session Object stores? If 100 users are connecting to the server. How does it recognize which session belongs to which user? HCL 5
what is the proxy pattern?   1
Urgent Openings for Java and .NET ( India, Singapore, Australia, Japan) Wipro 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