Can anyone advise me on a way if possible to write an xml output file from within an EJB session bean.
- Posted by: Gary Cannell
- Posted on: June 20 2005 13:52 EDT
Requirement: I’m performing an Oracle 10g database query that returns an XML resultset that I want to write to a file, As normal file I/O is forbidden in the EJB spec
I find myself scratching for a solution, I’ve considered using a resource provider but as the I want to be able to specify the output file name programmatically I’m not sure that will work.
Any assistance appreciated.
User producer -consumer model to feed the ml data to the pure java class and let the Pure Java class do the IO in different thread outside of ejb tier.