Hello everybody,
I'm building a
java web application that will be in the future deployed in multiple environment. And to simplify the deployment, I would like to use container-base properties without having to edit the property files for each environment. So far, I have only 6 properties that might change depending on the environment.
I've seen many examples that seemed very complex for what I must do. I don't want to mix the JARs in my WAR with those from the container. I just want something that is as simple as loading a property file in the container that will be available to use in the WAR.
I'm really new to JNDI, thought I used them in the past, not knowing how to create one.
Can someone direct me to a simple example ? Something really basic.
Thank you !