Hallo! While I am not a Haskell newbie I am a network newbie and need your advice. A few years ago I coded some business logic in Haskell which is used in an application. The application mainly consists of a GUI which calls the Haskell program. The whole application is installed at the computer it is used on. Now it shall be possible to use it from any computer within the company net. (They use Windows and any kind of scripting or ActiveX is okay when needed.) Because response time is an issue I think a client/server solution is not feasible. What I need to know now is if it is possible to pull the application from a server and run it locally. What would be required? What is the way to go? Which kind of complications are to be expected? (To clarify a bit more I am not concerned about the GUI that will be reimplemented - probably in JAVA - I am concerned about the business logic.) Any help, hints, thoughts are really appreciated. :-) Andreas
On Fri, 31 Mar 2006 08:38:22 +0200, you wrote:
Now it shall be possible to use it from any computer within the company net. (They use Windows and any kind of scripting or ActiveX is okay when needed.) Because response time is an issue I think a client/server solution is not feasible.
What I need to know now is if it is possible to pull the application from a server and run it locally.
Is the Haskell code in a DLL? If the main EXE and the DLL (or DLLs) can all reside in the same directory on the server, you don't have to do anything special. You just run the application from the client machine as if it were local, specifying the full network path to the executable; e.g.: \\theserver\theshareddirectory\mygreatapp.exe If there are updateable configuration files or other such things that need to be maintained on a per-user basis, then you have to be a little more careful to make sure that they're saved on the client machines instead of at the server; if you use the system registry for that, then it pretty much automatically takes care of those details, too. Steve Schafer Fenestra Technologies Corp http://www.fenestra.com/
participants (2)
-
Andreas Marth -
Steve Schafer