473,598 Members | 3,409 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Multiuser access to XML from web service


I wrote a multithreaded windows service that has read/write access to an XML
file using a mutex.

I started wondering -- a multiuser XML file could be really useful in cases
where a small, one-table, database is needed.

Then, I am wondering how to implement in a web service.

For example, when a user consumes a web service, is each user on a single
thread on the server?

How would I construct a web service with a common resource such as an XML
document?

If I used a mutex in the web service, would each user generate it's own
mutex?

Or does the web service treat each user as a thread and the mutex as a
single resource?

Should I use 'delegates' instead of threads?

Nov 22 '05 #1
0 1151

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

Similar topics

1
2030
by: Howie | last post by:
Hi, i need a simple multiuser access to a file for parameters like increment numbers. The numbers are needed for order-numbers etc. They should be incremented by every programm (client) on an simple LAN server. How can i do this ?
0
334
by: Ketchup Kerry | last post by:
I wrote a multithreaded windows service that has read/write access to an XML file using a mutex. I started wondering -- a multiuser XML file could be really useful in cases where a small, one-table, database is needed. Then, I am wondering how to implement in a web service. For example, when a user consumes a web service, is each user on a single thread on the server?
0
1265
by: Caesare Gentile | last post by:
Suppose I want to write a webservice, where an XML file is loaded in XmlDocument and then a web method is built that would take in an XPath query as a parameter, and a string value. The Xpath query would be used to find the node, and the value would update the InnerXml attribute. The question is: how can a web service provide multiuser access to the same XmlDocument?
1
332
by: John Bailo | last post by:
C# Corner ( http://csharpcorner.com ) is running my article: "Multiuser XML 'Database' Web Service" Thanks to everyone in these newsgroups who gave me help and advice when presenting the concept. It's currently the first article listed on their home page!
4
2354
by: Pablo | last post by:
At my current job I've been tasked with maintaining a very old C++ application written largely in ANSI c++ in what I believe to be with an old DOS based Borland compiler. I'm trying to add a simple event logging component to the application. Initially I began with a simple: fstream dumpfile dumpfile.open(fname,std::ios_base::out | std::ios_base::app); //Event log occurs
2
1769
by: marifusman | last post by:
Acees 2.0 application when user run application it give following error. The database is opened by user "Admin" on machine "abc". you can not open this database exclusively. Please help me usman
0
1716
by: s | last post by:
I need to develop a multiuser database application to be used by four people(The number of users are not likely to increase). It is for storing records of different versions of particular papers. I am new to building such an application. I would like to know what would the requirements be for using Access as the means for building the multiuser database. Two of the four use Access 2000(running Windows 98) and other two use Access...
3
1549
by: jofo | last post by:
Hello all, I am working on a multiuser access db. I want to have people login and then store their user information in an object. I want to store the information because it will be used in every form along with selections made on the forms in the database. The db will be stored on a file server and the users will access it through their desktop version of Access 2003.
6
2022
by: lukethegooner | last post by:
I would appreciate any comment. I want MS Access to act as a reporting tool accessing Oracle tables. The Oracle database is populated by another database application, but this application cannot create the report I want in this situation. I can easily develop the application I need to create the report and I'd like to deploy this tool as a published application over Citrix so users can simply fireup Access, run the report and print.
4
5657
by: Wayne | last post by:
I've been asked to construct a database which will require several memo fields. This database will be the standard frontend/backend mdb configuration. I have read many posts describing the corruption problems associated with memo fields, especially in a networked environment. Am I asking for trouble if I go ahead with this project?
0
7991
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7902
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
8395
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
8398
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...
1
8050
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6719
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...
0
5438
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
3939
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2412
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.