Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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: 42969
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic