Java RMI: How to have different variables for each client? [duplicate] - java

This question already has answers here:
How to organize RMI Client-Server architecture
(2 answers)
Closed 7 years ago.
I am trying to understand the basics of RMI in Java but I am having difficulties in setting a variable for each client.
What I am trying to do is a calculator with a floating variable for memory, memory that is not shared between clients. How can I do that?

Nevermind, I found a solution.
For those trying to do something similar, look here How to organize RMI Client-Server architecture

Related

Java. How to make a bot [duplicate]

This question already has answers here:
How can a program control another program?
(11 answers)
Closed 8 years ago.
I wonder is possible to make a bot writen in JAVA, which will open some program(program is under windows), click on the button in this program and type some data, check status of this program(login or logout, this is client for online game).
Which JAVA tools I need ? I think that java robot lib is not enough for this.
Thanks in advance.
You cannot do this using JAVA.
JAVA is a language which is loosely coupled with operating systems, so it can only receive mouse/key messages from underlying OS. Among all the tasks you mentioned , it can only start the program by using Runtime.execute.
If you want to implement a software like this ,you should use Visual Studio and use Microsoft technologies.

Can we program a burner software like Nero in JAVA only,... HOW? [duplicate]

This question already has an answer here:
Closed 10 years ago.
Possible Duplicate:
Reading and Writing to a DVD/CD - Java
Is possible to build/code a burner software like Nero in JAVA Only ? ... How do that ?
That's will be great if it's possible !!
Thank you
No. Java does not have direct access to the hardware from pure Java code. You'd have to use native code loaded via JNI calls.

Creating a torrent client in Java? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Java BitTorrent library
I would like to know more about creating a torrent client in java.
I ask this question here because i do not know which direction do i look into to start programming for a torrent client.
I guess i would require a
Socket
Knowledge of the networking torrents use
Could someone point me in the right direction.
The Java Socket API:
http://docs.oracle.com/javase/tutorial/networking/sockets/index.html
The Official BitTorrent Protocol Specification:
http://www.bittorrent.org/beps/bep_0003.html

Java with Delphi 5 [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Using a java class from Delphi
I wrote a program in Delphi 5 years ago and I am now revisiting it. Is it possible to write a class in Java and then use it as a component in the Delphi 5 program? If so what is the best way to approach the problem?
The only way I can think that might work is creating an Applet in java and showing it on a web browser component from Delphi. But I don't know how can you access properties from this applet.

XMPP starter - with java [duplicate]

This question already has answers here:
Closed 12 years ago.
Possible Duplicate:
XMPP starter - with java
Please help me in getting started with XMPP, as I am going to start working on a Java project soon and I will be implementing this protocol. I need to get started soon but I couldn't find many resources online. How do I give input to the server and then receiving the msg back? How do I communicate with the ISB and client-xmpp-xlient? Any other basic suggestions are welcome. Thanks!
Have you looked into the Smack XMPP client API for your project?
http://www.igniterealtime.org/projects/smack/index.jsp

Categories

Resources