i want to make a logger for a J2EE Application, i want to log ervery message (the modules communicate via JMS). As u can imagine i have more than 1 Topic, at the moment i dont know how many topics exaclty i have.
I already have a log-MDB, i say the MDB which topic it has to log and it starts to log that topic.
My problem is now that i have to create for every Topic a MDB (with describtor). So i have to create them dynamlicly.
But how can i find out how many topics i have, and how many i have? And how can i create dynamicly a MDB?