I don't understand very well what you mean by your question.
If you want to host websites that use java applets inside html pages, then there is no need to config anything in apace.
If you want to host websites with dynamic content produced by java apps (jsp, servlets etc) then you need
tomcat for this. And you have to
configure apache to use tomcat when serving this kind of content.
Regards