rmi Questions
2
Solved
when studying RMI sometimes (head first Java) dudes use
Naming.rebind(name, object)
but other peoples on the web (oracle) use
Registry registry = LocateRegistry.getRegistry();
registry.rebin...
3
Solved
I'm now using LocateRegistry.createRegistry(1099) rathern than using the registry in a external process. However the registry dies after the main program ends. For instance, if I make a simple prog...
2
There is RMI, which I understand to be relatively fragile, direct Socket connections, which is rather low level, and Strings, which while about as solid as it gets seems to be the metaphorical PHP....
Dowski asked 2/10, 2011 at 23:13
2
Solved
For a school project, we're supposed to create a multiplayer game in Java (it should be client/server) which can be played over the internet (we're programming this at school, so it's not homework)...
Carnage asked 28/9, 2011 at 17:2
3
Solved
I'm gathering some data about the difference in performance between a JVM method call and a remote method call using a binary protocol (in other words, not SOAP). I am developing a framework in whi...
Galaxy asked 24/9, 2011 at 12:18
3
Solved
I have the following RMI server code:
public class ServerProgram {
public ServerProgram() {
try {
LocateRegistry.createRegistry(1097);
Calculator c = new CalculatorImpl();
String name = "rmi:...
2
Solved
Hello everyone,
I have been banging my head really hard trying to solve this problem. I really appreciate if anyone can please have a look at my problem and help me.
I have multiple clients that ...
3
I'm doing my first steps with RMI, and I have a simple question.
I have a .jar file which has the implementation of several methods from a library.
I want to call this methods in the .jar file usi...
1
Solved
I'm wondering can both the
UnicastRemoteObject.exportObject(Remote,portNo) & LocateRegistry.createRegistry(portNo);
porNo be the same?
I test it works but I'm worrid if there is any compl...
3
Solved
Java RMI -Remote Method Invocation- is Java to Java only.
On the Scala website I read that the integration with Java is seamless and that:
Scala programs run on the Java VM, are byte code compa...
Ashjian asked 20/7, 2011 at 14:48
3
We are developing a service for our portal / web client developed using JSF . My advice was to expose the service as REST but another team member said to go with RMI implementation since its easier...
2
How can I change the default RMI port (1099). It could be as JVM parameter or via coding, it doesn´t matter. Thanks.
1
In an RMI program, I want to implement the Serializable interface to serialize objects received from a server. Does Java 6 use a built-in serialization format? I wanted to know if there is a specif...
4
I'm studying the book "Distributed Systems" (by Tanenbaum & Van Steen) and they say something that seems to conflict to what seems to be instead thought by many on Java RMI and synchronized met...
Hamrnand asked 17/8, 2010 at 21:49
1
Solved
I'm having a problem restarting my RMI registry after it has been stopped:
import java.rmi.*;
import java.rmi.registry.*;
import java.rmi.server.UnicastRemoteObject;
import javax.swing.JOptionPane...
1
I've setup RMI + SSL. This works great. But it doesn't seem possible to slip compression in between RMI and SSL. So that the RMI requests are compressed before they're sent over SSL.
I've seen som...
Paragraph asked 3/3, 2010 at 19:39
5
Solved
At the moment I am using RMI or hessian library to communicate between my server and clients (via a LinkedBlockingQueue). Now I read about JMS which could be used in this area too. Is this correct?...
2
i am running an third party RMI-Server app providing exactly one method ("getImage()" returns an image as byte[]). The implementation of this method (getting the image via a SOAP-WS) is provide by ...
Myxomycete asked 8/3, 2011 at 13:24
4
I actually have two questions about Java RMI and thread synchronization:
1) If I implement my RMI remote methods as synchronized, are they guaranteed to be mutually exclusive? I need to make sure ...
Vaientina asked 16/2, 2010 at 19:55
4
Solved
I need a framework to transfer POJOs between two (or more in a client/server model) Java programs over TCP/IP. I need it to be as simple as possible but it must support several clients per server, ...
Metalinguistics asked 4/5, 2011 at 8:22
2
Solved
I know that JRMP opens a new socket for every invocation request.
Also that IIOP can share a single opened socket for multiple requests.
As stated by Wikipedia:
Usage of the term RMI may denote...
3
Solved
what is the difference between socket programming, rmi and Servlets. When to use what?
1
Solved
I am reading some RMI document and all the books say that we need to create Stub for the client in order to communicate with the server.
However, I have tried to not create stub and things worked l...
1
Solved
I've implemented in app billing in an app, and now I want to secure it a little more.
Reading the developer material it states:
In addition to running an obfuscation program, we recommend that you...
Lorgnon asked 30/3, 2011 at 21:8
3
I've followed the instructions in the following link to create my own RMI registry and jmx server on a single port inside tomcat. According to the comments, I need to set -Djava.rmi.server.hostname...
© 2022 - 2024 — McMap. All rights reserved.