Groups | Blog | Home
all groups > dotnet distributed apps > december 2005 >

dotnet distributed apps : Distributed 3 Tier & WebService Design Question


Dave Johnson
12/17/2005 3:39:15 AM
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
carion1
12/17/2005 9:25:14 PM
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.

--

Derek Davis
ddavis76@gmail.com

[quoted text, click to view]

Klaus H. Probst
12/17/2005 10:25:25 PM
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.

--
Klaus H. Probst, MVP
http://www.simulplex.net/

[quoted text, click to view]

AddThis Social Bookmark Button