KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Note: Embedded Database Structures with Built Remote Clients
PRODUCT: 4D | VERSION: 20 R | PLATFORM: Mac & Win
Published On: March 27, 2025
This technical article is restricted to partners Only. Login with your Partner account to have full access to this article!!!
Log In


A built 4D Client-Server application provides an efficient way to deploy a 4D database application to multiple users. The compiled application ensures source code security and gives developers control over the user experience. However, a common limitation of 4D Client-Server deployment is that a 4D Remote Client cannot execute developer-written code until it successfully connects to a 4D Server.

To address this, 4D allows a built 4D Remote Client to start with a standalone database, enabling it to execute code without an initial server connection. This Technical Note explores the process of embedding a standalone 4D database within a 4D Remote Client. Additionally, it presents a sample implementation demonstrating how a 4D Remote Client can automatically connect to a primary server and failover servers.