I wrote the initial implementation of PyWX (Python interpreter) for AOLserver using a few hours a night for about two weeks. So, I don't think you'll have much trouble embedding Java in the same way. You could look at my code for ideas, although it's quite Python-specific.
A good place to start would probably be any Apache module that embeds a Java interpreter. Then, you only really need to conver the various Apache API calls to the equivalent AOLserver calls. It's surprisingly easy -- AOLserver is an excellent program. It is very easy to extend, and very easy to read/understand.
I would be more than happy to discuss your ideas via e-mail or this web board, and help you with any pitfalls I can remember. This would also be a nice "gift" to the AOLserver community. 😊