Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dozer customization, Mandatory...

 
Mukund Desai
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi all,

I have an application where the mapped objects are used in different places based on the requirement. In some of the screens, few properties are being accessed and in other screen some other properties of the same object.

eg,
User Profile Screen requires many properties where as
Shipping Detail Screen requires only user's shipping details,

So as not to make mapped object heavy with all data, so the application, how could I customize the Dozer to meet the desirable.

 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Mukund,

From what i could understand , why do you want to customize Dozer , change the design to modularize mapped objects in different beans..

 
Mukund Desai
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Balu,

As of now the application is written so that it has modularized objects.
Maintaining the each clones, whenever there is an updation is really painfull.
I feel updating at one place willbe much easier whenever necessory.
User Profile is one of the simplest screen, we are having much more complex screens all together,

Is it that difficult to customize Dozer...??
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mukund ,
I would suggest to see other alternatives before customizing dozer . Split you mapping xml to support each module..initialize objects as and when required..

Also questions in the dozer forum would yeild better responses

Is it that difficult to customize Dozer...??
may be depending on your understanding on dozer.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic