J2EE

Hibernate Framework and Architecture

Hibernate

Hibernate Framework Hibernate framework simplifies the development of java application to interact with the database. Hibernate is an open source, lightweight, ORM (Object Relational Mapping) tool. An ORM tool simplifies the data creation, data manipulation and data access. It is a programming technique that maps the object to the data stored in the database. The ORM tool internally uses the ... Read More »

How to integrating DWR with Spring MVC

DWR: Easy AJAX for JAVA DWR is a RPC library which makes it easy to call Java functions from JavaScript and to call JavaScript functions from Java (a.k.a Reverse Ajax). DWR has a number of features like call batching, marshalling of virtually any data-structure between Java and Javascript (including binary file uploading and downloading), exception handling, advanced CSRF protection and ... Read More »

Resource Forwarding – Getting Page Response using DWR in Spring MVC

By this post I would like to describe my recent exposure with DWR2.0 and Spring2.0.Recently I got chance to develop my projects using Spring2.0 Framework. I really enjoyed working with Spring. Technologies reuired : 1).Spring MVC 2).DWR for AJAX calls 3).Hibernate3.0 4).Acegi security 5).Tiles 1.3 6).JSTL 1.1 DWR provides sufficient amount of support to all our ajax calls requirement.It allows ... Read More »

How To Set Fake User Agent

Java

How to set fake user agent What is user agent? User agent is software agent that is acting on behalf of a user. For example, an email reader is a mail user agent, and in the Session Initiation Protocol (SIP), the term user agent refers to both end points of a communications session. User agent acts as a client in ... Read More »

How To Avoid Memory Leak in Java

j2ee

How to avoid Memory leak issue in Java What is Memory Leak? Memory leak mainly occurs when a program does not release the memory it has obtained for temporary use, it is the condition where the available computer memory reduces gradually there by resulting in poor performance. How to determine if Memory Leak exists in a Java application? If the ... Read More »