i am deploying an war file (consists of jpa and servlet stuff) on glassfish (the most recent one)
I wanna insert/check some data right after i deploy my war file via JPA.
What/Which class to override what/which method?
I am currently overriding servlet's init method. It is only called when I request that servlet from my browser. I want it to be invoked when the war is deployed right after. Injections has to be gone through in all servlets