Discussion:
First application working as both J2CL and gwt2 at the same time
Ahmad Bawaneh
2018-11-22 20:42:03 UTC
Permalink
Hi
I am happy to announce that i was able to build and deploy one of my
applications using both J2CL and gwt2 at the same time.
you can browse both versions here

J2CL : https://dominokit.github.io/dominodoj2cl/index.html

GWT2 : https://dominokit.github.io/dominodo/index.html

for those who wants to to dig in and build the app i have prepared a github
repository, find it here

https://github.com/DominoKit/dominodo

happy J2CLing.. :-)
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Lars
2018-11-23 20:51:40 UTC
Permalink
Cool! :-)

Any numbers about the app sizes, compile and runtime speed (compared between j2cl snd gwt)?
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
foal
2018-11-24 16:01:14 UTC
Permalink
Hmm... Looks like GWT wins. Yet.

GWT:

[image: GWT.png]



J2CL

[image: j2cl.png]




Stas
Post by Ahmad Bawaneh
Hi
I am happy to announce that i was able to build and deploy one of my
applications using both J2CL and gwt2 at the same time.
you can browse both versions here
J2CL : https://dominokit.github.io/dominodoj2cl/index.html
GWT2 : https://dominokit.github.io/dominodo/index.html
for those who wants to to dig in and build the app i have prepared a
github repository, find it here
https://github.com/DominoKit/dominodo
happy J2CLing.. :-)
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
ahmad bawa3neh
2018-11-24 19:14:16 UTC
Permalink
What i dont understand from the screenshots is why the load of the static
resources should be so different?!
Post by foal
Hmm... Looks like GWT wins. Yet.
[image: GWT.png]
J2CL
[image: j2cl.png]
Stas
Post by Ahmad Bawaneh
Hi
I am happy to announce that i was able to build and deploy one of my
applications using both J2CL and gwt2 at the same time.
you can browse both versions here
J2CL : https://dominokit.github.io/dominodoj2cl/index.html
GWT2 : https://dominokit.github.io/dominodo/index.html
for those who wants to to dig in and build the app i have prepared a
github repository, find it here
https://github.com/DominoKit/dominodo
happy J2CLing.. :-)
--
You received this message because you are subscribed to the Google Groups
"GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Vassilis Virvilis
2018-11-24 19:21:11 UTC
Permalink
Thanks for posting this.

Not sure if I read this correctly.

Assuming all other being equal (can't really be sure):

GWT: Loading of *.cache.js takes 433ms for 75.8KB - there is also
app.nocache.js 95ms for 3.3KB
J2CL: Loading of app.js takes 490ms for 70.5KB

The difference in timing is of course a network artifact since j2cl has
less code to transmit.

Does j2cl has something equivalent of *.nocache.js. How it is linked? Does
it use an iframe as GWT or is directly loaded in the document window?

I could see a lot of GWT programs breaking if the link model changes...

Vassilis
Post by foal
Hmm... Looks like GWT wins. Yet.
[image: GWT.png]
J2CL
[image: j2cl.png]
Stas
Post by Ahmad Bawaneh
Hi
I am happy to announce that i was able to build and deploy one of my
applications using both J2CL and gwt2 at the same time.
you can browse both versions here
J2CL : https://dominokit.github.io/dominodoj2cl/index.html
GWT2 : https://dominokit.github.io/dominodo/index.html
for those who wants to to dig in and build the app i have prepared a
github repository, find it here
https://github.com/DominoKit/dominodo
happy J2CLing.. :-)
--
You received this message because you are subscribed to the Google Groups
"GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
--
Vassilis Virvilis
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Thomas Broyer
2018-11-24 23:10:13 UTC
Permalink
This post might be inappropriate. Click to display it.
Kirill Prazdnikov
2018-11-27 11:02:31 UTC
Permalink
I agree, if you compare GWT vs J2CL program, then it is fair to switch GWT to single permutation single-script linker before to measure.
And even more fair is to compare all if the compilers [GWT, J2CL, TeaVM], in terms of script size (compressed) and in terms of code performance (not DOM performance).
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Ahmad Bawaneh
2018-11-27 15:45:06 UTC
Permalink
The GWT version already compiled with all properties collapsed
Post by Kirill Prazdnikov
I agree, if you compare GWT vs J2CL program, then it is fair to switch GWT
to single permutation single-script linker before to measure.
And even more fair is to compare all if the compilers [GWT, J2CL, TeaVM],
in terms of script size (compressed) and in terms of code performance (not
DOM performance).
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Kirill Prazdnikov
2018-11-27 17:59:34 UTC
Permalink
I mean different. Not collapsed, but single perm with sso linker.
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Ahmad Bawaneh
2018-11-27 18:13:30 UTC
Permalink
I was waiting for next weekend to start running some experiments, such notes are really helpful..
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Alina Grynenko
2018-11-27 18:13:14 UTC
Permalink
Thanks a lot. I will try it. One more question: Why j2cl is working with
maven in your application, I thought it works only with bazel?

