Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Questions about Web Service applications (Architecture)

Reply
Thread Tools

Questions about Web Service applications (Architecture)

 
 
Toble Rone
Guest
Posts: n/a
 
      10-16-2005
Some tome ago, me and my team could carry out our first real distributed
project. It's a GIS application using a Remoting Host (currently a Windows
Service), with TCP formatter over HTTPS. There is a bunch of classes
published in that way, actually exposing methods from an ORM layer. The
client app (a Winform/C# app) is used by almost 100 users over the internet
(our customers), and the performance is great.

Now. I'm actually engaged in a quite big new project. The architecture is
quite simple now, with planned client apps (Winforms too) used inside a big
corporate LAN, with external access also, with ASP.NET "extranet" websites.

The point here is that in this new scenario we will have a lot of external
communication with other clients, interfaces with government financial
systems, and so on. and the "Service Oriented" idea came in. I have a lot of
technical knowledge about web service and SOA (mainly from reading not from
real experience). but I have some doubts about WHERE and WHEN to really
apply web services.

I'll probably have real "services" in this scenario (with all the know
tenets, isolation, explicit boundaries, etc). No problem with that.

The problem is with normal behaviors of a distributed application. Imagine a
complex Winform client app with a lot of CRUD operations on business
entities. there will be (logically) some BLL functionality to do that crud
operations. I.E. the normal form to update or insert new customers or
products in the system.

But, in a "correct architectural point of view", if I decide to implement
web services (to interface with other systems and services), I really need
to expose ALL those BLL functionalities with web services?, or its nice to
mix the technologies? (may be using COM+, Remoting, etc).

In real world scenarios using web services. they do ALL with web services?,
or just the points when interoperability between other systems are needed?.

Every answer here will be really appreciated.
Tnx in advance.

Jack.


 
Reply With Quote
 
 
 
 
Henrik Gøttig
Guest
Posts: n/a
 
      10-17-2005
Hi Toble

Well, in my opinion, you hit the head on the nail, right there... plonk!

I have done "Service oriented" systems like you for the commercial
market on several projects, both in the J2EE and .NET camp.
My opnion is:
Look at your WS layer as a way of "interoperablizing" your business
processes. Just another way to get to your business processes. Same way
you can expose the same or other business processes for more appropriate
protocols like remoting, custom TCP/IP channel, whatever. The business
process remains the same, but how the data gets transported to it differs.

So, you can build your system without the need for webservices at all,
but still construct it to be "service oriented". Have POCOs, COM+
objects, whatever to define the business processes and implement what
those does. Expose all (or some of it) to "the world" via Webservices.
That way any exposed interface (being Webservices, remoting) acts just
as a transport layer.

To your last question regarding all or some business processes as web
services, I would say: Implement as appropriate. If it is more suitable
for the client to use a custom TCP/IP based "protocol" use that, if it
is suitable to use Webservices, do that. As long as you isolate your
business processes from the actual transport, you can mix it in any way
you want.

That being said. The last project I worked on used Webservices as main
process entry point for clients, and Biztalk for integrating
(serverside) with other "services" due to it's outstanding schema
mapping functinality.

Is it clear what the point is... or id I misunderstand your question
totally.

Regards

Henrik


Toble Rone wrote:
> Some tome ago, me and my team could carry out our first real distributed
> project. It's a GIS application using a Remoting Host (currently a Windows
> Service), with TCP formatter over HTTPS. There is a bunch of classes
> published in that way, actually exposing methods from an ORM layer. The
> client app (a Winform/C# app) is used by almost 100 users over the internet
> (our customers), and the performance is great.
>
> Now. I'm actually engaged in a quite big new project. The architecture is
> quite simple now, with planned client apps (Winforms too) used inside a big
> corporate LAN, with external access also, with ASP.NET "extranet" websites.
>
> The point here is that in this new scenario we will have a lot of external
> communication with other clients, interfaces with government financial
> systems, and so on. and the "Service Oriented" idea came in. I have a lot of
> technical knowledge about web service and SOA (mainly from reading not from
> real experience). but I have some doubts about WHERE and WHEN to really
> apply web services.
>
> I'll probably have real "services" in this scenario (with all the know
> tenets, isolation, explicit boundaries, etc). No problem with that.
>
> The problem is with normal behaviors of a distributed application. Imagine a
> complex Winform client app with a lot of CRUD operations on business
> entities. there will be (logically) some BLL functionality to do that crud
> operations. I.E. the normal form to update or insert new customers or
> products in the system.
>
> But, in a "correct architectural point of view", if I decide to implement
> web services (to interface with other systems and services), I really need
> to expose ALL those BLL functionalities with web services?, or its nice to
> mix the technologies? (may be using COM+, Remoting, etc).
>
> In real world scenarios using web services. they do ALL with web services?,
> or just the points when interoperability between other systems are needed?.
>
> Every answer here will be really appreciated.
> Tnx in advance.
>
> Jack.
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple applications/multiple web.configs: how to structure a big collection of (seemingly) nested web applications? ASP .Net 3 06-14-2007 09:25 AM
InvocationTargetException when calling "new Service()" in Axis web service to call another web service Michael Averstegge Java 0 01-10-2006 11:05 PM
Windows PDA applications or ASP.NET web PDA applications?? Anil ASP .Net Mobile 1 07-31-2004 08:38 AM
web applications versus. web portal applications John Davis ASP General 0 08-21-2003 12:11 AM
web applications versus. web portal applications John Davis ASP .Net 0 08-21-2003 12:11 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57