You basically can as long as you can generate the jax-rs interfaces you are there, can extend or make your own generators that also adds domino-rest specific annotation.
On Friday, November 7, 2025 at 10:15:20 AM UTC+3 Craig Mitchell wrote: > *Side point:* Assuming you are consuming your own REST API, and that API > was built using Swagger, it would be cool if you could use the output from > the swagger-codegen <https://github.com/swagger-api/swagger-codegen> to > consume your REST API. Then you'd have strong type checking, just like you > do with GWT RPC. > > On Friday, 7 November 2025 at 5:28:51 pm UTC+11 David Nouls wrote: > >> I’m also thinking about migrating a project from using gwt-jackson to >> domino-rest. >> >> What kind of limitations did you notice while moving to domino? >> On Nov 7, 2025 at 02:09 +0100, Michael Conrad <[email protected]>, wrote: >> >> Meh… Much thanks for not leaving me hanging not seeing the missing send >> call. I knew I was being stupid, just couldn’t figure out what I had missed. >> >> And I was looking at the online documentation. I generally do try and >> figure things out myself and re-read and re-read as needed, just kept >> missing it this time. >> >> Just trying to do too much in too little time. A serious medical scare >> has finally let work let me tackle this huge mess I created years ago. >> >> And my brain was telling me it was a complete statement. I’ve been using >> completable futures in combination with restygwt, no “send” after or before >> the success/failure stanzas for that scenario… >> >> -Mike >> >> On 11/6/25 17:00, Vegegoku wrote: >> >> You need to call send() after you finish setup the request. >> >> }).onFailed((e) -> { console.log("Failed to get entitlements"); >> console.log(e.getBody()); }).send(); >> Following the documentation on the website is a good idea too >> >> domino-rest documentation >> <https://dominokit.com/solutions/domino-rest/v1/docs/getting-started> >> >> On Friday, November 7, 2025 at 12:47:31 AM UTC+3 Michael Conrad wrote: >> >>> Hello all, hopefully someone can tell me what stupid thing I’m doing >>> that I’m not seeing. >>> >>> I’ve setup a project to do initial a client side domino-rest >>> implementation. >>> >>> Everything compiles cleanly for both gwtCompile and gwtSuperDev. >>> >>> The Network panel in the Firefox Inspector never shows an XHR request. >>> >>> The Javascript console only shows: >>> >>> ApiTestEntryPoint loaded apitest-0.js:13189:16DominoRestConfig initialized >>> apitest-0.js:13203:16 >>> >>> I appears that neither the request interceptor nor either of the >>> onSuccess or onFailed callbacks are run. >>> >>> Really flummoxed here and would greatly appreciate some hint as to what >>> is wrong. >>> >>> This is my services file: >>> >>> package com.newsrx.butter.client.domino.api; >>> import jakarta.ws.rs.GET;import jakarta.ws.rs.Path;import >>> org.dominokit.rest.shared.request.service.annotations.RequestFactory; >>> @RequestFactory@Path("1.0/")public interface UserV1 { >>> @Path("entitlements") >>> @GET >>> String entitlements(); >>> } >>> >>> This is my Entry Point: >>> >>> package com.newsrx.butter.client.domino.ep; >>> import com.google.gwt.core.client.EntryPoint;import >>> com.google.gwt.core.client.Scheduler;import >>> com.newsrx.butter.client.domino.api.UserV1Factory;import >>> elemental2.dom.Console;import elemental2.dom.DomGlobal;import >>> org.dominokit.rest.DominoRestConfig; >>> public class ApiTestEntryPoint implements EntryPoint { >>> @Override >>> public void onModuleLoad() { >>> Console console = DomGlobal.console; >>> console.log("ApiTestEntryPoint loaded"); >>> DominoRestConfig.initDefaults(); >>> Scheduler.get().scheduleDeferred(this::test); >>> } >>> >>> public void test() { >>> Console console = DomGlobal.console; >>> UserV1Factory userV1 = UserV1Factory.INSTANCE; >>> >>> DominoRestConfig config = DominoRestConfig.getInstance(); >>> >>> config.addRequestInterceptor((request, contextWait) -> { >>> console.log("Request intercepted: " + request.getUrl()); >>> console.log("Request timeout value: " + request.getTimeout()); >>> }); >>> >>> console.log("DominoRestConfig initialized"); >>> userV1.entitlements().onSuccess((s) -> { >>> console.log("Got entitlements"); >>> System.out.println(s); >>> // s.result.forEach(System.out::println); >>> }).onFailed((e) -> { >>> console.log("Failed to get entitlements"); >>> console.log(e.getBody()); >>> }); >>> } >>> } >>> >>> Dependencies block: >>> >>> dependencies { >>> compileOnly "org.gwtproject:gwt-user:2.12.2" >>> implementation "com.google.jsinterop:base:1.0.0" >>> >>> implementation 'jakarta.ws.rs:jakarta.ws.rs-api:4.0.0' >>> >>> annotationProcessor 'com.google.dagger:dagger-compiler:2.57.2' >>> implementation "com.google.dagger:dagger-gwt:2.57.2" >>> >>> annotationProcessor 'org.dominokit:domino-rest-processor:2.0.0-RC2' >>> implementation 'org.dominokit:domino-rest-client:2.0.0-RC2' >>> >>> annotationProcessor 'org.dominokit:domino-jackson-processor:1.0.5' >>> implementation('org.dominokit:domino-jackson:1.0.5') >>> >>> testImplementation 'org.testng:testng:7.10.2' >>> } >>> >>> ​ >>> >> -- >> 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 [email protected]. >> To view this discussion visit >> https://groups.google.com/d/msgid/google-web-toolkit/57433259-36a6-4779-9163-97d4bbacc660n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/google-web-toolkit/57433259-36a6-4779-9163-97d4bbacc660n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> ​ >> >> -- >> 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 [email protected]. >> >> To view this discussion visit >> https://groups.google.com/d/msgid/google-web-toolkit/a7acdf13-8c77-486f-bc96-88d460d15eae%40newsrx.com >> >> <https://groups.google.com/d/msgid/google-web-toolkit/a7acdf13-8c77-486f-bc96-88d460d15eae%40newsrx.com?utm_medium=email&utm_source=footer> >> . >> >> -- 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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/0dbfaec5-265f-4e94-b04c-31e90a7fc724n%40googlegroups.com.
