views:

44

answers:

2

Is there anything in Java that's the equivalent of WCF Data Services ?

Does Spring have the capabilities to expose databases as a RESTful web service like WCF Data Services ?

Thanks !

A: 

These are two separate capabilities - database access and REST web services - but Spring indeed has both.

You can access databases in Spring using JDBC, Hibernate, TopLink, or iBatis.

You can expose web services as SOAP using Spring web services or RESTful web services using Spring 3.x.

You can put the two together to achieve your stated goal.

duffymo
I know Spring has the capability to do both things separately but i was wondering if there's a tool that does what "WCF Data Services" does.
Rafa
Not that I know of. Java/Spring tend to be less wizard-like.
duffymo
A: 

There is sqlREST but I can't vouch for its stability. Check this article as well.

Bozho
That's really close to what i was looking for although it doesn't have the filtering options that "WCF Data Services" gives you.
Rafa
thanks for the useful answer !
Rafa