Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / February 2005

Tip: Looking for answers? Try searching our database.

Web Services and Application Architecture

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robert Strickland - 13 Feb 2005 22:25 GMT
We are developing a several web applications that use 'services' that
perform key business functions for our applications. These same 'services'
are avaible to paying clients through web services.  To summarize, we have
clients that use our web applications (they need UI) and we have clients
that just need the 'services' where they integrate our 'services' with their
applications through the web services. We have a single server that houses
both types of applications (we have failover). My question involves the web
applications and the 'sevices'. Should we use the web services from the web
applications or call the implementation components directly from the web
applications through their interfaces? My concern is performance for the web
applications and the fact the web services reside on the same physical
machine. It is argued on my team that calling the 'services' through the web
service allows for better stability and performance. I am not so sure.
Building a SOAP request and response along with the
serialization/deserialization would generate a large amount of overhead and
cause scalabiltiy issues during peak demand (which we will get). We are
document centric (not RPC) and deal with Xml streams, schemas, etc.

If possble, could someone direct me to some general guidelines or sites that
cover this topic. I have gone through Microsoft's Best Practices and
Patterns but nothing surfaced.

Thanks
raffe - 13 Feb 2005 23:59 GMT
I'm not sure if I have got the whole picture, but I would think that in
eather case it would be a good idea to separate business logic layer from
web services. I would implement this layer using COM+ for better
scalability.

Once you have the business logic implemented I'd expose it wrapping it in
Web Services. In this scenario you'd have scable layer with business logic
which you can do what you wish with later.

I would think that it'd be easier to implement the logic going on in the
application as well. Because you can divide the logic along the components
and let the various methods call the methods in the components they belong
to. Web Services are not as flexible because it would not be a good idea for
a web service to call other services before returning.

Rafael

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.