File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Sockets and Internet Protocols and the fly likes Best network protcols for Java App Client through firewall Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Reply Bookmark "Best network protcols for Java App Client through firewall" Watch "Best network protcols for Java App Client through firewall" New topic
Author

Best network protcols for Java App Client through firewall

ruilin yang
Ranch Hand

Joined: Feb 25, 2001
Posts: 334
What are best network protcols to use for an java application client (e.g. swing, etc. ) to communicate to a remote server through a firewall ?
Practically, I am thinking to use (xml through https/http). Is this is the xml-rpc ?
We can do rmi tunneling. However, It is not as good as xml-rpc ?
Please clarify for me.
Thanks
Ruilin
Jim Bertorelli
Ranch Hand

Joined: Nov 28, 2001
Posts: 136
What kind of server is it?
I would consider SOAP i.e. XML over HTTP/HTTPS, basically
ruilin yang
Ranch Hand

Joined: Feb 25, 2001
Posts: 334
Say J2EE server application Intranet/internet.
Thanks,
Ruilin
ruilin yang
Ranch Hand

Joined: Feb 25, 2001
Posts: 334
How about the equivalent of Soap in Java ? XML-RPC ?
PLease comments
Thanks
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
XML-RPC and Soap are two different protocols. Soap is newer and cooler . Check out the Fall '01 JAX Pack from Sun, which includes the JAXM Soap messaging package. It exposes Soap at a pretty low level, for something more high level you'll have to wait a bit longer for JAX-RPC; it promises to make Soap method calls as easy as RMI method calls. Also have a look at Apache SOAP and Apache Axis.
For an XML-RPC implementation, see for example Apache XML-RPC.
- Peter
[This message has been edited by Peter den Haan (edited December 13, 2001).]
ruilin yang
Ranch Hand

Joined: Feb 25, 2001
Posts: 334
Peter,
Thanks. That is great information.
Regards,
Ruilin
 
 
subject: Best network protcols for Java App Client through firewall
 
Threads others viewed
CRM resource
connecting through NAT firewall
This Weeks Giveaway
Whats best, Remote Object or WebServices
how to implement XML-RPC
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture