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.
This blog entry I wrote
"Properties via Annotation Processing"
contains pointers to the source code for annotation processors that in turn generate sources.