473,320 Members | 1,839 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Client & Server on Same System

rob
I want to create an application that can be used both for a
server-client model as well as a standalong application. The idea is to
write a general server-client application. The standalong then just has
both components on the same system. Now the question is if this is a
good approach or if this is even doable. For instance do web services
have requirements that would prevent them from running on a non-server
OS? Any input?

Rob

Nov 23 '05 #1
7 1521

Absouultely not....you can have your webservice on local machine.....

With Best Regards
Naveen K S
"rob" wrote:
I want to create an application that can be used both for a
server-client model as well as a standalong application. The idea is to
write a general server-client application. The standalong then just has
both components on the same system. Now the question is if this is a
good approach or if this is even doable. For instance do web services
have requirements that would prevent them from running on a non-server
OS? Any input?

Rob

Nov 23 '05 #2
rob
Naveen & All,

So that means you do not need IIS for webservices then, assuming the
client that consumes the webservice is on the same machine. Is this
correct? In that case do you need some other technique to call a
webservice?

Rob

Nov 23 '05 #3

Hi Rob,

When you said you want to install webservice on client machine I assumed
that means client machine had IIS.....you need IIS to run webservice but not
to make a "call" i.e. consuming......

Let me put in a way....
Server ----Has IIS ----Offer Web services
Client -----No IIS ---- Consume Web services
Client ----Has IIS ---- Consume web service

HTH

With Best Regards
Naveen K S
"rob" wrote:
Naveen & All,

So that means you do not need IIS for webservices then, assuming the
client that consumes the webservice is on the same machine. Is this
correct? In that case do you need some other technique to call a
webservice?

Rob

Nov 23 '05 #4
rob
In that case I guess I have a serious problem with my approach. As I
said I would like to have two versions of my program. One will work in
a server-client role. The other one as a standalone program. My plan
was to write a server-client app and then the standalone program just
has the server and client on the same machine. Of course if web
services require IIS this won't work on Windows XP Home Ed, etc. Do you
have any suggestions on how to best address this problem?

Best Regards,
Rob

Nov 23 '05 #5

Hi...

Before I suggest some thing I have few questions....
1. Will users would be connected in network?
2.Will client having Windows XP would have network connection?
3. Are you developing intranet application or internet based application?

If your requiremtnts needs that users need to certain functions on
dis-connected mode and can do "certain" business logics after connecting to
network then I would suggest for a Smart Client Application.....

Let me know the scenarios of both users may be I can suggest you better

HTH

With BEst Regards
Naveen K S
"rob" wrote:
In that case I guess I have a serious problem with my approach. As I
said I would like to have two versions of my program. One will work in
a server-client role. The other one as a standalone program. My plan
was to write a server-client app and then the standalone program just
has the server and client on the same machine. Of course if web
services require IIS this won't work on Windows XP Home Ed, etc. Do you
have any suggestions on how to best address this problem?

Best Regards,
Rob

Nov 23 '05 #6
rob
Naveen,

Thanks for your reply. Here are the two scenarios.

There are multiple users all of them working with the same data. In
this case a server-client approach is chosen. The solution might be
deployed on an intranet or internet. The client has some complex
functions so I need a "rich" client.

If there is only one user it makes no sense to require him to have a
server. The user also might not want to host his data on an external
server. Nevertheless, he might (or might not) still connect to a server
for a data feed.

In both scenarios the users should be able to do some (limited) work
even when they are not connected to the server.

For the second scenario I do not want to write a seperate application.
So I was thinking of simply putting the client and server on the same
user machine. There are a few problems with that, though.

1) The user does not have MSSQL. I might just use MSDE for the second
scenario.

2) The user does not have IIS. This is a problem because I wanted to
use web services on the server to supply the client with data.

3) There might be some problems with authentification, authorization,
etc.

Any input on this is highly appreciated.

Regards,
Rob

Nov 23 '05 #7

Hi Rob,

Well....I would suggest you to build a Smart Client Application with SOA
approach.

Have Presentation, Business logics [some] on client.....use MSDE through
data access layer to connect Database on server......have important business
critical business logics or functions which might need other users input
deployed on server as webservices so that client consumes that .....

I hope this helps

With Best Regards
naveen K S
"rob" wrote:
Naveen,

Thanks for your reply. Here are the two scenarios.

There are multiple users all of them working with the same data. In
this case a server-client approach is chosen. The solution might be
deployed on an intranet or internet. The client has some complex
functions so I need a "rich" client.

If there is only one user it makes no sense to require him to have a
server. The user also might not want to host his data on an external
server. Nevertheless, he might (or might not) still connect to a server
for a data feed.

In both scenarios the users should be able to do some (limited) work
even when they are not connected to the server.

For the second scenario I do not want to write a seperate application.
So I was thinking of simply putting the client and server on the same
user machine. There are a few problems with that, though.

1) The user does not have MSSQL. I might just use MSDE for the second
scenario.

2) The user does not have IIS. This is a problem because I wanted to
use web services on the server to supply the client with data.

3) There might be some problems with authentification, authorization,
etc.

Any input on this is highly appreciated.

Regards,
Rob

Nov 23 '05 #8

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

Similar topics

2
by: Rajesh | last post by:
Hi, We have a socket server app in Java and the client application in C++. When we try to connect 60 clients simultaneously from C++ using threads, only 55-56 connections are successfull, rest...
7
by: rdh | last post by:
Hi all, I am in process of developing a Server in C++ supporting multiple protocols. The server will be exposing various functionalities, and the clients can communicate over any of the...
4
by: rs | last post by:
how I the client tell the server that the socket is closed? or this there an even that informs the server that the clients socket is close? Oh, I am using vb.net 2003 Thanks
4
by: Khalique | last post by:
I have built a web service whose purpose is to copy files from a secure place to client machine and vice versa. The problem I am having is perhaps related to permissions and access rights. For...
3
by: Guy Debord | last post by:
Hello all, I know that this is a long shot, but I have a problem which someone reading this group *may* just be able to shed some light on. We have a new internal personnel planner/attendance...
10
by: Betina Andersen | last post by:
I have inherited a VB.NET dll that I am using from common asp. My problem is to get the messages from the dll to the Ie client, I can see the messages in the Eventlog on the IIS server so I know...
4
by: Olivier Matrot | last post by:
Hello, I have a problem with an ASP.NET 2.0 Application. A client request is processed in parrallel by two threads. This ends with the following exception : <Source>System</Source> <StackTrace...
1
by: Olivier Matrot | last post by:
I have a problem with an ASP.NET 2.0 Application. A client request is processed in parrallel by two threads. After further analysis, it appears that : - There is 2 disctinct session for the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.