This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hello, Is it against good practice to generate XML documents in EJBs? E.g. I have this kind of situation: 1) Stateless Ejb is called with data parameters by a Servlet. 2) Stateless EJB calls Entity Ejb which fetch data from Database. 3) Based on data read from database, Stateless EJB generates XML document and returns it to Servlet. Is this approach ok, any sample available? br Mik La
I thing my question was not clear enougth. The main problem is that how to read XML files into EJB for parsing (java.io is prohibited in EJBs). That's the main problem. Anyone invented anything to this problem? Thanks,
Originally posted by Don Liu: Hi: Please refer to this thread.