I was actually thinking.. .a System property would be good.. as long as it could be defined somewhere on the configs through some XML. As I said we will probably need some MBean that will define the system property?
If we had such property, we could have both EJB3 and EJB2 reading the same property.