This discussion is archived
1 Reply Latest reply: Dec 2, 2009 12:43 PM by 843793 RSS

Generating bean translaters via annotation

843793 Newbie
Currently Being Moderated

I have 2 beans. I need to translate one bean into the other. The reason for this is that I want to seperate the data I sent over the network from the actual client bean.
Currently, I currently use a custom ant task for this. But this means that each time a new bean translation needs to be done between two new beans, I need to alter my ant build file. This is not something wi really want.

So I was investigating a different way, and I think annoations would be a good alternative. from what I've read on them. The only problem is, I've never written a custom annotaion before so I have no idea where to start. Any help on this would be appreciated.