This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I'm wanting to leverage MTOM in writing a service with 'java code first' jaxb annotations to deploy to jaxws jbosswsnative on jboss. I understand putting annotations on a 'Single' DataHandler parameter or member variabe as in
I'm hoping to have other operations that use ArrayList as input and output but haven't found examples online for recommendations on how to use jaxb annotations wtih DataHandler(s?) to accomplish this. Would it be advised to put a DataHandler inside an ArrayList as in:
To annotate a pojo to be used as a return type for a service operation -- could I use an ArrayList to store an ArrayList of images: