1 Reply Latest reply on Dec 2, 2009 8:43 PM by 843793

    Generating bean translaters via annotation


      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.