I'm aware that it's 'Illegal' to access the filesystem through EJBs (File I/O)! But my doubt is, is this NOT possible (throws exception) or does it simply reduces portability?
Is it possible to write to an XML file from an ejbStore() method?
Thanks in advance, koluwa
Using the IO package is 'legal' but affects portability across EJB 2.0 compliant containers. As regards XML, yes, you can use xml libraries (like DOM) in your ejb methods (it doesn't have to be a specific one). The reason is that DOM and (SAX??) are contained in the JAXP API, which is a guaranteed API for EJB 2.0 compliant servers.