Am Di., 27. Nov. 2018 um 18:59 Uhr schrieb Kirill Prazdnikov <
Post by Kirill Prazdnikov
I mean different. Not collapsed, but single perm with sso linker.
--
You received this message because you are subscribed to the Google Groups
"GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Ahmad Bawaneh
2018-11-27 20:51:00 UTC
Permalink
even though j2cl inside google works with bazel and not maven, since j2cl
was still private there was a work done to make it work with maven, @Colin
built a tool that can run j2cl in a development which uses an old version
of the closure compiler to allow incremental compilation, and now as j2cl
is public the work has already started to make an actual maven plugin for
j2cl, the initial work started based on Colin devmode, you can see the
first version of the maven plugin in dominodo j2cl-maven-plugin, the master
branch is simply running using that simple devmode.. thanks to Colin.
Post by Alina Grynenko
Thanks a lot. I will try it. One more question: Why j2cl is working with
maven in your application, I thought it works only with bazel?
Am Di., 27. Nov. 2018 um 18:59 Uhr schrieb Kirill Prazdnikov <
Post by Kirill Prazdnikov
I mean different. Not collapsed, but single perm with sso linker.
--
You received this message because you are subscribed to the Google Groups
"GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an
<javascript:>.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Alina Grynenko
2018-11-26 22:18:02 UTC
Permalink
Hi,
Im new to gwt. I try to build your project, but get
Could not resolve dependencies for project
org.dominokit.samples:dominodo-client:jar:1.0-SNAPSHOT: Could not find
artifact com.vertispan.jsinterop:base:jar:1.0.0-SNAPSHOT in
vertispan-snapshots (https://repo.vertispan.com/gwt-snapshot/) -> [Help 1]

What Im doing wrong?
Thanks.
Post by Ahmad Bawaneh
Hi
I am happy to announce that i was able to build and deploy one of my
applications using both J2CL and gwt2 at the same time.
you can browse both versions here
J2CL : https://dominokit.github.io/dominodoj2cl/index.html
GWT2 : https://dominokit.github.io/dominodo/index.html
for those who wants to to dig in and build the app i have prepared a
github repository, find it here
https://github.com/DominoKit/dominodo
happy J2CLing.. :-)
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Ahmad Bawaneh
2018-11-27 15:45:54 UTC
Permalink
It seems i had a miss configured repository
can you please pull and try again?
sorry for this issue.
Post by Alina Grynenko
Hi,
Im new to gwt. I try to build your project, but get
Could not resolve dependencies for project
org.dominokit.samples:dominodo-client:jar:1.0-SNAPSHOT: Could not find
artifact com.vertispan.jsinterop:base:jar:1.0.0-SNAPSHOT in
vertispan-snapshots (https://repo.vertispan.com/gwt-snapshot/) -> [Help 1]
What Im doing wrong?
Thanks.
Post by Ahmad Bawaneh
Hi
I am happy to announce that i was able to build and deploy one of my
applications using both J2CL and gwt2 at the same time.
you can browse both versions here
J2CL : https://dominokit.github.io/dominodoj2cl/index.html
GWT2 : https://dominokit.github.io/dominodo/index.html
for those who wants to to dig in and build the app i have prepared a
github repository, find it here
https://github.com/DominoKit/dominodo
happy J2CLing.. :-)
--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+***@googlegroups.com.
To post to this group, send email to google-web-***@googlegroups.com.
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
Loading...