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
@mhlulani
Copy link

mhlulani commented Sep 3, 2018

Application Server Credential Rotation (pull)

Hi Adam

Is it possible to configure application servers (Wildfly) to pull resource (database) credentials from somewhere, instead of setting them statically in the config (standalone.xml). Even if it means we need to write a plugin for the application server, we will have to do that.
We are now required to rotate credentials everyday on MANY instances as apposed to every week.

Thanks for the continued effort
Enjoy you evening.

@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