I believe j2cl is currently used to produce libraries only (that are then 
consumed by JS code and passed through the Closure Compiler to produce 
applications)
If j2cl doesn't have an equivalent already, I believe GWT 3 will still have 
EntryPoint with some "glue code" to make it run on load of the script.

On Thursday, June 1, 2017 at 12:59:02 PM UTC+2, Frank Hossfeld wrote:
>
> I did not see any J2CL examples. Would be nice to know, how to replace the 
> Entrypoint ...
>
> Am Mittwoch, 31. Mai 2017 22:43:23 UTC+2 schrieb Goktug Gokdogan:
>>
>> J2CL doesn't require @JsType; JsType serves same purpose as in GWT.
>>
>> The likely steps required to make GWT library work with J2CL 
>> (future-proofing) already described in multiple talks earlier but briefly; 
>> no JSNI/JSO, no GWT.create, no generators and no com.google.gwt.* 
>> references. This applies recursively to the library's deps as well.
>>
>> On Wed, May 31, 2017 at 1:29 PM, Anders Forsell <aforse...@gmail.com> 
>> wrote:
>>
>>> Hello,
>>>
>>> From the small examples of J2CL examples I have seen, the Java classes 
>>> have been annotated with @JsType.
>>> I understand that all Java code will be transpiled to ES6 JS classes 
>>> with J2CL but can you refer/use other Java classes/libraries without adding 
>>> specific annotations?
>>>
>>> More concretely, if I have a GWT/Java library will I be able to use that 
>>> library with J2CL without modifying the source of it? 
>>>
>>> Thanks,
>>>
>>> Anders
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "GWT Contributors" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to google-web-toolkit-contributors+unsubscr...@googlegroups.com
>>> .
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/google-web-toolkit-contributors/3193454b-b4c7-428b-8a19-3e730601868f%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/google-web-toolkit-contributors/3193454b-b4c7-428b-8a19-3e730601868f%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit-contributors/a28d7a0a-7361-4c5d-b4e8-22eb51cb40f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to