java - Generating instantiation code from in-memory model -


does know quick way reverse-engineer in-memory object graph in java? need way traverse in-memory object graph , create java instantiation/setter calls re-create original graph.

that's needed tool integration project half-baked web services developed ivory tower architects. ended getting massive xsd doc , bunch of sample xml instances confirming it... need bridge somehow our domain code...

here sequence diagram of how might like. need add check if user exists in remote service. problem call large 500+ lines of code generate request. trying find way automate instantiation.

add user integration flow

thanks in advance.

after searching through bunch of different utils (commons, pojobuilder, quick-baked recursive translations), ended back-tracing origins , creating velocity templates generating messages , relying onto jxpath quick retrieval of values generated model...

as nakosspy pointed out (many taking @ post!), doesn't relate reverse-engineering object graph, although seems me getting though implementation.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -