Home GWT and Java - the best route when exiting the LAMP background?

I worked a lot with php / mysql on Linux servers, including frameworks, orm, etc. Now I want to try GWT and Java!

Install the GWT SDK, Eclipse plugin, etc. and launching "Hello world" is not a problem. The server runs automatically in the background, took care of Eclipse. But when it comes to setting myself up for myself, there seem to be a few confusing options. Jetty? Cat? Glass fish? How are related and / or compatible with Apache?

Are there any good resources or tutorials for setting up java development and server environments suitable for one, like me, using a PHP background? Perhaps pointing to the possibility of running PHP and Java on the same server?

Regards / Jonas

+3
source share
3 answers

Jetty, Tomcat and Glassfish are all containers Servlet(well, Glassfish is much more, but in the context of the GWT application it is). They deal with starting your GWT application server (RPC call server endpoint).

What you call "Apache" is probably the Apache HTTP Server. Tomcat is also released by Apache. It is often required that both servers work on the same server, and the HTTP server serves mainly static or non-servlet content and Tomcat handles servlet requests. This is apparently good leadership: Tomcat-Apache HOWTO

+1
source

Java - - / PHP - ,

GWT , ( - -, ), PHP -

( ) Eclispe GWT . Eclipse , Tomcat

0

- - Java- GWT. , GWT-RPC . , , JSON PHP-, - Apache/httpd .
, , GWT, Jetty, , .

2 :)

0

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


All Articles