Remoting Vs Webservices

  • Thread starter Thread starter Asfar
  • Start date Start date
A

Asfar

I would like to build a thin client application which will display data and
images from database.
The user will have a look at the data images and post it back to server.

I would like to know which will work better in this scenario. Should I use
Webservice or remoting to pump data from database to client?

Thanks,
-Asfar
 
Hello Asfar,

without knowing you work environment the general solution is that
Remoting to work whithing enterprise and WS to expose functionality outside

A> I would like to build a thin client application which will display
A> data and
A> images from database.
A> The user will have a look at the data images and post it back to
A> server.
A> I would like to know which will work better in this scenario. Should
A> I use Webservice or remoting to pump data from database to client?
A>
A> Thanks,
A> -Asfar
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsch
 
The big question you have to ask yourself is if other systems will be
hitting this service.

Are these other systems all .NET based? Will they always be? If so use
remoting. If not a webservice is a much more open form of communication as
someone could quite easily consume your service from another environment.

Cheers,

Greg
 
Asfar,

Generally speaking, I would say to avoid remoting. With how common web
services are, as well as better distributed technologies such as Windows
Communications Foundation on the horizon, you aren't going to gain much from
remoting. Remoting also doesn't provide much out of the box in terms of
authentication and authorization, so if you have a need to secure your
service (which I hope you would, given it is on the internet), then I would
avoid it.

Using web services allows you to provide a solution now, and as long as
you keep your contract the same, you can swap out the implementations on the
client or server side easily.

Hope this helps.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top