Advanced Data Grid (AdvancedDataGrid) in Flex

Adobe Flex has DataGrid control since its inception. However, in Flex 3, Adobe introduced a new component called Advanced Data Grid. This amazing component can display hierarchical data. This hierarchical data can be ...

Open Closed Principle ( OCP )

What makes your application object oriented ? Answer is : Adherence to principles of Object Technology. If you have violated principles of Object Technology while designing your application then your application ...

What is Object Technology

Obects and Classes - there is hardly any programmer today who does not understand the meaning of these two terms in software programming. However, there are very few projects that are truely object oriented. Object Orientation is not only about ...

Auto-Wiring in Spring

Auto-wire can help you keep the configuration file small. Autowire is the concept where Spring will automatically try to auto...

Dependency Injection in Spring using Constructor

Bean-Wiring in Spring using Constructor Arguments ...

Wiring Collections in Spring

Consider you have two beans called InvoiceManager and InvoiceDAO. InvoiceDAO implements an interface called IInvoiceDAO. You want services of InvoiceDAO in InvoiceManager but do not want InvoiceManager to know about ...

Inner Beans in Spring Framework

In your application design , you may come across a need to make one bean composed of another bean such that, one is the whole and the other is the part. And in this whole-part relationship, you do not want the part to be...

Initialization & Destruction of Beans in SpringFramework

The life-cycle of the beans is managed by Spring i.e. Spring will create and destroy the beans you have configured in application.xml file. Typically destruction of the beans happen on ...

Singleton v/s Prototype in SpringFramework

If in application.xml file the singleton property in bean element is left blank, spring will consider singleton="true" by default. If you specify singleton="false" then container will ...

Lifecycle of Bean in Springframework

Application Bean(s) are instantiated by Spring Container. There are series of steps that are executed in making the bean ready for applications to use. These are known as life-cycle steps which are...

IOC Bean Containers in Spring

There are two most significant containers in spring viz. BeanFactory, ApplicationContext. These containers provides...

AOP in Spring

AOP - Aspect Oriented Programming is a very beautiful programming paradigm. In many business applications you need services like transaction management, logging, security etc. There is no doubt that there are reusable...

Getting Started with Spring ( IOC in Spring)

At the heart of Spring Framework is the implementation of design principle called - Dependency Inversion Principle. Also known as IOC. The term IOC is popularized Martin Fowler. Consider you have a High Level Component that implements business logic of a use case. It needs to interact (invoke methods) with some low level components that...

Hibernate Configuration ( Managed & Non-Managed Environment )

Hibernate can be configured to obtain or create connections to database in both - managed and non-managed environment. Learn more...

Hibernate Architecture ( Core Interfaces in Hibernate )

The 5 core interfaces in hibernate are used in almost all applications. Find out more...

One to Many in Java Persistence API

One to Many and Many to One is a very common relationship between tables in the database. JPA provides mechanism to map this relationship to Objects using............

Accessing Session EJB(s) in ejb 3

Session ejb(s) are usually not created and destroyed each time they are used. The ejb container maintains the pool of instances as per the initial size configured for the pool. The moment the ejb container starts........

What are EJB (s) ?

EJB (s) are non-trivial, nearly independent and replaceable part of your applications that offers set of services behind a well defined interface. They are reusable components that implement business logic and hence also known as business components. The components are managed (created & maintained) by ...

What are Enterprise Applications

Enterprise Applications are applications that serve n number of users across multiple locations and support n number of features. Unlike simple applications...

Anemic Domain Model

This is a model where you have business services written in Classes with each function in it  providing some signficant service behavior and domain objects having only setter getters with no...