We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Dear Students GDB of CS506 will be announced on 7th Feb , 2013 At 12:00 A.M and will be closed on 8th Feb, 2013 At 11:59 P.M. Topic is uploaded in announcement. Plz Discuss here about your Ideas


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.


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.

Note: A concise, coherent and to the point answer is preferred over lengthy comments having irrelevant details. Comments, posted on regular Lesson's MDB or sent through email will NOT be considered in any case. Any request about such an acceptance will not be catered.

Best of Luck!

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?

See Your Saved Posts Timeline

Views: 4380


+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

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...) RMI is at a higher level than sockets. RMI implementation uses sockets to make the actual communication. In RMI you use remote objects as they were available locally. You don't transfer bytes directly, you simply invoke methods. With sockets you must handle all communication. if you are extracting the network interface difference between RMI and SOCKETS than you will find not a big difference but if you will asking about the difference between purpose than there is alot of difference between them. if v want to explain simply than v can say dat RMI basically provide us Remote Method Calling through objects. As these objects are serialized so RMI maintain the state of information but in sockets our information state is not maintained. Sockets only provide the sending of data but RMI provide the complete use of that data that we have been sent. Socket programming is the message transfer mothodology using TCP or UDP between server and client depending on particular port. RMI(Remote Method Invocation) also does the same work but the differnce is it doesnot worry about the specific ports used for transformation of message.It is mainly used in case of java programming language whenever we need to call a method remotely through objects.RMI implementations may use socket as a communication protocol.


kitny word ka ho dono mai say ayk hi likhna hy

I also submitted ........ RMI

The Sockets are the low-level (transport level) abstraction by which a Java application interacts with the network, and by addition with remote clients and services. Socket support reliable byte stream and unreliable messaging services. They are typically used for TCP/IP and UDP/IP, though other networking protocol stacks. Because Sockets support CAT 3 LAN. RMI strongly recommends CAT 5 cable for LAN connection. In question there is cat 3 for LAN connection. RMI is for high-level Java-to-Java distributed computing. RMI ports are typically blocked by default, which means that there is a non-trivial amount of configuration effort in setting up RMI-based applications. So Sockets fulfills the company requirements. So I have to go for Sockets technology.

are JSSE and Sockets same things? if not then what is the difference between these two. Please reply ASAP



Latest Activity

+ !!!R❤G liked + !!!R❤G's discussion Ikhalaq ki ahmiyat
1 hour ago
+ !!!R❤G posted a discussion
1 hour ago
+ !!!R❤G liked UMER UMER's discussion What is Love?
1 hour ago
+ !!!R❤G liked + IUUOƆƎUT +'s discussion کہو تو لوٹ جاتے ہیں ۔ ۔ ۔
1 hour ago
+ !!!R❤G liked + IUUOƆƎUT +'s discussion How Can You Get Secured of Being Banned On Ning
1 hour ago
+ !!!R❤G liked UMER UMER's discussion What is Love?
1 hour ago
+ !!!R❤G liked + ! ! ! ! ! ! ! ! ! ! ! ! ! ! !'s discussion Happy Birth Day Zargiyah (Tasha <3)
1 hour ago
+ !!!R❤G liked +! ! ! "Asнтαℓғαн's discussion Happy wala Birthday tashy patashy ❤ (Tasha)
1 hour ago
+ !!!R❤G liked 彡JK彡 ❤️'s discussion Don't Look for Perfection........ LOVE lies in imperfection
1 hour ago
+ !!!R❤G liked 彡JK彡 ❤️'s discussion If you have sOmething stupid to saY............
1 hour ago
+ !!!R❤G liked Waseem Khan's discussion Edu 402 Assinment No. 1 Solution
1 hour ago
+ !!!R❤G liked Moji's discussion MCM301 assignment no 1
1 hour ago
+ !!!R❤G liked + M.Tariq Malik's discussion VU Students Reserves The Right to Delete Any Profile On the Site
1 hour ago
+ !!!R❤G and + ! ! ! ! ! ! ! ! ! AG are now friends
1 hour ago
Zain Arshad replied to + M.Tariq Malik's discussion ENG201 Business and Technical English Writing Assignment No 01 Fall 2019 Solution & Discussion in the group ENG201 Business and Technical English Writing
1 hour ago
Muhammad Rashid liked + M.Tariq Malik's discussion ACC501 GDB Fall 2019 Solution & Discussion
2 hours ago
Sucana Shafiq liked + M.Tariq Malik's discussion CS101 Mid Term Papers Spring 2019 & All Solved Past Papers, Solved MCQs & Helping Material
2 hours ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS302 Digital Logic Design Assignment No 02 Fall 2019 Solution & Discussion in the group CS302 Digital Logic Design
2 hours ago
+ M.Tariq Malik liked + M.Tariq Malik's discussion CS302 Digital Logic Design Assignment No 02 Fall 2019 Solution & Discussion
2 hours ago
+ ! ! ! ! ! ! ! ! CuTe DrAmA updated their profile
2 hours ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service