This a question about Java Servlets, it's nothing to do with GWT. You should probably ask on StackOverflow or other kind of generic Q&A site or forum.
On Wednesday, September 4, 2013 11:08:49 PM UTC+2, new_newbie wrote:
-- The main differences are:
- ServletContextListenerer has a contextDestroyed in which you can teardown the resources setup in contextInitialized
- A webapp can theoretically be restarted within the same classloader, where contextInitialized will be called again, but not the static initializer.
You should generally prefer a ServletContextListener.
On Wednesday, September 4, 2013 11:08:49 PM UTC+2, new_newbie wrote:
Hi all,Both ServletContextEventHandler and static block have high startup priority. In usage, what is the difference? What should be put in the SC event handler and the static block?Thanks
Ming
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment