473,387 Members | 1,575 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,387 software developers and data experts.

Disconnected Client Data Store

What are some good stragegies for writting a disconnected client store. I
was looking at MSMQ, Serialization and possible SQL Server Express, but I am
open to any suggestions.

I have to scenerios.

1. I have a client/server application that needs to be connected as much as
possible. I plan on caching the lookup tables on the local machines and
running a thread every so often to check for differences. These tables to
not change much. We have an Oracle 10g rev 2 database and we are looking at
the Oracle client to receive notifications when these tables are updated and
make the changes. If the network goes off line (I have code to detect this)
I want to be able to save the current data they have saved, then stop the
program since I cannot retrieve data for the next part. However, I don't
want to loose the data they currently have. Once the network comes online,
I would like to pick up the saved data and pass it to the database.

2. I have a smart client application that needs to run independantly. If
the connection to the server is down, they people can still enter shipping
tickets and when the network comes back up, it will flush these requests to
the central server.
Any code or articles would be great.

John Wright
Jun 29 '06 #1
1 1177
John,

You mean something as that you first write an
XML dataset to disk with the diffgram method.

http://msdn.microsoft.com/library/de...classtopic.asp

I can now write a long text but I assume that you understand it now
yourself, if not then reply.

Be aware that this can give errors (already processed rows) and probably you
have therefore to use the method where the errors are written in the
datarows rowerrors

Continue update on error
http://msdn.microsoft.com/library/de...errortopic.asp

rowerrors
http://msdn.microsoft.com/library/de...errortopic.asp

I hope this helps,

Cor
"John Wright" <ri**********@notmail.com> schreef in bericht
news:%2****************@TK2MSFTNGP03.phx.gbl...
What are some good stragegies for writting a disconnected client store. I
was looking at MSMQ, Serialization and possible SQL Server Express, but I
am open to any suggestions.

I have to scenerios.

1. I have a client/server application that needs to be connected as much
as possible. I plan on caching the lookup tables on the local machines
and running a thread every so often to check for differences. These
tables to not change much. We have an Oracle 10g rev 2 database and we
are looking at the Oracle client to receive notifications when these
tables are updated and make the changes. If the network goes off line (I
have code to detect this) I want to be able to save the current data they
have saved, then stop the program since I cannot retrieve data for the
next part. However, I don't want to loose the data they currently have.
Once the network comes online, I would like to pick up the saved data and
pass it to the database.

2. I have a smart client application that needs to run independantly. If
the connection to the server is down, they people can still enter shipping
tickets and when the network comes back up, it will flush these requests
to the central server.
Any code or articles would be great.

John Wright

Jun 30 '06 #2

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

Similar topics

3
by: James Yang | last post by:
Hi, I am using Sockets to connect to a remote computer and send data using Socket.Send() and receive using Socket.Receive() (block mode) . for somereason tho, when the client disconnects the...
6
by: Steve Jorgensen | last post by:
I keep having problems in which ADO disconnected recordset work under some circumstances, but lose all their data at other times, having no rows or fields, though the recordset object still exists....
1
by: Andrew | last post by:
I'm a long time VB6/ADO and Java developer new to ADO.NET. I'm trying to decide on best practices and I'd appreciate any assistance. I have one specific question and another more general...
3
by: Benny | last post by:
Hi When I load a dataset with data obtained from a db, the dataset is stored in the memory of the client system. AFAIK the size of the dataset (which implicitly mean the number of rows that can be...
5
by: J | last post by:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Put user code to initialize the page here ip() If Not IsPostBack Then ...
2
by: John Wilson | last post by:
I have an application that can access data both locally and through web services (it may be working in a disconnected mode). I have defined my data objects (e.g. ObjectA) in a separate component...
9
by: Steven Nagy | last post by:
I know that .NET is based on a disconnected architecture, but I can't conceive of why continually opening and closing a connection would be faster than leaving a connection open. So I ran a test...
0
by: Ganwold | last post by:
I have a created a multi-threaded TcpClient server that works for my needs. Each thread uses synchronous (blocked) communication to wait for a command from the client Here's the problem...if a...
7
by: Vishal | last post by:
Hi, I am writing a CGI to serve files to the caller. I was wondering if there is any way to tell in my CGI if the client browser is still connected. If it is not, i want to execute some special...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...

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.