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.