Java EE6 and GWT

I would like to use GWT as an alternative interface for a Java EE 6 application. What is the best practical approach to architecture?

I have been working on the GWT tutorial from Google (StockWatcher), but I am wondering how to "swap" the GWT backend for the Java EE 6 backend.

+3
source share
2 answers

GWT runs (like JavaScript) in the browser, so it communicates with the web server simply using HTTP requests. If you select Servlets (RemoteServiceServlets for GWT-RPC) to answer these requests, you can use any servlet container to host servlets.

- noserver Jetty.

+1

ejbs RPC. user -noserver. JEE6 EJB, Glassfish 3.1 ( EJB, EAR 3.1 - 3.0). , gf-client.jar . ServiceLocator, , , , , , ejb.

+1

Source: https://habr.com/ru/post/1790160/


All Articles