Android Question Rest API vs. jRDC2 Middleware Solution

h725

Active Member
Licensed User
Longtime User
Hello Community,

I have no experience in Android development using Eclipse etc. So please
forgive me if I make any mistake in my description of the problem.

A friend of mine has developed a native Eclipse Android Application
which runs Database Commands like Insert and Update directly from the
device. He updated his solution using a Rest API which had the big advantage
that all insert and update processes are run serverside. The Client (Android)
was much more reliable and faster.

I thought a little bit about it and compared it to the solutions which offered
B4J and B4A. Here the jRDC2 middleware solution is run serverside and gets
the commands from the device.

In my eyes it is a big advantage to have the jRDC2 middleware solution because
all the commands are also run serverside. Would it be even better to use
a REST API (which means more studying and probably rewrite a lot of code)
or do we have an easy and reliable solution with the jRDC2 server yet which
combines easy programming with high reliability and serverside command
execution.

Regards
h725
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Hello,

I would 100% recommend JRDC2 because it's :
1- Faster
2- Reliable
3- Every connection, Transactions is logged real time
4- Secure
5- Really easy to use
6- You could use the same JRDC2 project in B4A/B4J
7- Server side commands

Edited : Example on how to use it :

Thank you,
Saif
 
Last edited:
Upvote 0

josejad

Expert
Licensed User
Longtime User
Hi @sfsameer . I think the example you've linked is not the right one.
 
Upvote 0

josejad

Expert
Licensed User
Longtime User
I think you've posted the example to jdbcSQL for connecting directly to a database instead the jRDC2 example.

 
Upvote 0

sfsameer

Well-Known Member
Licensed User
Longtime User
You are correct, i have edited the post, thank you
 
Upvote 0

dw_b4x

Member
Question ... I am looking a utilizing jRDC2. I am a new user.
You state 'transactions are logged in real time' is there a log that can be viewed to see what has been passed to the server ??
 
Upvote 0

sfsameer

Well-Known Member
Licensed User
Longtime User
Question ... I am looking a utilizing jRDC2. I am a new user.
You state 'transactions are logged in real time' is there a log that can be viewed to see what has been passed to the server ??
Hello,

Yes, every connection/command execution is made on the jRDC2 is logged.

Thank you,
Saif
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…