Hi,

I prefer option 3

- making a war with GWT-GUI and marshalling data till your container.
- connecting to a stub simulating your server side app. "Separate
project, maybe  jar"
- connecting to your server/model/business logic which any technique
you like. "Separate project, maybe jar"

There is no need to test the whole app all the time.

Stefan Bachert
http://gwtworld.de

On 14 Mai, 02:43, Frederic Conrotte <[email protected]>
wrote:
> Hello
>
> On a large entreprise GWT project with a lot of JPA beans and
> WebServices on server side code, would you recommend having all the
> source code within a single WAR file or splitting between client and
> server code ?
>
> * Option 1 - single WAR file:
>
> project/src/
> com.mycompany.project.client
> com.mycompany.project.public
> com.mycompany.project.server
>
> Advantage: easy to test in hosted mode
> Disadvantage: limited transaction management support, no EJB support,
> can take time to startup in hosted mode depending on server side
> container startup time, Javascript compilation required to deploy the
> server side code because of GWT client code dependency
>
> * Option 2 - 1 EAR including the client WAR
>
> projectServer/src/
> com.mycompany.project.server
>
> projectClient/src/
> com.mycompany.project.client
> com.mycompany.project.public
>
> Advantage: with -noserver option client testing is closer to
> production deployment environment, cleaner separation of interfaces
> between client/server
> Disadvantage: UI developer has to launch an app server to test its GWT
> client with server side code
>
> What's your experience/opinion ?
>
> Thanks
>
> Fred
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to