Vinod Chandana

Ranch Hand
+ Follow
since Aug 26, 2003
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Vinod Chandana

To the best of my knowledge, string is serializable. I was able to send string using rmi as well as sockets
Regards,
Vinod.
hi,
one way to do it is to use Runtime and give an exec call to
"iexplore YourURL"

Hope this helps.
Vinod.
20 years ago
Theoretically speaking shouldn't be a problem. But I did run into issues while trying to use different versions of JVMs.
- Vinod.
20 years ago

Originally posted by Vinod Chandana:
Just to add what james said. SOAP is not really scalable.
Regards,
Vinod.

20 years ago
Just to add to what james said. SOAP is not really scalable.
Regards,
Vinod.
[ December 11, 2003: Message edited by: Vinod Chandana ]
20 years ago
Hi Krishna Mohan,
I've liked this tutorial. I'd suggest you to go thru this first.
http://java.sun.com/j2se/1.4.2/docs/guide/rmi/spec/rmiTOC.html
This page is kinda good too.
http://www.ccs.neu.edu/home/kenb/com3337/rmi_tut.html
This link was some web test tools. (Ofcourse I've used very few of these :-))
http://www.softwareqatest.com/qatweb1.html
Hope this helps.
Regards,
Vinod.
[ December 11, 2003: Message edited by: Vinod Chandana ]
20 years ago
hi dumukku,
I'm not sure if you can do that. Try doing that over the http port. Also refer to this thread.
https://coderanch.com/t/205417/sockets/java/making-socket-connection-via-proxy
Regards,
Vinod.
P.S: Please change your display name as per the conventions of the group.
There is another way to communicate. You can always send an interrupt to a sleeping or waiting thread and catch the exception and do whatever you want to in the catch block. Hope this helps.
Vinod.
'

Originally posted by eswar kumar:
how do u communicate two threads?

hi,
now lets' say the workgroup is wkgp and the system are sys1 and sys2. I've opened a serversocket on sys1, then how do i connect to sys1 from sys2. I have tried using "new Socket("//sys1", 116)". It gives me unknownhost exception. Ne ideas?
thanks,
vinod.
[ November 20, 2003: Message edited by: Vinod Chandana ]
Hi all,
Did anyone try to use sockets in a home network(which is not connected to ips). If so do let me know.
Thanks,
Vinod
Hi Sandhiya,
Exactly. Smthg like that will work. Remember if a client has to connect to a server using socket then the server should be prepared to accept the socket connection.
Regards,
Vinod.

Originally posted by sandhiya Laghari:
hello Vinod,
thanxs again for ur help.
but mr vinod it shows that every time we need another object of client.

i clear words can i use this code as:
client1= server.accept();
client2=server.accept;
like this..
Thank you

Hi,
Thanks for the reply. I have got this to work on two different windows xp systems. I was also able to get to work on two different unix machines. But the server is on windows machine and client is on unix machine or vice versa, it doesnt work. Currently using it on homogeneous systems.
Thanks,
Vinod.
20 years ago
Hi Sandhiya,
That is becos u r accepting the connection only once. Server must again accept a connection. I'm not sure, if two computers can communicate without one being a server.
Regards,
Vinod.
Try InetAddress.getLocalHost().getHostName() and InetAddress.getLocalHost().getHostAddress(). This will give u both name and the address of the localhost. Hope this helps. If not give me a message.
Vinod.
Hi Sandhiya,
Plz include the code in [CODE][\CODE] so that it includes the formating. Do send the client code too. When u have done that send me a message.
Regards,
Vinod.