Structure for a large GWT project

Context

  • A large project with multiple maven modules or a single maven module structure.

Question

  • Have you finally used the multi-maven-module or single-maven-module structure?

More details

If you worked on a large project with a long development time and contained many functions (i.e. not a trivial project), did you decide to split the project into several maven modules or go for a single-mode approach?

For example, having a multi-module structure fails when running maven commands, such as mvn gwt: eclipse (see http://bit.ly/gs4Rmo ). I think this would work well with the design of a single GWT module. And there may be other commands, similar to those described above, that have problems with a multi-module structure.

However, a multi-module structure can benefit from faster development, i.e. if you separate the β€œserver” from the β€œclient” module, you can compose the business logic (server) separately and pack it into the resulting web archive. Compiling the GWT code takes about 20 seconds, so if you only modify the server package, it can save you a lot of time in the long run.

What other cases, similar to those described above, you encountered while working with a project with several modules / modules?

Thank!

+3
source share
2 answers

A few notes:

  • "": dev . dev, . ( , )

  • maven GWT.

  • GWT (= ), , : , - . : web, mobile common. common web, mobile.

  • GWT - - HTML- (). , , , OpenID. , -, GWT .

  • GWT , : .

  • - gwt, : gwt?

+6

. - . pom , RPC -. , 30 90 maven .

, 90 maven 3 pom.

. GWT, , , .

, , . , , . , , , , , .

+1

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


All Articles