I have a bunch of annotated, interrelated POJOs that I want to create/modify/search over SOAP. I made a utility to eagerly load every detail of each POJO and create an XML string so I can send the entire POJO graph as a search result. Even though the graphs are very small (less than three nodes), the eager loading took a very long time (500ms/node).
It seems like the bottleneck is having to eager the entire graph of each node. Is it somehow possible to just lazy load over SOAP? What are some other alternatives?