It is not clear to me when is a Portlet‘s init method called. Is it called when the container instantiated or when a first request to the portlet comes?
Does it have the same behavior as the Servlet#init?
It is not clear to me when is a Portlet ‘s init method called.
Share
It depends on the container. From the Portlet 2.0 spec: