Do you mean that the Swing frontend generates the entity classes on the fly - that is when the program is running?
Repacking the entities received by the client in classes that implement Comparable and that have toString methods.
Nicklas Jepsen wrote:
Repacking the entities received by the client in classes that implement Comparable and that have toString methods.
Could you please explain what you mean by repacking the entities?
Do you mean that I should create classes in the frontend app identical to the ones in my backend/web service?
My free books and tutorials: http://www.slideshare.net/krizsan
Nicklas Jepsen wrote:
When i call getAllA() on the webservice, then I would need to iterate throu all EntityA and EntityB an repack them to my RepackedEntityA and RepackedEntityB classes and then have my method in my frontend app to, say, return List<RepackedEntityA> and not just return List<EntityA>?
My free books and tutorials: http://www.slideshare.net/krizsan
If you want to know more about this solution, let me know.
Consider Paul's rocket mass heater. |