Hi, just gwt-compile the GWT parts using gwtc (In Eclipse, use the red "GWT Compile Project" icon. Or alternatively use the ant target "gwtc" or "war" from the build.xml that webAppCreator created for you.) You can basically treat the compiled result as if it were static HTML content in a web project - which can then be included in an EAR as you usually do with a web project. You can also just put it into a static content directory of your server - it doesn't have to be in an EAR.
If you want to go a step further, and have everything automated for you by Eclipse (including all server- and clientside auto-deployment and debugging), then I'd like to point you to my somewhat complex step- by-step instruction here: http://groups.google.com/group/google-web-toolkit/browse_thread/thread/7ee077bd3084e745/b58b0c90f288198c (shouldn't be too hard to adapt to JBoss) HTH Chris On Mar 10, 10:06 am, Roman Makurin <dro...@gmail.com> wrote: > Hi All! > > Its my first post here :) > > my system is: linux x86_64, eclipse 3.5, gpe 1.2, gwt-2.0.3, jboss 5.1 > > I have a ear project which include war and ejb parts in it. Web part based on > servlets, and im using constructions like > > public class MyServlet extends HttpServlet { > @EJB > private EJBLocal ejb; > > protected void doGet(HttpServletRequest request, > HttpServletResponse response) throws ServletException, > IOException { > // some code > ejb.doSomething(); > } > > } > > to access EJBs > > right now i want to replace my servlet code with gwt based. Questions which > i cant solve: > > * How can i deploy gwt projects to jboss server instead of builtin jetty ? > * How can i include gwt project to ear project ? > > All projects - web, ejb, ear i could easily deploy to jboss, but i cant do > this for > gwt projects. > > im in stuck for now, i cant find anything usefull in google. > > Thanks > > PS: sory for my english > > -- > If you think of MS-DOS as mono, and Windows as stereo, > then Linux is Dolby Digital and all the music is free... > > application_pgp-signature_part > < 1KViewDownload -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.