This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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: