eSoftHead
40 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Scooped by Nguyen Hai
Scoop.it!

Configure Spring datasource with dynamic location of property file

Load application properties in Spring based application dynamically by customizing PropertySourcesPlaceholderConfigurer. It give a flexible configuration property file no limit in classpath
Nguyen Hai's insight:

Probably Spring DAO module is the most usage component if you used Spring as a dependency injection container in your application. The common pattern of setting up datasource in Spring Java based project is loading the database settings from property file, then loading these values to datasource bean instance. However, we do not want to hardcore property filename and keep this file in application classpath, this blog post demonstrates what we did to load dynamic property file to construct Spring datasource bean

more...
No comment yet.
Scooped by Nguyen Hai
Scoop.it!

We bring the new open source product of CRM and Project Management to community

We bring the new open source product of CRM and Project Management to community | eSoftHead | Scoop.it
MyCollab is the powerful Java open source product for small and midsize company. It has wide range features of CRM, Project and Document Management. We offer several services for MyCollab include installation, customization, consultant also white-label product
more...
No comment yet.
Scooped by Nguyen Hai
Scoop.it!

How to write dynamic SQL in MyBatis using Velocity

Dynamic SQL is one of strong key point selling people use MyBatis and we are among of them. Here is our example on how to use Veolocity to write dynamic SQL instead of using XML as usual MyBatis use case
more...
No comment yet.
Scooped by Nguyen Hai
Scoop.it!

How to prevent hidden cost of open source software

Open source software plays the vital role in the software business nowadays. However, choosing the wrong open source product may take your time and money to fix issues not belong to your own product. This blog post shares our criteria in selecting the right open source softwares used in our projects.
more...
No comment yet.