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

Answers were Sorted based on User's Feedback



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

Answer / raghumadhav tirunagari


Web services are best suite for Hetrogenious environment.
Remoting is best suite for Homogenious environment. The
systems that under CLR.


Is This Answer Correct ?    1 Yes 0 No

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

Answer / 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

More Dot Net AllOther Interview Questions

How does .net mobile work? : Microsoft dot net mobile

0 Answers  


5. Wcf- Session Managment

0 Answers   PCS,


What are the different pipelining hazards and how are they eliminated? : Dot net architecture

0 Answers  


What does the term "green architecture" mean? : Dot net architecture

0 Answers  


HttpHendler and HttpModules

0 Answers   PCS, Sopra,






Does .NET runtime offer Deterministic Destruction or not?

0 Answers   HCL,


what is the use of SQL command builder class in C#.net? Explain how can we execute a stored procedure using C#.Net? What is the difference between .DLL and .EXE?

2 Answers  


What is .net mobile automatic paging? : Microsoft dot net mobile

0 Answers  


HI THIS IS THIRUMAL. I AM COMPLETED MY MCA IN 2009 WITH 64%. NOW I AM LOOKING FOR A JOB(FRESHER)IN HYDERABAD.PLEASE IF YOU FIND ANY OPENINGS IN ANY COMPANY SEND IT TO MY MAIL ID PLEASE.. SKILL SET : C,C++,C#.NET,ASP.NET,ADO.NET,SQL SERVER, SSIS,SSRS EMAIL ID : THIRU104@GMAIL.COM THANKS & REGARDS D.THIRUMAL

1 Answers  


which of the following statement is true about gac. a)it is being handled by .net framwork b)It is special folder c)it can have files with same name etc etc.

4 Answers   Honeywell,


Define dma? : Dot net architecture

0 Answers  


Explain about the base class library provided by microsoft.net?

0 Answers  


Categories