{"id":67452,"date":"2021-07-22T04:10:06","date_gmt":"2021-07-22T08:10:06","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/ibatis-some-notes-java-short-notes\/"},"modified":"2021-07-22T04:10:06","modified_gmt":"2021-07-22T08:10:06","slug":"ibatis-some-notes-java-short-notes","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=67452","title":{"rendered":"iBATIS: Some Notes #Java Short Notes"},"content":{"rendered":"<ul>\n<li> You can download iBatis library from http:\/\/ibatis.apache.org\/. Just make the Jar files available to your application     <\/li>\n<li> iBatis with Spring: Need to configure at least three files.\n<ol>\n<li> Spring config file (applicationContext.xml) &#8211; Define database connection parameters, the location of the SQL Map config file, and one or more Spring beans for use within the application in Spring Config file.    <\/li>\n<li> SQL Map config (SqlMapConfig.xml) &#8211; Define any iBATIS-specific configuration settings, and declare the location of SQL Map files in SQL Map config file    <\/li>\n<li> SQL Map(s) (domainObject.xml) \u2014 SQL Map files typically map domain objects (POJOs) to database objects [tables]     <\/li>\n<\/ol>\n<\/li>\n<li> In iBATIS web application, you need to use web.xml file as well    <\/li>\n<li> Steps in writing a simple iBATIS application\n<ul>\n<li>  Write a POJO for the domain object       <\/li>\n<li> Create database table to represent the domain object       <\/li>\n<li> Use the Spring configuration file to configure properties, and JDBC DataSources (iBATIS SimpleDataSource, Jakarta DBCP (Commons), and any DataSource that can be looked up via a JNDI context), define location of SQL Map file, define beans       <\/li>\n<li> The sqlMap property must be wired with a reference to an iBATIS SqlMap-Client (through SqlMapClientFactoryBean) (Spring configuration file)       <\/li>\n<li> Configure SQL Map file (SqlMapConfig.xml): For domain objects list sql map files       <\/li>\n<li> Create actual SQL Map files that will contain SQL code and the mappings for parameter objects and result objects       <\/li>\n<li> Start writing Java code. Start with the service layer. Service interface, service Interface implementation with methods for database operation using iBatis       <\/li>\n<li> Write iBatis test client that will make use of the service interfaces for database operations       <\/li>\n<li>    <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p> From: http:\/\/sitestree.com\/?p=5157<br \/> Categories:Java Short Notes<br \/>Tags:<br \/> Post Data:2008-07-11 00:50:30<\/p>\n<p>\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com\/' target='new' rel=\"noopener\">https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\t(Big Data, Cloud, Security, Machine Learning): Courses: <a href='http:\/\/Training.SitesTree.com' target='new' rel=\"noopener\"> http:\/\/Training.SitesTree.com<\/a><br \/>\n\t\tIn Bengali: <a href='http:\/\/Bangla.SaLearningSchool.com' target='new' rel=\"noopener\">http:\/\/Bangla.SaLearningSchool.com<\/a><br \/>\n\t\t<a href='http:\/\/SitesTree.com' target='new' rel=\"noopener\">http:\/\/SitesTree.com<\/a><br \/>\n\t\t8112223 Canada Inc.\/JustEtc: <a href='http:\/\/JustEtc.net' target='new' rel=\"noopener\">http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) <\/a><br \/>\n\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com'> https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\tMedium: <a href='https:\/\/medium.com\/@SayedAhmedCanada' target='new' rel=\"noopener\"> https:\/\/medium.com\/@SayedAhmedCanada <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can download iBatis library from http:\/\/ibatis.apache.org\/. Just make the Jar files available to your application iBatis with Spring: Need to configure at least three files. Spring config file (applicationContext.xml) &#8211; Define database connection parameters, the location of the SQL Map config file, and one or more Spring beans for use within the application in &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=67452\">Continue reading<\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1917],"tags":[],"class_list":["post-67452","post","type-post","status-publish","format-standard","hentry","category-fromsitestree-com","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":67448,"url":"http:\/\/bangla.sitestree.com\/?p=67448","url_meta":{"origin":67452,"position":0},"title":"Spring and iBatis: Some Notes [Will be updated later] #Java Short Notes","author":"Author-Check- Article-or-Video","date":"July 22, 2021","format":false,"excerpt":"Implementing the data access layer of a Spring application using iBATIS. Spring Framework and IBATISYou can use JDBC with Spring for sure. Spring also simplifies the use of JDBC. iBATIS can provide one more step in simplification. Using iBATIS, you can mapdata and Java objects, also make use of simplified\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65920,"url":"http:\/\/bangla.sitestree.com\/?p=65920","url_meta":{"origin":67452,"position":1},"title":"What is Spring Framework? What does it mean to J2EE developers #Java Short Notes","author":"Author-Check- Article-or-Video","date":"July 17, 2021","format":false,"excerpt":"What is Spring Framework? What does it mean to J2EE developers? Spring is a light-weight framework, very often referred as an alternative\/competitor to EJB, for the development of enterprise-type applications. Spring provides many features such as declarative transaction management, access to remote logic using RMI or web services, mailing facilities\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65975,"url":"http:\/\/bangla.sitestree.com\/?p=65975","url_meta":{"origin":67452,"position":2},"title":"Introduction to Spring #Java Short Notes","author":"Author-Check- Article-or-Video","date":"July 18, 2021","format":false,"excerpt":"Open-sourced on February, 2003 Layered J2EE application framework Inversion of Control (IoC): A Data Access Object (DAO) depends on a DataSource. Allows: code to interfaces Spring has classes to support Hibernate, Struts, and other frameworks According to many Java developers [ref:internet], J2EE patterns are sometimes cumbersome. Spring uses patterns but\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":69111,"url":"http:\/\/bangla.sitestree.com\/?p=69111","url_meta":{"origin":67452,"position":3},"title":"What is Hibernate? What does it mean to J2EE developers #48","author":"Author-Check- Article-or-Video","date":"August 12, 2021","format":false,"excerpt":"What is Hibernate? What does it mean to J2EE developersHibernate is an open source free Java package that provides easy and efficient ways to deal with relational databases. Hibernate gives the abstraction that your databases contain just objects rather than tables. You manipulate objects to insert data or to get\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65910,"url":"http:\/\/bangla.sitestree.com\/?p=65910","url_meta":{"origin":67452,"position":4},"title":"MVC : Struts : Java : Industry Web Application #Java Short Notes","author":"Sayed","date":"July 17, 2021","format":false,"excerpt":"Industries use frameworks for application development quite often. For example: Java concepts like JSP, Servlet, Swing, Bean, JDBC can be used directly to create web-applications but when such applications become big, it becomes difficult to maintain and develop them further. Hence, frameworks like struts are used to develop large web-based\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65971,"url":"http:\/\/bangla.sitestree.com\/?p=65971","url_meta":{"origin":67452,"position":5},"title":"Java Spring Topics: What spring framework brings to the table #Java Short Notes","author":"Author-Check- Article-or-Video","date":"July 18, 2021","format":false,"excerpt":"Java Spring TopicsKnowing the buzzwords does not make anyone a good developer. However, it helps. Being expert in a technology like Spring in one day is not possible, but initially getting familiar with all the aspects is helpful as you will know which Spring feature is required to solve the\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/67452","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=67452"}],"version-history":[{"count":0,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/67452\/revisions"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=67452"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=67452"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=67452"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}