i want to create a custom RDC for multi database connection.
i really new in here, not really know how to do that.
please give me advice.
i already read the threads "[Server] Building web servers with B4J" and "[Server] Data Collection Solution - Device, Desktop and Web reports", but really not understand.
now i start at here:
so what next? hope you guys give me a advice and trick to move on this project.
i really new in here, not really know how to do that.
please give me advice.
i already read the threads "[Server] Building web servers with B4J" and "[Server] Data Collection Solution - Device, Desktop and Web reports", but really not understand.
now i start at here:
B4X:
#Region Project Attributes
#CommandLineArgs:
#MergeLibraries: true
#AdditionalJar: mysql-connector-java-5.1.29-bin
#End Region
Sub Process_Globals
Private srvr As Server
Public pool As ConnectionPool
End Sub
Sub AppStart (Args() As String)
srvr.Initialize("srvr")
srvr.Port = 25641
pool.Initialize("com.mysql.jdbc.Driver", "jdbc:mysql://192.168.0.82:25640/attendance?characterEncoding=utf8", _
"root", "")
Log("Testing the database connection")
pool.GetConnection.Close
srvr.Start
Log("Server started")
StartMessageLoop
End Sub
so what next? hope you guys give me a advice and trick to move on this project.