Forums Register Login

Using dozer for copying java objects

+Pie Number of slices to send: Send
Hi All,
I am new to dozer framework. I want to copy some objects to a Map using dozer.
For instance Belwo is the example scenario which reflects my requirement.
public void createUser(String userId,String password,String firstname)
{
Map<String,String> userMap=new HashMap<String,String>();
userMap.put("LoginId",userId);
userMap.put("password",password);
userMap.put("FirstName",firstName);
createUSerInApp(userMap);
}
I want to automatically copy the required properties like userId,password,firstname into userMap using dozer.
Can any one give any suggestions.
Thanks,
Narendra
Climb the rope! CLIMB THE ROPE! You too tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 936 times.
Similar Threads
DisplayTag Probelm.
Java Web Services 2
MultiActionController show form data in JSP
Thread safety in spring web application
unable to pass value of resultset to servlet to jsp
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 04:33:24.