I'm currently trying to get comfortable with multi tier applications (Server / Client Architecture). For that I created Service Interfaces and the associated Service Implementations.
Both modules - the Client and the Server - knowing the Interfaces (included via build path).
The purpose of the application is that the client can receive data from the server and also send data to the server where it become stored into a database.
It seems so that I need a communication into both directions. Is the "standard" Java RMI the correct approach for that or do I need to use a JMS implementation like ActiveMQ?
I can't see the main difference between the two approaches? Is the only one that RMI is synchronous and JMS asynchronous or is there more than that?
Futhermore, can you recommend an ActiveMQ tutorial or even book?