RMI Faq's

1.what is ment by Activation Instantinator?
A.it is a responsible for creating instances of "activatable" objects.

2.what are the activation group works?
A.it is responsible for informing its activation monitor, when either
its objects become active or inactive.

3.what is the responsibilities of Activator?
A.it is responsible for monitoring and detecting when Activation groups fail.

4.what is the job of Activation monitor?
A.It receives information about active and inactive Objects.

5.what is DGC?
A.Distributed Garbage Collection is server side algorithm.It contains two methods
those are dirty()and clean().

6.what is the handle?
A.It represents the Remote for a remote object

7.what is the Remote Stub?
A.Remote stub uses a remote references to carry out a remote method
invocation to a RemoteObject.

8.What is the Remote Server?
A.The function need to create and export remote objects
(to make them remotely available)

9.what is the RMI / IIOP?
A.This is the Naming service(tnameserv).

10.what is the rmi port no?
A.1099.

11.what is meant by portable component?
A.Writing and keep some where,and using from there without changing
code.

12.what is the heepStored?
A.

13.what is the proxy pattern?
A. The copy of the Remote object in our Local Machine
(it works like mediating to client & Server)

14.why the interface is required to rmi?
A.

15.which type of objects reference will be given to client?
A. Implement type class type of object references

16.what is ment by bootstraping?
A. when the server startup time it will send some information
to client, that is requirement to client .
java -D java.rmi.server.codebase="http"//servername:8080"


17.why the constructor required in implemented class?
A. The super class is having one public constructor.

18.how many requests having ServerSockets ?
A.its minimum of 50.

19.what is the activation process?
A. When the clients request comes to the registry then only
objects will be bound dynamically.

20.what is meant by jrmp?
A. This is standard rmi communication messaging protocol

21.ping:-

A. Tests to see whether a remote virtual is still alive.

22.narrow :-

Checks to ensure that an object of a remote or abstract interface type
can be cast to a desired type.

23.Remote Reference Layer ?
A. Checks for Rmi symantics and to identify remote system in the network
transferable stream. This stream is then passed to transport layer

24. How many requests can server fetch at a time?
A. only one.

25.what is the JNDI [java Naming and Directory Interface] ? what its provides?
A. It provides standard java interface-to-naming events

26. what is the use of Object-Factories?
A.Colon-separated Object list of ContextFactory to use during invocation of naming and directory service operation

27.what is the use of State-Factories?
A.Colon separated list of state factory used to get an object's state given a reference to the object

28.what is the use of colon_pkg_prefixes?
A. prefix to use when loading context factory.

29. DNS-URL
A. URL defining the DNS host to use for Addresses associated with JNDI urls

30.Authoritative
A. Value of true indicates that service access offers the most
authoritative source

31.BatchSize:-
A. Specifies batch size of data returned from service protocol

No comments: