Skip to content

Instantly share code, notes, and snippets.

View aziz781's full-sized avatar

Abdul Aziz (A575072) aziz781

View GitHub Profile
@aziz781
aziz781 / gist:1336630
Created November 3, 2011 14:32
Spring JMS: smaple JMS Configuration
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jms="http://www.springframework.org/schema/jms"
xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
<!-- @author Abdul Aziz -->
<!-- SOA : JMS-Queue JNDI provider URL -->
@aziz781
aziz781 / gist:1336634
Created November 3, 2011 14:33
Spring iBatis ORM Configuration data-access-config-ibatis.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd">
@aziz781
aziz781 / gist:1336642
Created November 3, 2011 14:36
Spring iBatis sample sqlmap configuration file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL MAP 2.0//EN"
"http://www.ibatis.com/dtd/sql-map-2.dtd">
<!-- Abdul Aziz -->
<sqlMap namespace="ObsClaim">
<resultMap id="claim-map" class="uk.gov.nhsbsa.dcss.obs.domain.ObsClaim">
<result property="obsId" column="OBS_ID" />
<result property="formId" column="FORM_ID" />
<result property="correlationId" column="CORRELATION_ID" />
@aziz781
aziz781 / gist:1336651
Created November 3, 2011 14:38
Spring application with annotation based bean configuration
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-2.5.xsd">