Hi Ratna,

I'm assuming you know a little bit about Struts 2, Spring and Maven already.

To include iBatis as dependency in Maven 2, you can use the following
dependecy in your pom.xml:

<dependency>
  <groupId>org.apache.ibatis</groupId>
  <artifactId>ibatis-sqlmap</artifactId>
  <version>2.3.4.726</version>
</dependency>
Integration of iBatis in Spring can be found in the Spring documentation:
http://static.springframework.org/spring/docs/2.5.x/reference/orm.html#orm-ibatis

As for "integrating" iBatis with Struts2, I cannot imagine any explicit
integration issues,
If you follow the Dao pattern you should not have any problems separating
the two.

For a more broader insight into Maven2, Spring and iBatis it's just going
through the documentation
and manuals, I'm afraid....

iBatis manual is in this directory:
http://ibatis.apache.org/docs/java/pdf/

Furthermore, this book is excellent:
http://www.amazon.com/iBatis-Action-Clinton-Begin/dp/1932394826/ref=pd_bbs_sr_1?ie=UTF8&s=books&qid=1236438861&sr=8-1

Regards

Michel Schudel
On Sat, Mar 7, 2009 at 3:28 PM, nani2ratna <nani2ra...@gmail.com> wrote:

>
> Hi,
>
> I am very new to Ibatis.
> I am using Struts 2 , Spring and maven.
> Now i want to configure Ibatis as a Persistence framework.
> Can anybody please help me to configure this.
> I searched in google, i didnt get a correct material.
>
> Thanks in advance
> Ratna
> --
> View this message in context:
> http://www.nabble.com/How-to-integrate-Ibatis-with-Struts-2-and-Spring-tp22388042p22388042.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>
>

Reply via email to