13 | 11 | 2010
Main Menu
Affiliates
Who's Online
We have 16 guests online
Alexa
Java Remote Desktop
Java Applications
Written by administrator   
Sunday, 04 May 2008 08:37
Article Index
Java Remote Desktop
Image Server
Image Updater
Event Server
Remote Proxy
Remote Proxy Continued
The Adaptor
Tray Icon
All Pages

Rating 3.2/5 (29 votes)

In this article I am going to walk through the development of a remote desktop application in java. We will be using various concepts in java like Networking, Dynamic Proxy, Threads, Remote Proxy, Robot API and Tray Icon.

Architecture

Java Remote Desktop application consists of two main components


1) Remote Desktop Server – This component will be running on the machine that is to be controlled remotely from another machine. It consists mainly of two parts

a. Image Server - This is a thread that will periodically take screen shots of the desktop and send it to the client over the network.

b. Events Server – This entity will reserve the keyboard and mouse events sent by the client and emulate the same on the server.

2) Remote Desktop Client – This component will be run on a machine from where the user wants to control the remote machine. It also consists of two parts

a. Image Updater- Gets the images of the server’s desktop and displays it to the user.

b. Desktop Events Handler – This entity records the keyboard and mouse actions performed by the user on the displayed image(of the server’s desktop) and send these events to the server.

Thus we can see that the architecture if remote desktop application is quite simple and only consists of transmitting desktop images from the server to the client and transmitting keyboard and mouse events from the client to the server.



Comments
Search
This is cool   |122.167.145.xxx |2008-05-06 09:48:09
This is cool - It really works
suraj  - Does it work through internate ?   |202.79.40.xxx |2008-12-09 07:19:42
I am unable to make it work through internet while for intranet it is working.
java  - not working on the internet   |212.14.233.xxx |2008-12-29 02:44:49
sure it will not work in the internet
because most users on the internet do not
have static IP
Jaywant Gawas  - Location Based Services Using Java ,J2ME,ASP.Net,P     |59.163.77.xxx |2009-05-19 08:33:37

-------------------------------------
Using Python Code you can
extract the CellID.And According to that cellID you can provide
services such as near by hotel & resturant,cinema Hall,hospital etc.
You reqired one static IP which act as your server IP. You can stroe all
your data into server. You make GUI for your mobile using J2ME, and
according to your service selection data fetch from server to your
mobile.
Use SOAP,XML for data sending over the network.
One
Location may have two,three CellID so you have to handle
it properly. 
---------------------------------------
AbdAllah  - Thanks   |213.6.195.xxx |2009-06-01 12:23:22
it was so useful to me.

i am trying to handle aproject on remote access of
usb devices and this tuturial was so useful

thanks alot
Tushar  - Remote desktop   |59.178.192.xxx |2009-07-03 09:23:41
Hello
I am new to Java.
I am making a project between client server data
sharing.
I just wanted help in source code to view the desktop of remote
computer within the network.
Tushar   |59.178.192.xxx |2009-07-03 09:24:45
Hello
I am new to Java.
I am making a project between client server
data
sharing.
I just wanted help in source code in core java to view the
desktop of remote
computer within the network
Mahbub  - Intelligent work!   |195.229.236.xxx |2009-08-03 12:41:29
It was really very useful.The author is being encouraged & inspired to continue
such innovative works.
mayureshk   |122.167.88.xxx |2009-10-24 13:00:30
I am New to Java
i Needed Assistance in executing the following code
i would be
glad if u explain the step by step process of executing or implementing the
Above code !
Only registered users can write comments!

3.22 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."

Last Updated ( Thursday, 22 May 2008 03:56 )