Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Best network protcols for Java App Client through firewall

 
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of server is it?
I would consider SOAP i.e. XML over HTTP/HTTPS, basically
 
ruilin yang
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Say J2EE server application Intranet/internet.
Thanks,
Ruilin
 
ruilin yang
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about the equivalent of Soap in Java ? XML-RPC ?
PLease comments
Thanks
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Peter,
Thanks. That is great information.
Regards,
Ruilin
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!