Lazy Hibernate JPA using SOAP

I have a bunch of annotated interconnected POJOs that I want to create / modify / perform a SOAP search. I made a utility to eagerly download every detail of each POJO and create an XML string so that I can send the entire POJO graph as a search result. Despite the fact that the graphs are very small (less than three nodes), intensive loading takes a very long time (500 ms / node).

It seems that the bottleneck should aim at the full graph of each node. How is it possible just lazy loading on top of SOAP? What other alternatives?

+1
source share
1 answer

SOAP, . : -)

, POJO ( -), , ( , ) SOAP. , Hibernate, , :-) , , "-" , , .

" " API SOAP, - SELF ( )/CHILDREN ( )/FULL ( ), , . (, -, , ).

+1

All Articles