I have used the model configuration for scanning with the JVM parameters,
-Dgwt.validation.included.ModelPackages=javax.validation.constraints,com.em.validation.client.constraints,com.myapp.shared
however first start is still slow in Dev mode... get this line for 2 classes being scanned as soon as i click and invoke validation with factory in screen first time with a 422 ms delay just for scanning 2 classes as seen below
[Code server for myapp from Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:14.0) Gecko/20100101 Firefox/14.0.1 on http://127.0.0.1:8888/myapp.html?gwt.codesvr=127.0.0.1:9997 @ 7^IA?G^FDSf&$vK[] INFO org.reflections.Reflections - Reflections took 422 ms to scan 6 urls, producing 164 keys and 860 values
This is making the initial experience sluggish and freeze effect for the screen being validated... any ideas on what I could be missing, ideally want to do what is happening here at webserver start/compile and cache for duration of the appserver running, is that possible.
I am doing all my testing in DevMode.
Any thoughts/ideas?
Cheers and Thanks..