I've a problem with the migration of the lifecycle module from GF2 to GF4.
In GF2 my lifecycle module is loaded every time an instance is started and had then access to the env of every instance.
In GF4 it seemed that my lifecycle module is only loaded when the domain is started and has therefore nothing to do with the different instances?
Is there a change in how to use lifecycle module in GF4?
In the app dev doc is a note that these listeners are deprecated.
But what is with the backward compatibility?
Is it or is not longer usable in the same way?
And where is a detailed doc about that new Interface org.glassfish.api.Startup.
The deprecated lifecycle module is in detail in the app dev doc, but not the new Interface?
Can anyone help me?
Thanks in advance
best regards