资 源 简 介
Welcome to the pojo-injector
Pojo-injector (pin for friends) makes the job of populating POJOs from Java objects (models) and getting them back again a little bit easier!
I"ve started pin because I need to build POJOs trees from very large and complex data models.
A typical scenario arises from the "GWT/RPC AsyncCallback" mechanism, when you need to send to the client complex data structures (not just String or a primitive data!). In fact GWT needs to know all your Java classes to translate into JavaScript! Usually you put them into a "shared" folder, but if you deal with large models then you seriously risk to move a lot of things into that package!
But GWT is not the only case: whenever you you need to serialize/deserialize your objects, probably you need to use POJOs.
POJOs are simple and effective solutions; they are completely decoupled from your usual objects & interfaces hierarchies; s