472,991 Members | 2,852 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,991 software developers and data experts.

Usage of Remote Proxy Pattern

Hi NG !
I have the following situation:
I have a database on a server in my network and few client-computers on
which my software runs. My software must connect the database on the network
and makes readable requests on it. To be open for extensions (one day the
lib must support writeable request to the database) i thought of using the
Remote Proxy Pattern.

But I'm new in .NEt programming. I have read, that it would be possible to
write the specific location of a DLL (Assembly) in the configuration file.
If that's right and can I store my Db-AccessLib on the Server (same server
like my DB) and note this location in the configuration file of my software
to solve the problem of the access to a common used ressource ?

In my oppinion the Remote Proxy Pattern sound as the right solution, but I
would like to be sure.
Thanks

Marcel Hug

Feb 15 '06 #1
1 3878
What do u want to hide with Proxy pattern (what do u mean by "Remote" BTW?) ?
Everything you need it is to create necessary instance of your Db-AccessLib.
"facade" patterns were designed for this. If you are working in distributed
environment look at InversionOfControl pattern and Dependency Injections -
I've posted note about using it in my blog here
http://spaces.msn.com/laflour/blog/cns!7575E2FFC19135B4!297.entry?_c11_blogpart_blogp art=blogview&_c=blogpart#permalink
I have a database on a server in my network and few client-computers on
which my software runs. My software must connect the database on the network
and makes readable requests on it. To be open for extensions (one day the
lib must support writeable request to the database) i thought of using the
Remote Proxy Pattern.

But I'm new in .NEt programming. I have read, that it would be possible to
write the specific location of a DLL (Assembly) in the configuration file.
If that's right and can I store my Db-AccessLib on the Server (same server
like my DB) and note this location in the configuration file of my software
to solve the problem of the access to a common used ressource ?

In my oppinion the Remote Proxy Pattern sound as the right solution, but I
would like to be sure.
Thanks


--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
Feb 15 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

22
by: Kristof Thys | last post by:
Hello, I'm developing a C# - windows forms application. To get some information for my application, I'm connecting to an URL, wich gives me XML generated using php. With 90% of the users, this...
4
by: Leszek | last post by:
Hi, So far I have been creating projects on my local machine (localhost) without any problems. Now I need to create a project on a remote server. When I try to create a web application on the...
2
by: niklesh | last post by:
Dear all, when i am trying to giving web reference to webservices i am getting above said error.. i tried to find out what is the main problem then i got from microsoft support that i have to...
1
by: FluffyCat | last post by:
This week I've I continued my series of design patterns examples using PHP 5 with the Bridge Pattern and the Flyweight Pattern. Here now is my 19th design pattern example using PHP 5, the Proxy...
3
by: nandan | last post by:
Yes. My client has a proxy server. That much i know. In my application I make two kinds of calls that are affected by the proxy server I finally got the webservice call working. But my...
0
by: siegfried | last post by:
I have a VPN client on a computer. Unfortunately, I am not, as a matter of my client's security policy, allowed to install that VPN client on additional computers in my home office. This is...
3
by: =?Utf-8?B?UmljaGFyZEBub3NwYW0ubm9zcGFt?= | last post by:
My webcam app runs OK on XP but not on Vista. Here's my code snippet that has been working up until now: System.Net.WebRequest request; System.Net.WebResponse response; request =...
20
by: =?Utf-8?B?cmtibmFpcg==?= | last post by:
I was executing the steps given in http://suppor.microsoft.com/kb/308359 for testing a sample web service application. However, the following line gives a compilation error: localhost.Service1...
2
by: krishnakrish | last post by:
Hi, My name is krishna. I am using asp.net 2.0 with C#. I amusing Windows XP professional as OS. When I post some data to an external web server I get the error as "The Remote server returned an...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.