It's not "Java Web", it's Java EE .
What do you mean by "recharge"? An application when it is running is because .war is deployed on the application server. There is no action for the term "recharge".
If you mean redeploy (redeployment in English) from the same application, the answer is no. To deploy an application you must first build it (build), either with the IDE or with Maven / Gradle to generate the war and deploy it to the server.
Update
Well, you mean dynamic reload of GlassFish. Well, this feature is useful when you modify the code or the configuration files of your application, do not do a full redeployment, but GlassFish copies the .class of the modified classes or the modified configuration files within the deployment
directory % of said module (see information here ). On whether you can do it from your application, I do not think it is possible if glassfish does not provide you with an API to access the server at run time.