I only want my swing application to run on LAN. For e.g
I have 2 computers connected through LAN. I want to send something to 2nd computer and second in turn replies back.
Kind of client server in which one sends other responds.......
I think RMI is easier to work with than sockets because you don't have to deal with all the low-level details of sockets and protocols.
The RMI tutorial is here.
I think RMI is easier to work with than sockets because you don't have to deal with all the low-level details of sockets and protocols.
The RMI tutorial is here.
Thank you Joe.
Please give me one suggestion
Suppose I have 2 set of codes--one is Socket based other is in JSP.
In my college there is a LAN.Every single computer is connected through it.
I want:-
A person on 3rd floor (Client- i.e. Socket) to have access to database on ground floor(Server-i.e ServerSocket).Is it possible ?
Server does not know the IP address of the Client in this case. please tell
Other thing is:
I want my JSP code to be visible to every computer in LAN.How to do that???
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35223
7
posted
0
Having a JSP implies that there's an HTTP server (with a servlet container) running - in a normal environment that would be visible on the LAN under the IP address of the machine running the server without anything special needing to be done; is it not?
Jatin sachdev wrote:[.
I want:-
A person on 3rd floor (Client- i.e. Socket) to have access to database on ground floor(Server-i.e ServerSocket).Is it possible ?
Server does not know the IP address of the Client in this case. please tell
The details of connecting two comptuers via a network have little to do with the physical location of the server. If they are on the same network (as you indicate) you should be able to connect.
Sockets are persistent two-way connections, so the server does not have to know the IP address of the client.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: want to run my swing application on local area network?