Skip to content

Commit 729b426

Browse files
committed
Spring and hibernate tutorials
1 parent 977d536 commit 729b426

312 files changed

Lines changed: 6076 additions & 166 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
8 KB
Binary file not shown.
Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,20 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<classpath>
3-
<classpathentry kind="src" path="src"/>
4-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
5-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/spring-framework-3.0.5.RELEASE/dist/org.springframework.aop-3.0.5.RELEASE.jar"/>
6-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/spring-framework-3.0.5.RELEASE/dist/org.springframework.asm-3.0.5.RELEASE.jar"/>
7-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/spring-framework-3.0.5.RELEASE/dist/org.springframework.aspects-3.0.5.RELEASE.jar"/>
8-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/spring-framework-3.0.5.RELEASE/dist/org.springframework.beans-3.0.5.RELEASE.jar"/>
9-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/spring-framework-3.0.5.RELEASE/dist/org.springframework.context.support-3.0.5.RELEASE.jar"/>
10-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/spring-framework-3.0.5.RELEASE/dist/org.springframework.context-3.0.5.RELEASE.jar"/>
11-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/spring-framework-3.0.5.RELEASE/dist/org.springframework.core-3.0.5.RELEASE.jar"/>
12-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/spring-framework-3.0.5.RELEASE/dist/org.springframework.expression-3.0.5.RELEASE.jar"/>
13-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/spring-framework-3.0.5.RELEASE/dist/org.springframework.instrument.tomcat-3.0.5.RELEASE.jar"/>
14-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/spring-framework-3.0.5.RELEASE/dist/org.springframework.instrument-3.0.5.RELEASE.jar"/>
15-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/spring-framework-3.0.5.RELEASE/dist/org.springframework.jdbc-3.0.5.RELEASE.jar"/>
16-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/spring-framework-3.0.5.RELEASE/dist/org.springframework.jms-3.0.5.RELEASE.jar"/>
17-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/spring-framework-3.0.5.RELEASE/dist/org.springframework.orm-3.0.5.RELEASE.jar"/>
18-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/spring-framework-3.0.5.RELEASE/dist/org.springframework.oxm-3.0.5.RELEASE.jar"/>
19-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/spring-framework-3.0.5.RELEASE/dist/org.springframework.test-3.0.5.RELEASE.jar"/>
20-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/spring-framework-3.0.5.RELEASE/dist/org.springframework.transaction-3.0.5.RELEASE.jar"/>
21-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/commons-logging-1.1.1-bin/commons-logging-1.1.1/commons-logging-1.1.1.jar"/>
22-
<classpathentry kind="lib" path="D:/LYF/ProgFiles4Prog/commons-logging-1.1.1-bin/commons-logging-1.1.1/commons-logging-api-1.1.1.jar"/>
23-
<classpathentry kind="output" path="bin"/>
24-
</classpath>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry including="**/*.java" kind="src" output="target/classes" path="src">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6">
10+
<attributes>
11+
<attribute name="maven.pomderived" value="true"/>
12+
</attributes>
13+
</classpathentry>
14+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
15+
<attributes>
16+
<attribute name="maven.pomderived" value="true"/>
17+
</attributes>
18+
</classpathentry>
19+
<classpathentry kind="output" path="target/classes"/>
20+
</classpath>

JavaExamples/SpringExamples/ConstructorDI/.project

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
</arguments>
1212
</buildCommand>
1313
<buildCommand>
14-
<name>org.springframework.ide.eclipse.core.springbuilder</name>
14+
<name>org.eclipse.m2e.core.maven2Builder</name>
1515
<arguments>
1616
</arguments>
1717
</buildCommand>
1818
</buildSpec>
1919
<natures>
20-
<nature>org.springframework.ide.eclipse.core.springnature</nature>
20+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
2121
<nature>org.eclipse.jdt.core.javanature</nature>
2222
</natures>
2323
</projectDescription>

