Replace Java / spring based Web Services
I am looking for alternatives for my team to create simple rest services that respond to multiple clients in JSON format So far, these services have been developed using hibernate on spring MVC It is necessary to connect and use the old database (sqlserver, DB2 and MySQL – depending on the project) Now I'm looking for alternatives to make service development easier Don't get me wrong: spring is doing well, but unfortunately everyone in our team is not familiar with spring or even hibernate Add to this: in most cases, you don't even need a full spring stack It also helps get rid of the JVM
I'm thinking about a script like solution Maybe PHP? Is there anything like ORM that can run on a legacy database system? So is ruby on rails
Maybe there are some things I haven't heard of or haven't heard of now I'd like to hear your opinion or experience with other technologies
to greet
Solution
Jax - RS is a very good way to rest a lightweight JVM Some plug-ins can convert JAXB annotated objects into JSON, or you can do it yourself in a variety of ways
Eclipse link is a good implementation of JPA specification This is a very simple way to map objects to the database through annotations Jax - RS uses it by default. For example, you can use JPA to find an object You can then annotate it using JAXB and return it directly from the web service method (if you need XML), and it will work There is also a Jersey (jax-rs reference implementation) plug-in that allows you to serialize things into JSON in this way
These Jax - RS, JPA, and JAXB are three very good APIs They won't do anything, but they are lightweight and can help you get the real job done without fuss