Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can you give an example of when it would be appropriate to
use a web service as opposed to a non-serviced .NET component

Answer Posted / reddy

Communicating through a Firewall When building a distributed
application with 100s/1000s of users spread over multiple
locations, there is always the problem of communicating
between client and server because of firewalls and proxy
servers. Exposing your middle tier components as Web
Services and invoking the directly from a Windows UI is a
very valid option.
Application Integration When integrating applications
written in various languages and running on disparate
systems. Or even applications running on the same platform
that have been written by separate vendors.
Business-to-Business Integration This is an enabler for B2B
intergtation which allows one to expose vital business
processes to authorized supplier and customers. An example
would be exposing electronic ordering and invoicing,
allowing customers to send you purchase orders and suppliers
to send you invoices electronically.
Software Reuse This takes place at multiple levels. Code
Reuse at the Source code level or binary componet-based
resuse. The limiting factor here is that you can reuse the
code but not the data behind it. Webservice overcome this
limitation. A scenario could be when you are building an app
that aggregates the functionality of serveral other
Applicatons. Each of these functions could be performed by
individual apps, but there is value in perhaps combining the
the multiple apps to present a unifiend view in a Portal or
Intranet.
When not to use Web Services: Single machine Applicatons
When the apps are running on the same machine and need to
communicate with each other use a native API. You also have
the options of using component technologies such as COM or
.NET Componets as there is very little overhead.
Homogeneous Applications on a LAN If you have Win32 or
Winforms apps that want to communicate to their server
counterpart. It is much more efficient to use DCOM in the
case of Win32 apps and .NET Remoting in the case of .NET Apps

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differnce between managed code and unmanaged code ?

1050


What is gui programming? : .NET Architecture

908


Explain the race around condition? : .NET Architecture How can it be overcome? : .NET Architecture

900


.Net Frame work arch?

2026


Explain the difference between state server and sqlserver : Dot net architecture

869


What is cache coherency and how is it eliminated? : Dot net architecture

930


Explain what does the term "green architecture" mean? : Dot net architecture

949


Describe the Managed Execution Process in .NET?

951


Explain write back and write through caches? : .NET Architecture

885


What is cookie less session?

1000


Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form. What is the exact procedure. : Dot net architecture

926


What is cache coherency? : Dot net architecture

1004


Explain the purpose of cache? How is it used? : .NET Architecture

957


Can you explain control extenders?

949


Explain the race around condition? How can it be overcome? : Dot net architecture

936