I have a project which will be made up mostly of Java Servlets, JSP/Html pages, and some regular javascript. However, there are some screens which will be too complex to do in just javascript, so I will want to use GWT for that.
Is it possible to do this, so there are multiple EntryPoint
classes in the same project? Then, depending on which page is being loaded I will load the appropriate javascript file?
I was thinking that perhaps, the RootPanel.get()
function will be used to check if certain <div>s
with a given ID exist. For example, if the signup div exists, load the sign up GWT control, if 'search' div exists then load Search, but this will make the javascript file very large unnessarily. I'd much rather each component be in its own javascript file.
Is that possible?