Skip to content

Instantly share code, notes, and snippets.

@AdamBien
Created August 9, 2018 03:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AdamBien/b5b1a591d2ffe03c7e921d60f0afbd9d to your computer and use it in GitHub Desktop.
Save AdamBien/b5b1a591d2ffe03c7e921d60f0afbd9d to your computer and use it in GitHub Desktop.
54thAirhacksQ&A.md
@zak905
Copy link

zak905 commented Sep 3, 2018

Hi Adam,

have you ever used GWT (previously Google Web Toolkit), does it have any future for front end development using Java ? or as alternative to writing front ends for Java (or Jakarta) EE backends ?

Thanks for the show.

@jcrochavera
Copy link

Hi Adam,
Thank you very much for share your knowledge.

Is there any way to load/unlod in runtime resources/endpoints contained in external classes?
I already have an approach:

    1. create a new configuration: JAXRSConfiguration resourceConfig = new JAXRSConfiguration();
    1. Load the clas: loadClass(source, parentClassLoader);
    1. register as instance : resourceConfig.registerInstances(clazzInstance); (because if I use another method the instance cached is not removed and the old code is still present)
    1. reload the container JAXRSConfiguration.reload(resourceConfig);
      This approach does not support CDI...
      Is there a better way to do the same, but more efficiently ???
      Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment