Hello,
I am a newbie in EJB. I have a MDB related question where I have to add some funtionality to an existing application which process a XML input file using the JAXB API. Currently, the input xml file contains with the header information a single record content. The MDB starts with other class methods to parse this XML object. Now, I have to add the funtionality to process a xml file with the header will have multiple records. Wondering if I could parse this new XML input in the format applicable for the existing JAXB generated classes that gets called within the existing MDB's method? Also, like to understand what would be the best way to have some sort of parallel processing of these split XML messages? I guess implementing any sort of multithreading mechanism in EJB could be a no no. Or the MDB itself would take care of this? By the way, I am using JDK 1.3, EJB 2.0.
Thanking you all!
I am a newbie in EJB. I have a MDB related question where I have to add some funtionality to an existing application which process a XML input file using the JAXB API. Currently, the input xml file contains with the header information a single record content. The MDB starts with other class methods to parse this XML object. Now, I have to add the funtionality to process a xml file with the header will have multiple records. Wondering if I could parse this new XML input in the format applicable for the existing JAXB generated classes that gets called within the existing MDB's method? Also, like to understand what would be the best way to have some sort of parallel processing of these split XML messages? I guess implementing any sort of multithreading mechanism in EJB could be a no no. Or the MDB itself would take care of this? By the way, I am using JDK 1.3, EJB 2.0.
Thanking you all!