• Post Reply Bookmark Topic Watch Topic
  • New Topic

URLConnection or SOAP

 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Need some advice.

I have a applet communicating with some servlets by sending java objects with URLConnection.

My question is should I use SOAP for this instead or should I continue sending javaobjects over URLConnection?
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, why are you considering changing a functioning system? Does SOAP provide features you can't get with serialization?

It would have the advantage of allowing to use something other than a Java backend. That may or may not be an advantage.
 
Mathias Nilsson
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok thanks!

I'm using hibernate annotations for my dto's and I thought that I just could serialize thoose to the applet but it seems like the hibernate3.jar must be in the applet classpath. So I'm thinking of switching technique.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!