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
3 楼
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
4 楼
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
5 楼
Try jersey from java.net
a*i
6 楼
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
7 楼
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
8 楼
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?