Currently browsing category

Techie talk

Publishing artifacts with Gradle

This might not be the most interesting post compared to my normal posts. There are no pretty pictures to look at . By default gradle publishes using the ivy protocol. Thus if you have the following setup… uploadArchives { repositories { mavenLocal() } } You will end up publishing an …

Data Source Handling with Tomcat 7.0

The “new” J2EE6 standard allows for setting up of datasources in the web.xml of a web application. If the webserver is compliant- this feature will enable defining your database resources in the web.xml like the example below. web.xml config MySQL Datasource example jdbc/mkyongdb javax.sql.DataSource Container Thanks to resource injection, the …