Sorry in advance for the long post, but the problem I encountered here is very important to me, so here we go ...
I have an Eclipse GWT (2.0) web application that uses GAE and transacts with its data warehouse. On the other hand, I would like to make sure that I can also deploy this web application on a different infrastructure than the Google App Engine. Therefore, I wanted to debug my web application using another servlet container (Tomcat 6) and another data store (mySQL or MSSQL or any other, at the moment it does not matter.)
To be able to debug an Eclipse web application using Tomcat, it must have a Dynamic Web Project facet. If this is not the case, then the new server that I add to Eclipse inside the servers refuses to select my GWT module in the list of supported applications. And not only GWT Web Apps do not carry it, but they do not even allow you to completely change the face of the project! However, I found that adding a few relevant tags to the .project file could make it available in Eclipse to add new additions to the project facets. Here are the tags that I used:
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>com.google.gwt.eclipse.core.gwtNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>com.google.appengine.eclipse.core.gaeNature</nature>
, , "" Eclipse Dynamic Web Project , - , - Tomcat 6 Servers.
, , Eclipse, - GWT App Engine, Tomcat.
, Dynamic Web Project Enhancer DataNucleus. - , -, , , , , . Google... App Engine... ORM- / Enhancer Builders . , : Tomcat, App Engine.
, .
(1) DataNucleus Google . DataNucleus , , Eclipse.
, , DataNucleus . , Eclipse, ! , ! ? ( / , Eclipse... ).
- DataNucleus? , - Eclipse.
(2) GWT http://code.google.com/webtoolkit/doc/latest/FAQ_DebuggingAndCompiling.html#How_do_I_use_my_own_server_in_hosted_mode_instead_of_GWT%27s
, , , , ... , , GWT 2.0.
, , - GWT 2.0?
- GWT Eclipse Dynamic Web Project . , , App Engine Tomcat . (1) (2). , , .
, !