Hi! Thanks. I was actually looking through an oreilly book about NIO. The only problem is how will this break the whole enterprise concept.
Don`t get me wrong, this is okay - thanks; but isn`t there something in the enterprise arena. Having logs in an "enterprise manner" is no new idea. My concern is that this thing will have to evolve and it will simply eat too much time (logging is a feature of the application but not the only one) and I simply don`t have the man power to do it corectly. Anyway, thanks again for the tip. DS> On Monday, March 24, 2003, at 09:49 AM, costin wrote: >> I was thinking of wrapping the logging procedure into an transaction >> but I don`t really know how the flushing of the files and all that is >> handled by the virtual machine(some form of caching can prevent any >> move I make). DS> The only way to get close to a guaranteed flush is to use NIO. If you DS> want it to be efficient and reliable you will have to use NIO. I DS> suggest you take a look at java.nio.MappedByteBuffer. DS> -dain DS> ------------------------------------------------------- DS> This sf.net email is sponsored by:ThinkGeek DS> Welcome to geek heaven. DS> http://thinkgeek.com/sf DS> _______________________________________________ DS> JBoss-user mailing list DS> [EMAIL PROTECTED] DS> https://lists.sourceforge.net/lists/listinfo/jboss-user -- Thanks, costin mailto:[EMAIL PROTECTED] ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
