473,326 Members | 2,126 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,326 software developers and data experts.

communication between applet in user machine with application in server

Hi to everybody, due to I want to use the serial port of a server
machine through an applet allocated in html document.
Then one application will run in the server machine and using
the serial port. The other application that will be called in the html
document that it'll allocate the frame with the user interfaz and
it'll manage the events (applet).

But I have any questions. I suppose the server application will be
running using the java command (java MyServerApp.class), where can I
look for information about communication between a server application
and the user applet.

Thanks in advance.


P.D. Sorry for the reiteration, but in this case I've changed the
subject in order to keep the coherence.
Jul 17 '05 #1
3 5321
still waiting...
Hi to everybody, due to I want to use the serial port of a server
machine through an applet allocated in html document.
Then one application will run in the server machine and using
the serial port. The other application that will be called in the html
document that it'll allocate the frame with the user interfaz and
it'll manage the events (applet).

But I have any questions. I suppose the server application will be
running using the java command (java MyServerApp.class), where can I
look for information about communication between a server application
and the user applet.

Thanks in advance.


P.D. Sorry for the reiteration, but in this case I've changed the
subject in order to keep the coherence.

Jul 17 '05 #2

still waiting...

Hi to everybody, due to I want to use the serial port of a server
machine through an applet allocated in html document.
Then one application will run in the server machine and using
the serial port. The other application that will be called in the html
document that it'll allocate the frame with the user interfaz and
it'll manage the events (applet).

But I have any questions. I suppose the server application will be
running using the java command (java MyServerApp.class), where can I
look for information about communication between a server application
and the user applet.

Thanks in advance.
P.D. Sorry for the reiteration, but in this case I've changed the
subject in order to keep the coherence.
Jul 17 '05 #3

"Sebas" <se****@terra.es> wrote in message
news:ka***********************@telenews.teleline.e s...

I actually *did* answer your original query, and posted a very detailed
outline on how you could approach this task. It was posted on the 11th
November - do a Google search, if necessary, to find it.

still waiting...

Well, you shouldn't be 'still waiting', not if you read my original
response to your query and started to put some of the suggestions to use.
You should, instead, be busy trying to solve your problem.

Hi to everybody, due to I want to use the serial port of
a server machine through an applet allocated in html
document.

Then one application will run in the server machine and
using the serial port. The other application that will be called
in the html document that it'll allocate the frame with the user
interfaz and it'll manage the events (applet).

But I have any questions. I suppose the server application
will be running using the java command (java MyServerApp.class),
where can I look for information about communication between
a server application and the user applet.

Now, it sounds as if you already have an fully-working application that
performs all required tasks - access local serial port, etc - but you wish
to convert this into a client / server model.

The problem can be broken down thus:

* There is a server application executing somewhere; its
responsibilities include:

- Communicating with a local [i.e. on the same machine]
serial port

- Communicating with a user of the application [through a
client program - see next entry], and translating requests
or commsnds it receives from the user into actions
like reading or writing data from / to the serial port

* There is a client program, whether this be a Java application,
or a Java applet [or other type of program], that communicates
with the server application:

- Sending requests / commands to the server
- Receiving the data / results of the sent requests / actions

The client program is also, of course, responsible for making
use of the server-fed data as appropriate to the design. So,
for example, if a particular data chunk represents the co-ordinates
of a shape, then it is responsible for extracting that information
and drawing the shape [all this should be quite obvious]

If you have not had previous experience with client / server application
creation, then as a first step I would suggest that you complete the
tutorial at:

http://java.sun.com/docs/books/tutor...ing/index.html

to learn about the basics of client / server structure, and communication.

Probably one of the most important differences between the standalone
program and client / server model is in the need to convert actions [which
would be peformed by a single method call in a standalone program] into
requests which describe what is to be done, packaged along with and the data
needed to carry out such requests.

Little more can be said at this juncture. I suggest simply that you obtained
more knowledge by completing the tutorial, and take steps to design a
solution that meets your needs. You may, of course, feel free to post
queries about any problems you experience.

P.D. Sorry for the reiteration, but in this case I've changed
the subject in order to keep the coherence.


You mean nobody answered your question [after a *few* posts] and you decided
to try again with the *same* query. It's a shame you don't seem to have made
some effort towards solving your problem, and perhaps posted a query
reflecting any of these new findings.

May I suggest reading the following document, and perhaps learning a little
about maximising the likelihood of having a query answered.

http://www.catb.org/~esr/faqs/smart-questions.html

I hope this helps,

Anthony Borla

P.S.

Other Java technolgies [e.g. RMI] may also be used to implement this type of
application; you may wish to consider alternatives
Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: dB | last post by:
I want to load an applet locally from the client's hard drive from an html/jsp page served by Tomcat on the local machine or a remote server. The motivation is that I need to print to the local...
2
by: david | last post by:
Hello all, let's me explains my long problem: I'm doing an intranet with a media part. So im must be able to upload files on a ftp server AND have a record of informations about this file and...
7
by: [Gauthier] | last post by:
Hello, I've a simple question: On a server that run multiple asp.net HttpApplication, is there any way with the asp.net framework to exchange data between different application? I basically...
2
by: iforsyth | last post by:
I have an ASP.NET application where end users essentially can do database inquiries and minor updates. There are times; however, when the end users have slow internet connections or no internet...
1
by: david | last post by:
I have the following question about them and need your help. 1. Can ActiveX control open a socket in client machine to connect to a third machine other than web server? 2. Can ActiveX control...
0
by: news.onet.pl | last post by:
I hava a problem with communication between Java/Corba server based on JDK ORB with Java/Corba client (applet) based on the same ORB. I`m using IOR to localize server. client`s ORB i initialize...
0
by: news.onet.pl | last post by:
I hava a problem with communication between Java/Corba server based on JDK ORB with Java/Corba client (applet) based on the same ORB. I`m using IOR to localize server. client`s ORB i initialize...
0
by: news.onet.pl | last post by:
I hava a problem with communication between Java/Corba server based on JDK ORB with Java/Corba client (applet) based on the same ORB. I`m using IOR to localize server. client`s ORB i initialize...
5
by: AeonOfTime | last post by:
Let's assume a web application (in this case a browser-based game) with a custom HTTP server built on PHP, and a client also built on PHP. The client uses the server to access and change data. Even...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.