Wednesday, October 23, 2013

Re: Is it possibile to have one GWT WebApp but more than one WAR files

Tim,
 
It is in scope if the GWT compilation is failing. If that is the case, what flags are you using when doing the GWT compilation ? Are you setting the heap/stack size on the JVM that runs the GWT compiler ?
 
David


On Wed, Oct 23, 2013 at 2:59 PM, Timothy Spear <n614cd@gmail.com> wrote:
Rajin,

1. Look into Gradle for compile. Allows for a more modular compilation process.
2. If you split the WAR file, you will need to use fairly standard web development techniques to share security information across web apps. As a general rule, you will need to store a session key in a cookie and have all sessions stored in the database or file system instead of the application server. This is really outside the scope of GWT.

Good luck,

Tim

On Oct 23, 2013, at 7:33 AM, rajin.das@infosmart-technologies.com wrote:

Hi,

I am working in large gwt application. I am using GWTP in the project and have organised the project to be in different gwt modules under the same project. while compiling all these modules are compiled to form a single war file. 

Now my issue is that even with a machine having 16GB of RAM dedicated to compiling the project I am facing out of memory error and not able to compile the full project together. This is for the developmental build with one browser and one language.

The solution I am planning is to have a separate war file for each module. And I want to know is this solution is possible or not, If possible can any one please direct me to some tutorials for the same, as I am not able to find an answer to this question even though I found many have asked the same question over different forums.

If we are able to split the modules to different war file, how can we use a single sign-on for all the modules, as i don't want to ask for user id and password when the user navigate from one module to another.

Thanks In Advance
Rajin Das 

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment