473,398 Members | 2,368 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

RMI - Pass data within clients

168 100+
Dear Experts,

I am new to RMI, On my application i having 2 clients and an server.

Frist client gets data from User.
Second client Process the data (which was received by first client)
Result is displayed and First client only (Where input was received)

Server is responsible for passing the input / output data only.

Is it possible to be implemented using RMI ??
Advance Thanks,
Rengaraj.R
Jul 20 '07 #1
3 1669
JosAH
11,448 Expert 8TB
Dear Experts,

I am new to RMI, On my application i having 2 clients and an server.

Frist client gets data from User.
Second client Process the data (which was received by first client)
Result is displayed and First client only (Where input was received)

Server is responsible for passing the input / output data only.

Is it possible to be implemented using RMI ??
Advance Thanks,
Rengaraj.R
Sure, if you can do it in one JVM (all classes in that JVM) you can do it
using RMI and multiple JVMs; just make sure that the data you pass from
class to class implements the Serializable interface.

kind regards,

Jos
Jul 20 '07 #2
rengaraj
168 100+
Sure, if you can do it in one JVM (all classes in that JVM) you can do it
using RMI and multiple JVMs; just make sure that the data you pass from
class to class implements the Serializable interface.

kind regards,

Jos
Thanks Jos,
I haven't tested even on one JVM. I hope my implementing serializable interface we can pass data from one client window to another client window.

If you have any example please give me.
Advance Thanks
Rengaraj.R
Jul 20 '07 #3
JosAH
11,448 Expert 8TB
Thanks Jos,
I haven't tested even on one JVM. I hope my implementing serializable interface we can pass data from one client window to another client window.

If you have any example please give me.
Advance Thanks
Rengaraj.R
Implementing the Serializable interface is easy: it's a "marker" interface so there's
nothing to implement. Read Sun's RMI Tutorial and do the exercise and see how
it all works: the rmic compiler generates stub classes for you and your client
side simply talks to the stub(s). The server side registers itself at a naming
service and that's it. Your actual code stays the same and there you've got your
RMI communication.

kind regards,

Jos
Jul 20 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Jos Yule | last post by:
Hello all. I doing a project which uses Macromedia's Flash program and Python. This is a 'because i want to see if i can do it' kind of thing, so i know that there will be better/easier ways to...
5
by: Andrew Lowe | last post by:
Hi all, First off, I'm new to the Oracle world so please be gentle on me. Now down to the problem at hand. I support a CAD application that has an Oracle backend. I've been on site at my clients...
22
by: Bryan Guilliams | last post by:
I'm trying to come up with an elegant, simple way to compare two consecutive values from the same table. For instance: SELECT TOP 2 datavalues FROM myTable ORDER BY timestamp DESC That...
5
by: Andrew | last post by:
I've got two tables in my DB, a Client table and an Event table. There are many events for each client. The form I designed is based off of the Client table and the subform within it is sourced...
3
by: Asus | last post by:
Hello, I'm new to Web Services. I'm trying to develop a Web Service that retrieves some data out of a database and sends them to the client as a DataSet when a method is invoked. My question...
9
by: mps | last post by:
I want to define a class that has a generic parameter that is itself a generic class. For example, if I have a generic IQueue<Tinterface, and class A wants to make use of a generic class that...
2
by: Bahramm | last post by:
hi friends there are specific client of mine and there is a big database which i have to handle it, every time clients want to connect to this specific database it takes long time, this database is...
4
by: Chris Gilpin | last post by:
Hey everybody. I have two tables. The first table lists all of the client ids of the clients I am interested in analyzing. The second table lists various data from their different visits to the...
12
by: raylopez99 | last post by:
Keywords: scope resolution, passing classes between parent and child forms, parameter constructor method, normal constructor, default constructor, forward reference, sharing classes between forms....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.