Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS506 Web Design and Development GDB Solution Fall 2013
#1




CS506 Web Design and Development GDB Solution Fall 2013



Suppose you are a software developer at tele Sales.Inc whose business is to promote sales of other firms and get commission on this behalf. Recently your company has contracted with Teralink for its products sale. Teralink is Telecom Company which is introducing new modems. Both the companies are one building a part. Your boss wants to have a private and secure interaction with Teralink’s Director therefore he demands you to develop software by which he can send messages, daily information of stock prices and sales in the form of sales objects and files of monthly sales. Luckily Teralink is also using java based applications .As Teralink is newly established so initially it is using (UTP) Cable CAT-3 for LAN connections. As the business is in progress your boss has given you enough time for this project.

Question:

Considering this situation in your mind which one of the following technologies you will use to develop interaction among these companies either sockets or RMI? Support your choice with suitable reasons.
Solution:

It actually depends upon the situation and what are your requirements.But according to my point of view, RMI is light weight and has method invocation on end point. If our client will use java then RMI is best and simple but if our client has idea to change the plateform from java to any other then sockets are best.RMI is simple and code is reduced and easy to implement. It is a standared protocol and use object orientation. In the given scenario RMI is more suitable. RMI would limit the client to be another Java application. In case you don’t know, RMI is a Java only version of CORBA.


So socket-based apps need to put some infrastucture in place to get to the level where RMI is at.

Socket programming – you have to handle exactly which sockets are being used, you specify TCP or UDP, you handle all the formatting of messages travelling between client and server. However, if you have an existing program that talks over sockets that you want to interface to, it doesn’t matter what language it’s written in, as long as message formats match.

RMI – hides much of the network specific code, you don’t have to worry about specific ports used (but you can if you want), RMI handles the formatting of messages between client and server. However, this option is really only for communication between Java programs. (You *could* interface Java RMI programs with programs written in other languages, but there are probably easier ways to go about it
One benefit would be that RMI works in terms of objects and method calls, whereas socket communication works on the level of bytes sent and received (leaving aside serializing of Java objects for the moment). So socket-based apps need to put some infrastucture in place to get to the level where RMI is at.

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  HRM628 VU Current GDB No. 1 Spring April 2012 Solution required Vuhelper 1 3,668 07-22-2020, 08:06 PM
Last Post: Johnnieaunders
  MGT501 Human Resource Management GDB No. 2 Solution 23rd January 2016 Vuhelper 0 1,813 01-23-2016, 06:07 PM
Last Post: Vuhelper
  ORGANIZATIONAL DEVELOPMENT (MGMT628) GDB No 2 . 26th January 2016 Vuhelper 0 5,338 01-23-2016, 03:58 PM
Last Post: Vuhelper
  MTH302 Business Mathematics & Statistics GDB Solution 23rd January 2016 Vuhelper 0 1,676 01-23-2016, 03:39 PM
Last Post: Vuhelper
  STA630 Research Method GDB 2 solution 23rd January 2016 Vuhelper 0 1,983 01-23-2016, 03:15 PM
Last Post: Vuhelper
  MGT501 Human Resource Management GDB No.1 Discussions and Solutions Fall 2014 Vuhelper 0 3,505 12-04-2014, 09:07 PM
Last Post: Vuhelper
  MGT211 Introduction To Business GDB No 1 Solution Ideas Fall 2014 Vuhelper 0 1,664 12-04-2014, 03:20 PM
Last Post: Vuhelper
  FIN711 Advanced Financial Accounting GDB No. 01 Fall 2014 Last Date 8th December Vuhelper 0 2,075 12-03-2014, 09:15 PM
Last Post: Vuhelper
  MGT101 Financial Accounting GDB Solution and Discussion December 2014 Vuhelper 0 2,858 12-03-2014, 09:05 PM
Last Post: Vuhelper
  MGT703 Strategic Management GDB No.1 Fall 2014 Solutions Ideas Vuhelper 0 1,843 12-03-2014, 08:45 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)