Archive for ‘Spring Framework’

How to reuse Tiles definitions using wildcard

How to reuse Tiles definitions using wildcard

If you are developing project in java/j2ee and using Tiles then you are aware of Tiles definition XML file. Being Templating framework, Tiles used one definition per view to render output. User can extend this definition with a defined template so all the common pages will be rendered by the template but still you...

Full Post

Spring MVC 3 view controller example

Spring MVC 3  view controller example

When I was writing post on SpringMVC-Tiles3 integration, I used one controller method index() to just return to index.jsp view. It was very stupid way to write a method to just re-direct it to a view if you don’t have anything to do in controller. Fortunately Spring 3 has a better way where you...

Full Post

Spring MVC Tiles 3 integration tutorial

Spring MVC Tiles 3 integration tutorial

One of the areas in which Spring MVC has advance compares to other frameworks is in the separation of view technologies. In this post, i will show how to integrate Apache Tiles 3 with Spring MVC. Apache Tiles is a free open-source template engine for java web frameworks. It’s based on Composite pattern and...

Full Post

Ext JS 4 Spring MVC CRUD example

Ext JS 4 Spring MVC CRUD example

In my last post on ExtJS 4 MVC, I have demonstrated the use of ExtJS 4 MVC to create a simple Create-Read-Update-Delete application using ExtJS only. Today we will go to see how to use that ExtJS part for UI and use Spring MVC to manage the books records on server side using spring....

Full Post

Spring MVC @RequestBody json example

Spring MVC @RequestBody json example

If you are developing a Rich Internet application using any of modern JavaScript MVC framework (like ExtJS etc) then you usually send an Asynchronous request to server and get the request processed. If you send an Ajax request with some parameter, on server side you will get that parameter values by request.getParameter() method. Sending...

Full Post

Step-by-Step XML Free Spring MVC 3 Configuration

Step-by-Step XML Free Spring MVC 3 Configuration

The release of Spring 2.5 reduce the burden of XML by introduction annotation based configuration, but you still needed to bootstrap Spring in XML. However in Servlet 3 and Spring 3.1 we can now drop XML completely and have 100% code based configuration. All thanks to the Servlet 3 specification. So lets see today...

Full Post

Ethical Hacking: Integrate Google CAPTCHA with Spring MVC

Ethical Hacking: Integrate Google CAPTCHA with Spring MVC

A CAPTCHA (acronym “Completely Automated Public Turing test to tell Computers and Humans Apart”) is a type of challenge-response test used in computing to determine whether or not the user is human. It’s a program that can generate and tests that humans can pass but current computer programs cannot. For example, humans can read...

Full Post

SpringMVC Hibernate CRUD Tutorial using Eclipse

SpringMVC Hibernate CRUD Tutorial using Eclipse

I am going to create today a complete End-to-End SpringMVC 3, Hibernate 3 CRUD tutorial which uses MySQL as a database to store records. This will be a simple Bookstore application where user can Create, Update, View of Delete book records. We will use Hibernate 3 as an ORM tool with Spring MVC as...

Full Post

Copyright © 2017 TechZoo - Technology Blog. All rights reserved.
Proudly powered by WordPress. Developed by 7Tech Solutions