The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Webservice Thinking - thoughts on Sahil's blog entry

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Steve Hebert

Posts: 218
Nickname: sdhebert
Registered: Apr, 2005

Steve Hebert is a .NET developer who has created the .Math compiler library.
Webservice Thinking - thoughts on Sahil's blog entry Posted: May 24, 2005 2:13 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Steve Hebert.
Original Post: Webservice Thinking - thoughts on Sahil's blog entry
Feed Title: Steve Hebert's Development Blog
Feed URL: /error.htm?aspxerrorpath=/blogs/steve.hebert/rss.aspx
Feed Description: .Steve's .Blog - Including .Net, SQL Server, .Math and everything in between
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Steve Hebert
Latest Posts From Steve Hebert's Development Blog

Advertisement

I was reading Sahil's post titled "WebServices - A WHOLE new way of thinking" and it triggered some thoughts on the subject. 

Sahil discusses the notion that you have to wrap your head around the request/reponse model vs. a remoting/conventional OO model.  This observation is so correct.

The differences between remoting and WebServices are significant - the biggest difference is analogous to fat-client versus web-client application design.  The first and biggest mistake is believing the WebService layer exists at the business layer - bad move! 

One approach is to consider the WebService Interface operating at the same level as the WebUI level.  The request/response interaction is nearly identical, "session management" requirements are the same (even though they are likely to be handled differently) and you can't trust either interface. While you may decide to provide method signatures that look and feel like certain business object calls, remember that, at best, these are merely proxys to the core that also provide authentication, validation, etc..  You can use O-O design to augment the process and provide services like standard validation higher in your object hierarchy, but expect some refactoring of your existing UI related designs.

Read: Webservice Thinking - thoughts on Sahil's blog entry

Topic: Avalon and Indigo bits for VS.NET 2005 Beta 2 Released! Previous Topic   Next Topic Topic: UISafeInvoker: Making UI Thread safe methods - a little more easily

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use