Questions tagged [datasnap]

DataSnap is a Delphi technology that allows the development of multi-tier applications

DataSnap is a Delphi technology that allows the development of multi-tier applications, most notably multi-tier database applications.

DataSnap offers the possibility to create Client-Server applications that communicate through the Internet, the local network, or the local host.

The main feature of DataSnap is the ability of the Client application to invoke methods that are implemented on a Server. DataSnap automatically generates the necessary interface for the Client to communicate with the Server, containing the prototypes of the Server methods.

http://docwiki.embarcadero.com/RADStudio/en/DataSnap_Overview_and_Architecture

501 questions
0
votes
0 answers

Datasnap Client/Server 32/64

I have a problem with datasnap in delphi Xe3. At server side I create an application that load data from an XML file in a clientdataset and shares it through a datasetprovider. The Client has a clientdataset that load data into a grid. It works…
0
votes
2 answers

Android - How to access class content from another?

im actually working on an Android application which provides user a connexion to a DataSnap server but I got a problem with my NetworkManager class. I wish I have access to its content (user, host, port ...) but I can't and I didn't found the…
Jackyto
  • 1,569
  • 3
  • 15
  • 33
0
votes
1 answer

Datasnap client application hangs

I have written an application which uses a Datasnap Server over TCP installed as a windows service, and a VCL Winform client using Delphi 2010. The server application is connecting to a SQL Server 2008 instance on the same box. Everything works…
Mattgb
  • 408
  • 3
  • 9
0
votes
1 answer

Wrong nested datasets insert order on ApplyUpdates

I have 4 ClientDataSets like this: Master ---Detail 1 ---Detail 2 ------SubDetail 2.1 - here there is a FK to Detail 1 The insert order of records on datasets is: Master, Detail 1, Detail 2, SubDetail 2.1. However, the insert order on database, when…
dsonda
  • 61
  • 3
0
votes
1 answer

Trouble with jQuery .ajax and DataSnap

I have one simple DataSnap server and i having trouble consuming the Json data on .ajax function by JQuery. This is my code: $.ajax({ url: "http://localhost:53383/datasnap/rest/TServerMethods1/ReverseString/logo", headers: {"Accept":…
GabrielBiga
  • 388
  • 5
  • 19
0
votes
0 answers

How to manage a datasnap connection for multiple threads

I have come to the conclusion that only 1 client thread can access the server through a connection. But how to manage this? Do I need to lock the connection every time I use the TSQLConnection. With a Server Method for instance? How to automate my…
r_j
  • 1,348
  • 15
  • 35
0
votes
1 answer

DataSnap Server complaining about Server Method not existing ...Delphi 2010 DataSnap

I have a DataSnap Server with a Server method like this: function TServerMethods1.selectFalzUser(Usuario: string) : TDataSet; Now, on the DataSnap Client using TSQLServerMethod, I successfully connect to the server in Design Mode, pull server's…
Jorge Ramirez
  • 81
  • 3
  • 3
0
votes
1 answer

Delphi Datasnap Server User Authentication

We are developing a new, and our first, DataSnap server and client apps. I have added authentication to the server but I cannot dynamically change the login details for the connection from the client. The User and Password in the procedure…
Pieter van Wyk
  • 2,316
  • 9
  • 48
  • 65
0
votes
1 answer

DataSnap REST server - enable HTTP KeepAlive

I'm using Delphi XE2 to build a DataSnap HTTP REST server to run as a service on Windows 2008. I read somewhere that by default the HTTP 'KeepAlive' is disabled for DataSnap server projects, if so can somebody help as to how to enable this. …
Jonathan Wareham
  • 3,357
  • 7
  • 46
  • 82
0
votes
2 answers

How does a client refresh the data on a server

I developed an Client/Server application, using datasnap. I need to know how to refresh the data on the server whenever a client has updated a table. The reason being that when I run a query on the client, after I inserted records into a table, the…
Japster
  • 985
  • 6
  • 19
  • 38
0
votes
1 answer

Delphi DataSnap - Change 'User-Agent' HTTP header property in client connections

I have a Delphi XE2 Win32 app that connects to a REST service using DataSnap HTTP. The HTTP connection uses the default 'User-Agent' header of 'Mozilla/3.0 (compatible; Indy Library)'. I'd like to change this to be something more specific to my…
Jonathan Wareham
  • 3,357
  • 7
  • 46
  • 82
0
votes
3 answers

Add a blank row, then populate using a dialog in Delphi/DataSnap/dbExpress

I'm planning to create a dialog that would create a blank record in a Firebird database, then populate the fields with values taken from text edit boxes in that dialog. I am using the following: dbExpress DataSnap Delphi XE2 Maybe it should go like…
Victor Ian
  • 1,034
  • 13
  • 26
0
votes
1 answer

Datasnap: Session destroy event

In my application, whenever a user logs in, he is added to a table that stores data about the logged users, but I have nothing implemented to take those users off my table. I need to remove that user from my table when he logs out or loses his…
bpromas
  • 684
  • 1
  • 11
  • 25
0
votes
1 answer

Delphi DBExpress Parent Child No corresponding master record found

I am using DBExpress to connect to MySQL. I have a master detail relationship between two tables. I am providing the parent table via DatasetProvider. On the client side I have 2 clientdatasets. One of them accesses the provider, has all the parent…
Nirav KAKU
  • 19
  • 3
-1
votes
1 answer

how to return TByteDynArray in SqlServerMethod DataSnap Server

I have a DataSnap Server with a Server method like this: function TServerMethods1.Get_Excel_History(key: string): TByteDynArray; Now, on the DataSnap Client using TSQLServerMethod, I successfully connect to the server in Design Mode, and I'm…
Jose M
  • 43
  • 1
  • 1
  • 6
1 2 3
33
34