Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: Design question business-tier

Thread Tools

Re: Design question business-tier

Posts: n/a
Hello Fitim,

thanks for responding to my question. I think your suggestion makes
sense for a clean solution. I only have one problem, which is how to
tell the framework to use a specialized factory instead of the default
factory (so: in a project that used the framework, I create a
specialized abstract factory class, but how do I then tell the
framework to use it instead of its own factory). That basically is the
same problem as I was trying to address with my solution.

Do you have suggestions about this?

Jeroen Bijleveld

"Fitim Skenderi" <(E-Mail Removed)> wrote in message news:<#HhhH$(E-Mail Removed)>...
> One possible way is to have an Abstract Factory dessign pattern (GOF) to
> instantiate your Managers. Your Managers would be singletons (Singleton
> pattern GOF). Your would provide a concrete factory for your default
> Managers. To instantiate the appropriate concrete factory you could use
> configuration settings. Then your project does not need to worry about what
> type of managers it is using, and you could change the Managers at runtime
> just by changing configuration settings.
> hope this helps
> Fitim Skenderi

Reply With Quote
Steven Cheng[MSFT]
Posts: n/a
Hi Jeroen,

As for central the configuration infos of all the web applications(such as
manager class factory ..), I've ever seen that some other ones have used a
common webservice which help retrieve and store the certain configuration
datas in a common database. Then, all the web application call the shared
webservice to get the information and need only set the webservice's url in
its own web.config file. But this will make us provide a certain
application to host the webservice.


Steven Cheng
Microsoft Online Support

Get Secure!
(This posting is provided "AS IS", with no warranties, and confers no

Get Preview at ASP.NET whidbey

Reply With Quote

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
class design/ design pattern question Bartholomew Simpson C++ 2 06-12-2007 08:51 PM
Class design/design pattern resources TomTom MCSD 2 10-09-2004 07:38 AM
OO design in servlet design question dave Java 5 07-17-2004 12:58 PM
Xilinx Schematic design vs VHDL code design ZackS VHDL 5 07-09-2004 07:51 AM
Looking for help/resources on Writing a nice detailed design / tech design for code SpamProof Java 3 12-01-2003 06:06 AM