Referring to the tutorialThe pool is responsible for maintaining the connections.
An alternative for a connections pool is a process global SQL variable. However for it to work properly all the handlers should be single threaded handlers.
'[Server] Building web servers with B4J'
https://www.b4x.com/android/forum/threads/server-building-web-servers-with-b4j.37172/
I am now confused with this statement. No problem to use connection pool for MySQL and set the SingleThreaded to False by default.
B4X:
srvr.AddHandler("/hello", "HelloPage", False)
But then now if I use SQLite for the backend, should I set SingleThreaded as True?
Last edited: