My ASP.net 1.1 online cinema reservation system is Developed in 3 Tiers:
1-DataAccessTier "Data Repository Class"
2-Business Tier "Set of Business Classes"
3-Presentation Tier "set of WebUserControls & aspx pages"
if i want to make a WebService that enables its users to interact with
the system, In the search for the ultimate Architecture, Should the
Design be:
1- Connect the WebService to my DAL and my Data Repository class
interact with the database through the Webservice?
OR
2- Remove the Data Repository Class and use the WebService as my way to
connect to the database?
OR
there is any other Better Solutions from your Previous Experiences ?????
Please if you have the Experience to make a good guidance in this
particular problem try to suggest different approaches by stating the
Advantages of this approach on the other as a proof that this is BETTER
than the other. I am sure it?s a common problem as i am new to
webservices and there is a Better approaches than what I thought about.
?What is the BEST way to Do IT??
Thanks
Sharing makes All the Difference
--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
carion1 - 18 Dec 2005 03:25 GMT
The short answer is, there isn't one. Every project is different with
different requirements. With out more information it is difficult to give
you an appropriate answer for your particular project.
Do the business and data layers need to be exposed to say a 3rd party vendor
or branch location across the internet? Will you have multiple types of
UI's possibly on different types of systems? For instance, maybe Mono/linux
is planned in the future or a win32 UI. How many users will you have and
what is the expected level of performance? You get the idea.

Signature
Derek Davis
ddavis76@gmail.com
> My ASP.net 1.1 online cinema reservation system is Developed in 3 Tiers:
> 1-DataAccessTier "Data Repository Class"
[quoted text clipped - 30 lines]
> Sent via .NET Newsgroups
> http://www.dotnetnewsgroups.com
Klaus H. Probst - 18 Dec 2005 05:25 GMT
There is no one-size-fits-all answer to these types of questions, but in
general you want web services to function as "adapters" for your business
logic. Web services are an interop and transport mechanism, not a platform.
They should only expand your BLLs contact surface.

Signature
Klaus H. Probst, MVP
http://www.simulplex.net/
> My ASP.net 1.1 online cinema reservation system is Developed in 3 Tiers:
> 1-DataAccessTier "Data Repository Class"
[quoted text clipped - 30 lines]
> Sent via .NET Newsgroups
> http://www.dotnetnewsgroups.com