Ppt

108 views
73 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
108
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Ppt

  1. 1. Empowering the RMI in Java Approach
  2. 2. ABSTRACT   RMI is the action of invoking a method of a remote interface on a remote object. The three methods of RMI namely General , Activation and Custom Socket Factory are to be evaluated empirically using parameters like Round trip time , Latency and Packets per Unit time. The graph plotted allows us to gain an insight into the performance aspects and other tradeoffs of RMI .
  3. 3. EXISTING SYSTEM     Invocation of a remote object can be achieved by means of the existing methods namely: General, Activation and Custom Socket factory methods. In the General method, the server creates a number of remote objects, makes references to those remote objects accessible, and waits for clients to invoke methods on those remote objects. The client gets a remote reference to one or more remote objects in the server and then invokes methods on them. The Activation method allows objects to begin execution on an as-needed basis. This mechanism provides persistent references to objects and manages the execution of object implementations. The Socket Factory method allows customized implementation of sockets to cater to the user requirements. The amount and the type of data that can be sent over the channel can be specified.
  4. 4. PROPOSED SYSTEM  It is proposed to evaluate the performance of the three methods (General, Activation and Custom Socket Factory) by transferring different types of files such as text, image and video .These files are transferred using the three invocation methods and their performance is evaluated by analyzing the parameters: round trip time, latency and transmission rate. The observations are tabulated and graphs are drawn to facilitate the comparison of the three methods of remote invocation. This offers the user an insight into the best suitable method.
  5. 5.  A Search mechanism is proposed to be implemented to locate methods when the host does not know where the method actually resides. This system is categorized into Keyword based search and Extension based search. A user friendly GUI that will hide the low level details is to be developed which will provide easier access to the three methods of invocation and will display the results of the actions performed.
  6. 6. GENRAL METHOD  The General method deals with invoking any method directly from memory of the remote machine.
  7. 7. ACTIVATION METHOD  RMI Activation allows passive objects to be brought into the active state by instantiating it on an as needed basis.
  8. 8. CUSTOM SOCKET FACTORY  Custom socket factory method allows customization of socket depending on the type and amount of data to be transferred over the channel.
  9. 9. DESIGN GENERAL CLIENT PARSER ACTIVATION CUSTOM SOCKET FACTORY REMOTE OBJECTS
  10. 10. CONCLUSION     The performance of the three methods of invocation (General Method, Activation Method, Custom Socket Factory) are to be evaluated using the parameters, Round Trip Time (RTT) The total time taken to download a file from the server side to the client side Latency The time lag between beginning of a request for the data and the moment it begins to be received. Transmission Rate The number of packets transferred per unit time
  11. 11.   The evaluation was performed on a file of size 3 MB. The file was transferred in each of the three methods and the corresponding values of RTT, Latency and Transmission rate were observed and tabulated. The graphs were plotted for each of these performance parameters against constant file size with 10 samples per method of invocation

×