aspose file tools*
The moose likes Distributed Java and the fly likes How can i develop a GUI for a Java RMI application and What concepts i should learn? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "How can i develop a GUI for a Java RMI application and What concepts i should learn? " Watch "How can i develop a GUI for a Java RMI application and What concepts i should learn? " New topic
Author

How can i develop a GUI for a Java RMI application and What concepts i should learn?

Guru Vuyyur
Greenhorn

Joined: Oct 08, 2013
Posts: 5
I am planning to develop a project in Java Rmi for my distributed Computing class, So I have gone through the concepts of Java RMI in various books( Java RMI by William grosso, Distributed computing concepts and design chapter 4 & 5 on RMI, Java how to program by dietel chapter 20 on RMI). I got a clear idea of how to develop a Java RMI application, But in all the books I studied, they do not mention about how to link a java RMI application to a GUI,

The user needs a GUI to enter values and perform an action, and these values are taken by client and pass these to the server and server performs the action requested by client and returns answer to the client. The client displays it to user through GUI ,Then the user able to see the result visually.

MY question is
How can I create a GUI and connect it to the client program? What concepts I need to study to develop a GUI for a user to perform client-server interaction in RMI?
can I use HTML to collect information from clients as we do in servlets and send them to server in RMI or is there other standard way to do so?

thanks,
guru
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41835
    
  63
UIs are entirely separate from networking code (like RMI), so I'm a bit lost to understand where you see the relationship between the two. You would create a Swing GUI like you would for any other Java client-side app. It doesn't matter that the app uses RMI underneath.

As to HTML - that implies a browser UI. But RMI implies Java on both client and server- that rules out HTML. If you want a Java client, then Swing is the GUI toolkit you would use.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can i develop a GUI for a Java RMI application and What concepts i should learn?