Hi Peter, I use xml file as a rule engine, with a helper class implemented as xml wrapper. My session bean call this xml wrapper class to check the business rules. My session bean doesn't do direct file io, but helper class does. As with my previous email, file io restriction to me is the contract between ejb container and ejbs.
any advise? --- "Peter J. Braswell" <[EMAIL PROTECTED]> wrote: > PiFen, > Most containers don't explicitly prohibit file i/o. > In other words don't > expect to see an exception of any sort should you > happen to open a file to > read or write. Generally, this no-file-io mandate > is more a guideline to > EJB developers rather than a hard specification to > container implementators. > > That being said, be cautious the way you use file io > in EJB's. It may > ultimately be unportable or just plain bad design > depending on how it is > utilized... > > cheers, > peter > > -----Original Message----- > From: A mailing list for Enterprise JavaBeans > development > [mailto:[EMAIL PROTECTED]]On Behalf Of PiFen > Ellwood > Sent: Monday, October 15, 2001 9:14 AM > To: [EMAIL PROTECTED] > Subject: file io restriction question > > > Hi, > > I still don't quite understand how is the file io > restriction works. If I use JDOM to parse an xml > file, > it's doing file io anyway. So how's the restriction > works? > > Thanks for any advices. > > > > ===== > PiFen Ellwood > > __________________________________________________ > Do You Yahoo!? > Make a great connection at Yahoo! Personals. > http://personals.yahoo.com > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] > and include in the body > of the message "signoff EJB-INTEREST". For general > help, send email to > [EMAIL PROTECTED] and include in the body of the > message "help". > > ===== PiFen Ellwood __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
