1 Reply Latest reply on Jul 10, 2006 8:52 AM by bill.burke

    File Access with ejb's and MBean's

    hoeft

      Hi!

      I must write files in my application. I read that file access in ejb's is forbidden, so i wrote a MBean which writes the files if it's methods are called. This methods are called by my ejb's. Is that allowed? If not, what can I do to write files?

      Thanks
      Meinert

        • 1. Re: File Access with ejb's and MBean's
          bill.burke

          IMO, the idea that EJBs can't access files, do general I/O, or even threading, is *REALLY* silly. If you are an advanced developer there's no reason you need to be treated with kid gloves.

          But, if you want to be an orthodox spec fanatic, then what you're doing is fine.