JavaExamples/SpringExamples/ConstructorDI/.settings/org.eclipse.jdt.core.prefs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#Thu Jun 09 10:07:45 IST 2011
21
eclipse.preferences.version=1
32
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
43
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
@@ -9,4 +8,5 @@ org.eclipse.jdt.core.compiler.debug.localVariable=generate
98
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
109
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
1110
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
11+
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
1212
org.eclipse.jdt.core.compiler.source=1.6
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<modelVersion>4.0.0</modelVersion>
3+
<groupId>ConstructorDI</groupId>
4+
<artifactId>ConstructorDI</artifactId>
5+
<version>0.0.1-SNAPSHOT</version>
6+
<build>
7+
<sourceDirectory>src</sourceDirectory>
8+
<resources>
9+
<resource>
10+
<directory>src</directory>
11+
<excludes>
12+
<exclude>**/*.java</exclude>
13+
</excludes>
14+
</resource>
15+
</resources>
16+
<plugins>
17+
<plugin>
18+
<artifactId>maven-compiler-plugin</artifactId>
19+
<version>3.1</version>
20+
<configuration>
21+
<source>1.6</source>
22+
<target>1.6</target>
23+
</configuration>
24+
</plugin>
25+
</plugins>
26+
</build>
27+
<dependencies>
28+
<dependency>
29+
<groupId>junit</groupId>
30+
<artifactId>junit</artifactId>
31+
<version>4.7</version>
32+
</dependency>
33+
<dependency>
34+
<groupId>org.springframework</groupId>
35+
<artifactId>spring-beans</artifactId>
36+
<version>2.5.2</version>
37+
</dependency>
38+
<dependency>
39+
<groupId>org.springframework</groupId>
40+
<artifactId>spring-core</artifactId>
41+
<version>2.5.2</version>
42+
</dependency>
43+
<dependency>
44+
<groupId>org.springframework</groupId>
45+
<artifactId>spring-context</artifactId>
46+
<version>2.5.2</version>
47+
</dependency>
48+
</dependencies>
49+
</project>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<beans xmlns="http://www.springframework.org/schema/beans"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
5+
<bean id="user" class="com.vaani.bean.UserCase1" >
6+
<constructor-arg value="24"/>
7+
<constructor-arg value="India"/>
8+
</bean>
9+
10+
<bean id="user2" class="com.vaani.bean.UserCase1" >
11+
<constructor-arg value="24" type="int"/>
12+
<constructor-arg value="India" type="java.lang.String"/>
13+
</bean>
14+
15+
16+
</beans>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<beans xmlns="http://www.springframework.org/schema/beans"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
5+
6+
<bean id="user" class="com.vaani.bean.UserCase2" >
7+
<constructor-arg type="int" value="24"/>
8+
<constructor-arg type="java.lang.String" value="India"/>
9+
</bean>
10+
11+
12+
<bean id="user2" class="com.vaani.bean.UserCase2" >
13+
<constructor-arg index="0" type="int" value="24"/>
14+
<constructor-arg index="1" type="java.lang.String" value="India"/>
15+
</bean>
16+
</beans>
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<beans xmlns="http://www.springframework.org/schema/beans"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd">
5+
<bean id="user" class="com.vaani.bean.User" >
6+
<constructor-arg value="Kinshuk" />
7+
<constructor-arg value="24"/>
8+
</bean>
9+
10+
</beans>
Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<classpath>
3-
<classpathentry kind="src" path="src"/>
4-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
5-
<classpathentry kind="output" path="bin"/>
6-
</classpath>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="src" output="target/classes" path="src">
4+
<attributes>
5+
<attribute name="optional" value="true"/>
6+
<attribute name="maven.pomderived" value="true"/>
7+
</attributes>
8+
</classpathentry>
9+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5">
10+
<attributes>
11+
<attribute name="maven.pomderived" value="true"/>
12+
</attributes>
13+
</classpathentry>
14+
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
15+
<attributes>
16+
<attribute name="maven.pomderived" value="true"/>
17+
</attributes>
18+
</classpathentry>
19+
<classpathentry kind="output" path="target/classes"/>
20+
</classpath>

JavaExamples/SpringExamples/QuizMaster/.project

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,14 @@
1010
<arguments>
1111
</arguments>
1212
</buildCommand>
13+
<buildCommand>
14+
<name>org.eclipse.m2e.core.maven2Builder</name>
15+
<arguments>
16+
</arguments>
17+
</buildCommand>
1318
</buildSpec>
1419
<natures>
20+
<nature>org.eclipse.m2e.core.maven2Nature</nature>
1521
<nature>org.eclipse.jdt.core.javanature</nature>
1622
</natures>
1723
</projectDescription>

0 commit comments

Comments
 (0)