Skip to content

Tag: gwt

make async call using native JS in GWT app

I have a GWT app in which I have to include an JS function. So I am using the native interface to use the JS function in my JAVA code. This is my JS function But the problem with this is when I receive the Promise response via response.json(), it is still in pending state, so it never goes to

WebGPU JsInterop wrapper

I am trying to play around with WebGPU in GWT 2.9.0 using JsInterop and I face some problems trying to map all the WebGPU interfaces to Java. The definitions I refer to are located at https://www.w3.org/TR/webgpu/#idl-index 1) How do I map an unsigned long long? There is a typedef: typedef [EnforceRange] unsi…

Are server 500 errors a security issue?

I’ve found that it’s possible to cause 500 errors on a server using curl and a faked GWT-Permutation with a POST payload. The payload is generating a java.lang.Exception on an Apache server. Does this open up a security issue? Should I report it to Google’s GWT support? To clarify the questi…

autocomplete in vaadin?

I’m new to vaadin. How do I do autocomplete (actually, more like google suggest) on a huge set of data that cannot be loaded in memory, but instead performing a JPA query on every key event. Is it possible to capture key events on a textfield or combobox? Answer You could check out Henrik Paul’s S…