Socket Devlopment

Hi All, I have to develop a Server,and client which would ping from java stored procedure(oracle).For this i had choosen TCP/IP but performence is very very slow.can any one suggest for best option
[211 byte] By [Prasad.Koppulaa] at [2007-11-26 20:45:33]
# 1
How do you mean ping from java stored procedure (oracle)?
n3bul4a at 2007-7-10 2:06:57 > top of Java-index,Core,Core APIs...
# 2
Why do you have to ping?BTW ping is an IP concept, there is no alternative to using TCP/IP.
ejpa at 2007-7-10 2:06:57 > top of Java-index,Core,Core APIs...
# 3

Hi All

pinging means i have to connect to server from java stored procedure.means I bussiness logic should not exposed so i had choosen tcp server for that,and I will communcate that server from java stored procedure.but this type of communication is slower than reqiurement so plz suggest me any another alternative its very urgent

Regards and thanks,

Prasad.Koppula

Prasad.Koppulaa at 2007-7-10 2:06:57 > top of Java-index,Core,Core APIs...
# 4
That's not what 'ping' means.If you have to use the network you don't have much choice but to use TCP. You should look into conserving the TCP connection rather than creating a new one per operation.How much data do you have to send and receive?
ejpa at 2007-7-10 2:06:57 > top of Java-index,Core,Core APIs...
# 5
Maybe you should think about implementing the server with the java nio api.This api has more performance than the older io api.
n3bul4a at 2007-7-10 2:06:57 > top of Java-index,Core,Core APIs...