Skip to main content

Posts

Showing posts with the label Hibernate

iBatis and Hibernate

iBATIS is a persistence framework which automates the mapping between SQL databases and objects in Java, .NET, and Ruby on Rails. The mappings are decoupled from the application logic by packaging the SQL statements in XML configuration files. iBATIS Design Philosophies: iBATIS comes with the following design philosophies: Simplicity:  iBATIS is widely regarded as being one of the simplest persistence frameworks available today. Fast Development:  iBATIS's philosophy is to do all it can to facilitate hyper-fast development. Portability:  iBATIS can be implemented for nearly any language or platform like Java, Ruby, and C# for Microsoft .NET. Independent Interfaces:  iBATIS provides database-independent interfaces and APIs that help the rest of the application remain independent of any persistence-related resources, Open source:  iBATIS is free and an open source software. Advantages of IBATIS Here are few advantages of using IBATIS: ...

Struts2 + FreeMarker Tempalte (FTL)

Struts2 + FreeMarker Tempalte (FTL) Integration example By  Viral Patel  on August 28, 2012 Welcome to Freemarker Tutorial Series. In previous post we created  Spring MVC based Hello World Freemarker Template example . We learned few APIs of freemarker and also how to integrate it with Spring MVC based application. Following are the list of tutorials from Freemarker tutorial series. FreeMarker Tutorial Series Part 1: Introduction to Freemarker Templates Part 2: Freemarker Hello World example Part 3: Freemarker + Servlet Integration tutorial Part 4: Freemarker + Spring MVC Integration tutorial Part 5: Freemarker + Struts2 Integration tutorial Today we will create a Struts2 based application that uses Freemarker FTL as view instead of JSP. This would give you a good insight in Struts2 + Freemarker integration. The application is similar to previous tutorial’s User app, where a list of users will be displayed and we can add new user. The a...