Blog
Configure your external dependencies with Spring & Jndi
How to deal with platform environment (Test, Acceptance, Production etc.) specific variables in Java applications?
Applications often need resources like databases, third-company web services, ldap servers and other external systems. It is common practice to externalize the configuration of such resources. In the case of a database dependency the use of a DataSource (hiding the complexity of configuring and connecting to the database) is a good example of this. The details of the configuration are in most cases platform environment specific. So how do we properly externalize the details of the configuration?
Basically the development team has two options:
- Build an application and specify the target environment
- Externalize the variables from the deployable unit
Contact
Let’s discuss how we can support your journey.