Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Utilizing Web Services
Message
From
29/03/2004 12:38:29
 
 
To
28/03/2004 23:31:54
General information
Forum:
ASP.NET
Category:
Web Services
Miscellaneous
Thread ID:
00888257
Message ID:
00890511
Views:
28
>I'm now confused as of when to use WEB SERVICE, REMOTING, or COM+.
>In the example you mentioned, don't you think that remoting is a better solution.


I don't know why remoting would be any better than Web Services in this example. We have not used Remoting or COM+ in any part of our application at all. Now, that said, since I haven't had any experience using Remoting maybe I'm just not familiar enough with it to give any pros or cons to the Web Service approach vs the Remoting approach, but Web Services work just fine.

I think the benefit of using Web Services is that our application can be used on both an intranet and the Internet, which is critical to our customers.

Maybe someone with some experience with Remoting can give you a bit more feedback.

~~Bonnie

>>>Can you expose more on "If you have a WinForm, then you'll need to access the server-side stuff through a Web Service"
>>>I would appreciate if you give an example.

>>
>>What we do is utilize Web Services to pass Typed DataSets back-and-forth between the client-side (WinForm UI) and the server-side (Business and DataAccess classes).
>>
>>So, say your UI needs customer data. It would call the GetCustomer Web Service. The GetCustomer Web Service would call the GetCustomer() method in a Business class, which would call the GetCustomer() method in a DataAccess class, which would make the actual call to the database and fill the DataSet. The DataSet would be passed back to the Business class (which would do any business processing necessary). The Business class would pass the DataSet back to the Web Service. The Web Service would serialize the DataSet to XML and pass it back to the calling UI form, which would deserialize it back into a DataSet.
>>
>>Is that what you wanted to know?
>>
>>~~Bonnie
>
>I'm now confused as of when to use WEB SERVICE, REMOTING, or COM+.
>In the example you mentioned, don't you think that remoting is a better solution.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform