A bit off-topic, as non-Wicket specific, but I'm stuck for ideas at
the moment...

I've got a simple servlet that gets requests and queues them for
later asynch processing by a number of 'background' threads.

The data's only a pair of short strings in each item, so I'm currently
using an in-memory FIFO queue decorated by the Commons-Collections
BufferUtils.blockingBuffer().

Now, however, I need to have the queue persist over a JVM restart &
maybe also to cap it's in-memory size.  I've not been able to come up
with anything that seems ideal, so I wondered if anyone had any
suggestions.  Has to run on JDK 1.4, by the way.

Current options:
  - DB: e.g. HSQLDB.  Maybe, seems a bit of overkill though
  - ehCache, wrapped somehow:  Maybe, but haven't yet got a good way
  to present a cache as a FIFO queue...
  
/Gwyn


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to