This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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: