I have been doing research on how I can store ports info (e.g RMI, http port etc) in database instead of storing in system/env variable or in jboss-service.xml. However, I am unable to find any. I understand I can store, get port info from DB and then dump port info into system/env variables. however I would like to know if there are any built-in and/or 3rd party lib/api which already have the capability to get port info from a DB and jboss can auto pick up and no need to set as system/env variables. Hope someone can help solving the puzzle.