473,320 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

2 Questions concerning XML Web Services

#1) Burning question on my mind is ... what is the
difference between a "web service" and a distributed COM
component other then a distributed COM component had to
be registered on a host server and be a part of a network
whereas the web service can be located via URL?

I don't see much of a difference and it bugs me :-) They
both sit outside of the client computer. They both
provide functionality. They are both called remotely.

What's the difference?

#2) Question concerning the difference between .NET
remoting and Web services. I read that the .NET remoting
provides the infrastructure to support object remoting
solutions, to include functionality and that Web Services
support only the transport of data and NOT functionality?

Web services do not support functionality??

If someone could illuminate me on what the author's
intent there was I would greatly appreciate it!

Thanks!
Nov 11 '05 #1
2 2166
"IcedCrow" <ch********@aol.com> wrote in message
news:04****************************@phx.gbl...
#1) Burning question on my mind is ... what is the
difference between a "web service" and a distributed COM
component [....] What's the difference?
Both are, in fact, technologies you can use to build distributed
applications. Therefore they are similar from a 10000 ft perspective.
The differences are:

a) Micrsoft doesn't own the SOAP spec, like it did with DCOM. The SOAP spec
is published and under control of the W3C. Anybody is free to implement it
and thus allow for interoperability between arbitrary platforms. While there
are bridges and inplementations of DCOM on platforms other than windows,
DCOM is very much a Windows technology.

b) Web Services (the SOAP protocol, specifically) are designed for
interoperability. DCOM was in theory, but not in practice.

c) DCOM transmitted data in a binary format, Web services use XML

d) THe SOAP protocol, i.e. Web services are not tied to any particular
transport. You can use SOAP over HTTP, SMTP, MSMQ or whatever suits your
needs. In .NET as it is today, Web services are pretty much to HTTP. The
..NET Framework with the SoapFormatter, the XmlSerializer and WSE allow to
use SOAP over any transport you need.

I am sure there are more, but these come to mind right now.
#2) Question concerning the difference between .NET
remoting and Web services. I read that the .NET remoting
provides the infrastructure to support object remoting
solutions, to include functionality and that Web Services
support only the transport of data and NOT functionality?


Remoting provides full type fidelity for the objects you call methods on the
object you transmit. i.e. if you transmit an object by value from the server
to the client, the client must have the very same implementation of the
class that's available on the server. You can circumvent this by
transferring only interface types and not class types (or write a code to
map between types on the server and the client). Still the client needs to
be able to locate a compatible version of the interface definition. Web
services simply publish an interface using WSDL. This, again, is much like
the publishing an interface derfinition using IDL in DCOM.
--
HTH
Christoph Schittko [MVP]
Software Architect, .NET Mentor
Nov 11 '05 #2
a good article on the topic is here:
http://msdn.microsoft.com/library/en...tnetarch16.asp

-Dino
"Christoph Schittko [MVP]" <ch********************@austin.rr.com> wrote in
message news:ed**************@TK2MSFTNGP11.phx.gbl...
"IcedCrow" <ch********@aol.com> wrote in message
news:04****************************@phx.gbl...
#1) Burning question on my mind is ... what is the
difference between a "web service" and a distributed COM
component [....]
What's the difference?


Both are, in fact, technologies you can use to build distributed
applications. Therefore they are similar from a 10000 ft perspective.
The differences are:

a) Micrsoft doesn't own the SOAP spec, like it did with DCOM. The SOAP

spec is published and under control of the W3C. Anybody is free to implement it
and thus allow for interoperability between arbitrary platforms. While there are bridges and inplementations of DCOM on platforms other than windows,
DCOM is very much a Windows technology.

b) Web Services (the SOAP protocol, specifically) are designed for
interoperability. DCOM was in theory, but not in practice.

c) DCOM transmitted data in a binary format, Web services use XML

d) THe SOAP protocol, i.e. Web services are not tied to any particular
transport. You can use SOAP over HTTP, SMTP, MSMQ or whatever suits your
needs. In .NET as it is today, Web services are pretty much to HTTP. The
.NET Framework with the SoapFormatter, the XmlSerializer and WSE allow to
use SOAP over any transport you need.

I am sure there are more, but these come to mind right now.
#2) Question concerning the difference between .NET
remoting and Web services. I read that the .NET remoting
provides the infrastructure to support object remoting
solutions, to include functionality and that Web Services
support only the transport of data and NOT functionality?
Remoting provides full type fidelity for the objects you call methods on

the object you transmit. i.e. if you transmit an object by value from the server to the client, the client must have the very same implementation of the
class that's available on the server. You can circumvent this by
transferring only interface types and not class types (or write a code to
map between types on the server and the client). Still the client needs to
be able to locate a compatible version of the interface definition. Web
services simply publish an interface using WSDL. This, again, is much like
the publishing an interface derfinition using IDL in DCOM.
--
HTH
Christoph Schittko [MVP]
Software Architect, .NET Mentor

Nov 11 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: frederik12 | last post by:
Hi all, Today I downloaded and installed VS 2005 C# Express Edition (.NET framework 2.0). I'm very pleased about this new product. In my current application I'm using the WebBrowser control in...
0
by: Joe Abou Jaoude | last post by:
Hi all, I have developped a asp.net application, and now I have to install it on the client's computer. I have 2 questions concerning the installation: 1-Under the Web application I have an...
24
by: CJ Taylor | last post by:
Cmon.. I help out. =)
0
by: Matthieu Siggen | last post by:
Hello, I'm really confused about how to define services when concerning data management. I'm going to take an example to show where is my problem. If I'm developping an application with two...
4
by: Yoram Biberman | last post by:
I have a few questions concerning concurrency control. I shall thank whoever can help me. Question #1 ========= Assume the following (concurrent) schedule, in which both transactions run in a...
1
by: Markus Stehle | last post by:
Hi all! We are planning to provide .net web services to our partners. As I am new to web services technology, I have some questions concerning data exchange and interop. As most of our...
7
by: alternativa | last post by:
Hello, I have a few questions concerning classes. 1) Why some people use default constructos, i.e constructors with no parameters? To me it doesn't make any sense, is there something I should...
1
by: richard.hallgren | last post by:
Hi, I have some questions concerning thread pools. I've marked the questions by number in the text. First I'd like to know when which thread pools an application uses. I know ASP.NET uses the...
22
by: gustum | last post by:
Im graduating in the coming december. Anyone pls guide me where i can get c++ interview questions. I shall be very thankful to you if you provide me good link so any stuff if you have regarding...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.