About remoting and web services. Difference between them?

Answer Posted / madhusudhanreddy

The real difference between .net remoting and xml web services is:

.net remoting uses tcp channel or http channel or smtp channel or ftp channel in order to communicate with the remote objects which reside on the server which is located in different application domain. Here again tcp channel is used for intranet based implementation where as http channel is used for both intranet and internet based implementaions..Net Remoting provides better and faster way of communication as compared to the web services.But they involve complex programming and difficult to deploy..Net remoting uses formatter classes (binary and soap) to serialize and deserialize the data which has to be transmitted on to the network.Remote objects can be hosted on another .Net managed exe file or in IIS or in .net component services which take the advantage of com+ services which include transactions, object life time and object pooling.It provides .NET TO .NET communication between homogeneous and heterogeneous platforms

Web services are used to publish the services on the server using xml based transmission and are completely managed by the web server(IIS).It uses Soap via Http for transferring the messages on to the network..towards business to business implementations...different vendors communicate with different software's...for this requirement..web services can be used...they are easy to develop and deploy...but there is a limitation on the number of objects which can be serialized..only the data types that are defined in the xsd type system are supported for serialization..

These are small differences for enough to get into an interview...

Thanks and Regards,
Madhusudhanreddy T

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I am developing a project.Title is "Remote Demonstator".Using asp.net and C# Abstact: While administrator moving mouse and clicking on any link in the webpage that action will be performed in Server machine as well as in client machine.The client initially have to log-in and make a phone call to the admin. This is my project. How can i get this? I can create a website but this concept i have to implement in my website.How can i achive this? How to get client system control and how my mouse movings can be visible to client? I request all to please give me a basic idea or some hint. Advance Thanks.

1977


Explain the differences between marshal by value and marshal by reference?

583


what are the requirements to enable remote components to interact each other?

529


Explain threading types?

645


Which Namespaces is used to achieve the Remoting?

564






What is fundamental of published or precreated objects in remoting?

592


What is objref object in remoting?

691


How can you configure a .net remoting object via xml file?

548


Difference between .net remoting versus distributed com?

560


Is it a good design practice to distribute the implementation to remoting client?

502


Define singleton activation mode in .net remoting?

516


Can you explain remoting?

596


What are the different types of channels used by .net remoting and which is the best one?

488


How do you implement distributed applications in .net?

506


Define remotable objects in .net remoting?

551