Still I'm quite interested why we've never run in similar compilation
issues despite having quite a larger set of frontend code as stated in this
thread. Can someone explain?
Because you have way less code split points. A lot of code split points
will significantly increase compilation time
Oh, they are asking how to use a CDN (Content Delivery Network). Please
ignore my previous reply.
That's easy, when doing a "mvn clean package" to build the war (or jar),
all the static files will in the server module in *target/[proj-name]*.
Just copy them to your CDN.
On Wednesday 2 Octobe
I've seen the request to host static webcontent (i.e. html/css/js) on a
separate server many times before. Especially with dedicated infrastructure
teams.
The trick is to have mvn build a separate jar with only the static content
and unzip that on the target webserver.
It's been a while since I
Besides that the plugin does not provide this functionality - as Greg
already mentioned - you will run into security issues, while hosting the
client on one server and the server part on another (CORS). (OK, you might
find a workaround with some fanzy server configuration, but it's risky) If
yo
Running multiple servers with different functionality, is outside the scope
of the Spring Boot + GWT archetype.
Spring Boot + GWT archetype gives you one server codeline, Ie: One WAR or
JAR. You can can replicate and load balance it nicely (I do this with this
architecture in the Google Cloud)
Hi FRANK,
We have gone through the link provided by you "Spring Boot + GWT archetype:
https://github.com/NaluKit/gwt-maven-springboot-archetype";
We want to host client on different server-machine and server will be
hosted on another server-machine. We cannot find how will we achive the
same w
Thank you
JENS & FRANK for your valuable input. Your suggestions will surly help us
in upgrading the version.
On Friday, September 27, 2024 at 1:55:26 PM UTC+5:30 Frank Hossfeld wrote:
> Regarding point 7:
> In addition to what Jens said, here you'll find an artifact creator for a
> S
Regarding point 7:
In addition to what Jens said, here you'll find an artifact creator for a
Spring Boot + GWT
archetype: https://github.com/NaluKit/gwt-maven-springboot-archetype
Also, I would like to add:
to prepare the project, running 'mvn clean compile' is all you need to do
to prepare th
Now! our WAR is compiling (single permutation) in 10.25 mins only. We are
testing our application workflow as many of the differedJS files are
greater than 1 mb. We'll try to reduce the size.
Sounds way better and you can likely decrease the required Java heap now as
well. You had A LOT of
Earlier when WAR was compiling it was taking max 50 minutes for full
>>> comilation (single permutation) on hardware of (64 GB RAM, 4 Core, Xeon (R)
>>> CPU E3-1225 v5 @3.30 GHz, window-server 2019 standard)
>>>
>>> 5. using JVM option -Xmx61
rdware of (64 GB RAM, 4 Core, Xeon (R)
>> CPU E3-1225 v5 @3.30 GHz, window-server 2019 standard)
>>
>> 5. using JVM option -Xmx61440M (gwt-conpilation config attached for ref.)
>>
>> 6. Currently we are getting following error:
>> Compile with -strict o
t; Compile with -strict or with -logLevel set to TRACE or DEBUG to see all
> errors.
> Compiling 1 permutation
> Compiling permutation 0...
> [ERROR] OutOfMemoryError: Increase heap size or lower
> gwt.jjs.maxThreads
> java.lang.OutOfMemoryError: Java heap space
&
ee all
errors.
Compiling 1 permutation
Compiling permutation 0...
[ERROR] OutOfMemoryError: Increase heap size or lower
gwt.jjs.maxThreads
java.lang.OutOfMemoryError: Java heap space
at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:133)
at java.io.OutputStreamWriter.write(O
13 matches
Mail list logo