Answer to Question #5001 in Java | JSP | JSF for Maya
I have project in crptography course
my idea is that how I do password cracker to mobile by computer ,but the problem how I connect mobile with computer
Does it look like client and cerver (client = mobile / cerver = computer)? so,, I will use client , server Java code
There are two approaches to make client-server connections.
The first one is Socket approach. Computer should be the client (which makes computations), and mobile device should be the server. Be attentive, server should be already running when client tries to connect. As client connects to the server, server sends the data to be computed. After the computations, the result should be sent to the server.
The second one is RMI (Remote Method Invocation) approach. Computer should be the server and make the computations, and mobile device should be the client.
The second approach could be simpler, 'cause the server should have static IP (it's not always possible for mobile devices).