I started a enterprise application which having web/mobile, android, ios are the clients. So I decided to use Jersey for RESTFull resources and injecting services with Spring IO. But I am stuck at mainly 2 places.
1. To Use DI with Spring. -- If I use jersey 2.7, it can able to produce
json. Here I can not use Spring DI.
2. Produce response for complex objects.-- If I use Jerse-Spring 1.8,
My Objects not converting as json.
- What is the best way to produce json message for complex objects like a Class having collection inside and having persistence/Hibernate annotations.
- What is the best solution for DI, is it Spring DI or EJB 3.0 (I am not much aware of EBJ 3.x)
My DB design is over and many of DAO's tested, but to consume my services I am facing a problem. my recent post is: enter link description here
Any help really appreciated.