Bean Lifecyle
The entire Bean objects defined in the Xml Configuration File undergoes a Standard Lifecycle Mechanism. Lifecycle interfaces like InitializingBean and DisposableBean are available. Care should be taken while using these Interfaces. Since these are Spring specific Interfaces, your application code will tightly be Coupled with the Spring Implementation. So define and use these interfaces when there is really a need.
Continue Reading »
Posted in J2EE, Spring | No Comments »
Bean Definition Configuration File
All the basic definition of the Bean classes along with the Configuration Information, their relationships with other Bean objects can be defined in the Xml Configuration File. The Schema Definition of the Bean Xml Configuration file is very vast in terms of Definitions and Functionalities and the subsequent sections aims in covering only the major configuration features.
Continue Reading »
Posted in J2EE, Spring | No Comments »
Spring Core API
The Core API in Spring is very limited and it generally involves in Configuring, Creating and Making Associations between various Business Components. Spring refers to these Business Components as Beans. The following are the Core Classes or the Interfaces that are available in the Spring for achieving the goal.
Continue Reading »
Posted in J2EE, Spring | No Comments »
Spring is a Light-Weight Framework that adopts this principle extensively for Building Java or J2ee Applications. In most of the times an Application never wants to gain access to all the services provided by the heavy-weight J2ee Container, but still will use it. In such a case, an Application can depend on the light-weight services provided by the Spring Framework/Container. How this is possible is detailed in brief in this article. Anyway Spring is not a complete replacement for J2ee Container.
Continue Reading »
Posted in J2EE, Spring | No Comments »
Hibernate is a powerful technology for persisting data in any kind of Application. Spring, on the other hand is a dependency injection framework that supports IOC. The beauty of Spring is that it can integrates well with most of the prevailing popular technologies. In this article, we will discuss on how it is possible to integrate Spring with Hibernate.
Continue Reading »
Posted in Hibernate, J2EE, Spring | No Comments »
March 27, 2008 by muralis
Java Database Connectivity or JDBC for short is set of Java API’s that enables the developers to create platform and database independent applications in java. The biggest advantage of programming in Java is its platform independence. An application written to access the MS Access database on Win 95/Win NT platform can work on Linux against Oracle database, only by changing the name of driver, provided none of the database calls it makes are vendor specific.
Continue Reading »
Posted in Database, JAVA | No Comments »