I have a quick question for you gurus out there.

I would like to have a client thread that would sleep for certain period of time, wake up and perform an ejb.remove(). I am planning on doing an entity(in memory ejb) for this purpose, and in order to manage the cache, i need a thread's help.

Do you guys see any problem with my doing this? Would this interfere with Container's internal threading which I dont want to mess up with.

Thanks a bunch!