Yes, true.Think this will then bundle the jdbc driver for use on Linux Server too.
Thanks Jose for your reply, Have gone through the steps but still am confused, while tryng out the example on implementing jRDC2 on my test project. Am not able to interpret this part below;
Thanks Erel, for DBRequestManager class am okay with it, I have already added it through B4A interface on my project. What is confusing me is the jRDC2 folder when it comes to linux ubuntu server that hosts MySQL DB.jRDC2 is a B4J program. DBRequestManager class is added to the client project (B4A in your case).
What is confusing me is the jRDC2 folder when it comes to linux ubuntu server that hosts MySQL DB.
"Server configuration" here means the B4J app, the jRDC2 server (it will be a .jar when it be compiled). Not the server which is goint to run it (maybe a windows server, an ubuntu server, etc... )Server configuration
Thats good guidance, am able to run the jRDC server and localhost shows RemoteServer is running (10/05/2021 09:44:41) . Does it mean that when I compile the jRDC jar file, it will also package the jdbc drivers for mysql or i will have to install the jdbc drivers on the production server?"Server configuration" here means the B4J app, the jRDC2 server (it will be a .jar when it be compiled). Not the server which is goint to run it (maybe a windows server, an ubuntu server, etc... )
In this case, just copy the .jar to the server and run it, following the instructions in the post DonManfred and I have posted. Regarding the folder...
Where should I put an executable jar?
Executable files (built programs and shell scripts) normally go in /bin or /usr/bin but what about a jar file? It is a 'program' making me think it should go in bin, but on the other hand it requi...askubuntu.com
you have to add them to the server too. They are not part of your jar-file.
I think if we add them on the server such as Linux, it may cause path to file errors as I have tested running the jRDC2 with wrong jdbc driver reference(#AdditionalJar: mysql-connector-java-7.1.27-bin) and the jRDC2 server generates an error showing no file on C:\Program Files\Java\jdk1.8.0_171\bin\javac.exe which is a windows path. When installed on Linux the path will definitely change.you have to add them to the server too. They are not part of your jar-file.
One need to addHummm, not sure if this is right. I just copy my .jar file, I don't remember having to add the jdbc drivers to my server.
#MergeLibraries: true
You're right.In this case the additional jars are included in the jar.
oooh Thanks Don, have checked my jRDC2 B4J file, it has #MergeLibraries: True. Think this will then bundle the jdbc driver for use on Linux Server too.One need to add
to the project. In this case the additional jars are included in the jar.B4X:#MergeLibraries: true
This is not the default i guess.
Yes, true.Think this will then bundle the jdbc driver for use on Linux Server too.