We are using jersey rest service and exposed a service, the service taking long time for a record of ( around 5 MB ) to get from service . To figure out where is the performance bottleneck I want to know how much time it is taking when converting java object to JSON object. Is there any tool ?
UI ---------- REST ----------- EJB ------------- DB
UI---------35 SEC--------------EJB|---- 6Sec-----DB