g*****g 发帖数: 34805 | 1 I am working on a simple stateless web service that
can allow a smartphone talking to a server to get certain
information. It's going to do that by post an XML and get
back one.
I think it should be a simple Restful service, what's
the state-of-art on this? What framework/api I should
leverage? I used to do SOAP only, I don't want to reinvent
the wheel to parse XML etc. |
g*****g 发帖数: 34805 | 2 CXF looks like a good candidate, any one has comment?
【在 g*****g 的大作中提到】 : I am working on a simple stateless web service that : can allow a smartphone talking to a server to get certain : information. It's going to do that by post an XML and get : back one. : I think it should be a simple Restful service, what's : the state-of-art on this? What framework/api I should : leverage? I used to do SOAP only, I don't want to reinvent : the wheel to parse XML etc.
|
b******y 发帖数: 1684 | 3 used restlet, i think it's not bad, but i didn't compare...
【在 g*****g 的大作中提到】 : CXF looks like a good candidate, any one has comment?
|
t*******e 发帖数: 684 | 4 Try jersey from java.net |
a****i 发帖数: 1182 | 5 xstream and jersey (or any JAX-RS) should be fine
【在 g*****g 的大作中提到】 : I am working on a simple stateless web service that : can allow a smartphone talking to a server to get certain : information. It's going to do that by post an XML and get : back one. : I think it should be a simple Restful service, what's : the state-of-art on this? What framework/api I should : leverage? I used to do SOAP only, I don't want to reinvent : the wheel to parse XML etc.
|
g*****g 发帖数: 34805 | 6 Why kind of licensing is CDDL that jersey uses?
Can I use it for commercial code without releasing source?
【在 a****i 的大作中提到】 : xstream and jersey (or any JAX-RS) should be fine
|
m******t 发帖数: 2416 | 7
Should be fine, seeing that it's based on mpl. FSF says you
can't link a cddl module with a gpl one though, might
want to be careful with that.
This whole licensing mess is really getting annoying by now,
isn't it?
【在 g*****g 的大作中提到】 : Why kind of licensing is CDDL that jersey uses? : Can I use it for commercial code without releasing source?
|