EJB 3.1 and NIO2: Monitoring the file system

前端 未结 2 943
萌比男神i
萌比男神i 2021-01-25 08:33

I guess most of us agree, that NIO2 is a fine thing to make use of. Presumed you want to monitor some part of the file system for incoming xml - files it is an easy task now. Bu

2条回答
  •  天涯浪人
    2021-01-25 09:33

    Might help if you specified what server you're using, but have you considered implementing a JMX based service ? It's a bit more "neutral" than EJB, is more appropriate for a background service and has fewer restrictions.

提交回复
热议问题