473,698 Members | 2,883 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1545

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 authentificatio n, 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......hav e 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 authentificatio n, 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
11290
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 are not connected(Connection refused error). For one connection everything works fine. In server side each connection is handled in seperate thread.
7
3306
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 protocols may be TCP, IPX, SAP, NETBEUI to access the server to access the functionalities exposed. The server doesnot know in advance which client is using what protocol. ALSO, ALL THE INTERACTION WILL BE MADE OVER XML. example my server has...
4
6730
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
3773
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 testing purposes, the secure place is setup on the client machine. The client (window app) calls the web service (on a different machine) and connects successfully to the web service. However, when client calls a method that copies the file from...
3
2614
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 system in place. It uses a web interface to allow members of staff to select their site location for any week, request leave and record absences. The server-side scripting is composed of VB/ASP and Javascript which
10
2094
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 they are there, but how do I get them to show in IE? The original code was: MsgBox("Kunne ikke finde databasenavn udfra den angivne DSN: " & DSN) I tried to change that to: Result = MessageBox.Show("Kunne ikke finde databasenavn udfra den...
4
2702
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 at System.Collections.Specialized.ListDictionary.Add(Object key, Object value) at System.Web.UI.ClientScriptManager.RegisterScriptBlock(ScriptKey key, String script, ListDictionary&amp; scriptBlocks, ArrayList&amp; scriptList,
1
1865
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 request (Session_Start in global.asax) - One of the session ends (Session_End in global.asax). - The ramining session is used for subsequent requests, and everything works fine. - This is happening primarily when the application is started for the...
0
8610
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9170
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7740
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6528
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.