I have an MDB with a method annotated as @Postconstruct. It was being executed OK.
Today I needed to create an ejb-jar.xml file to configure an <activation-config-property> at build time (as I can't figure out how to configure an @ActivationConfigProperty at deploy time - see this question).
After creating the ejb-jar.xml the container is no longer calling the @Postconstruct method.
What is the ejb-jar.xml equivalent of @Postconstruct? EDIT: Or is it possible to merge annotations with XML config?
I am using WebSphere 7.