Tuesday 29 May 2012

Caching In Hibernate


àCache/Buffer is a tempery memory that holds results or data and uses that data or results across the multiple same request given by application

Thursday 24 May 2012

One-One Mapping

One to One UniDirectional

Association Mapping

When tables are there in association or relationship we can access one table data based on anther table data because records of one table represents the records of anther table.

Spring Web Module

Spring Web Module



Spring web module is given for two important operations

Wednesday 23 May 2012

Struts First Application



Web.xml entries will be read by web container of webserver or application server software. Struts configuration file entry is will be read by action servlet.

Introduction about Struts Resources

Struts Resources

Struts For you

Why Struts

Spring ORM Module


JDBC,Spring DAO based persistence logic is data base software dependent.

Spring ORM Module does not provide its own ORM S/W but, it provides abstract layer on the multiple ORM S/W’s like Hibernate, iBatis, JDO (Java Data Object), JPA(Java Persistent API) , Top Link

Spring DAO Module

Every Jdbc Data Source object represents one JDBC Connection pool.
JDBC Connection pool is a factory that contains set of readily available JDBC Connection object before actually being used.

Friday 18 May 2012

Thursday 17 May 2012

Inheritance Mapping

Hibernate Persistence classes are POJO classes. so they can participated in inheritance to give the advantage of re-usability  and extensibility.

Spring Core Module


Spring core module is given to support dependency Injection. This module is base module for other modules of spring.

Wednesday 16 May 2012

What is Difference between Spring and structs Frame Work


What is Difference between Spring and structs Frame Work

Hibernate Filters

Hibernate Filters

Hibernate Filters allows the Programmer to specify pre-defined criteria/condition for the persistence logic of hibernate programming
Filters represent where condition clause related conditions in hibernate mapping file and they are visible for multiple session objects of hibernate applications. These filters can be enabled or disabled dynamically at runtime on each session object level.

Tuesday 15 May 2012

Oracle Real Time Examples

Here You can see the solutions for Problem which may face...

Pagination


Pagination:
     
    When Query is select huge amount of records instead of displaying them in a single screen or single page it is recommanded to display them in multiple screens or multiple pages through “pagenation” concept.

Hibernate Bulk Operations Related Techniques(HQL,Native-SQL,Criteria-API)



Bulk Operations Related Techniques:
We can use one of the Following three techniques to manipulate more than one row at a time.
1.HQL
2.Native SQL
3.Criteria API

Hibernate With Three Connection Pool


Hibernate Software can work with three types of connection pool. They are
1.Hibernate software supplied built-in connection pool.
2.Third party supplied connection pool, like c3p0 proxool
3.Web Server/Application Server managed JDBC Connection poll.

Hibernate Built-in Tools


Hibernate supplies some built-in tools to create or alter database tables in underlying database software.
These tools are also useful to generate HB POJO class dynamically. They are

Introduction to Hibernate

What is Configuration?
ØThe Configuration class is available in org.hibernate.cfg package
ØThis Class loads hibernate configuration file
ØHibernate Configuration file contains hibernate properties such as

Monday 14 May 2012

Hibernate Identity Generator



Identity value of HB POJO class Object is the criteria value for HB Software to perform synchronization between HB POJO class object and table row.

Hibernate Persistence Operations



Persistance Operations in hibernate Environment
Single row Operations

1. save(
pojo obj)-------> to Insert record

Thursday 10 May 2012

Hibernate sample application

Here We are going to lean first hibernate sample application
we can any database like oracle,mysql,sqlserver...etc

Wednesday 9 May 2012

Spring For You

ØHistory About Spring

ØType     :java-j2ee framework

ØVersion:   3.1.1 / February 16, 2012

ØVendor:Interface 21

ØCreator:Mr RodJohnson

ØTo download:www.springframework.org

Def for spring:
“Spring is an open source,lightweight ,loosely coupled, aspect oriented, Dependency Injenction,based Framework  software of java environment to develop all kinds of java-j2ee application having Good Productivity.”

Container: 
it is a software  (or) special Application that can take care and manage complete life cycle of a given resource. That means container takes care of all the operations related to resource which are requisted for execution.

Servlet,EJB Container are heavy weight containers because they came as software. Where as spring supplied containers are light weight container because they came as pre-defined classes.


Topics in Spring
Introduction about Spring
Spring Core Module
Spring DAO Module
Spring ORM Module
Spring Web Module




                                        
Spring Software


   Spring Material 











Hibernate For You

Features of Hibernate:

1.Supports POJI/POJO Model Programming.
2.Light-Weight Technology to develop database software independent persistence logic.