JavaBeat
calling cards | international calling cards | phone card
Search JavaBeat

JAVABEAT
home
tips
articles
QnA
forums
TIPS TOPICS
Java Basics
JSP
JSF
Spring
Hibernate
EJB 3.0
JMS
Log4j
Ant
Eclipse
Netbeans
ARCHIVE
2008 | 08 07 06 05 04 03 02 01
2007 | 12 11 10 09 08
Enter email address:

Latest JavaBeat Tips Delivered
OUR NETWORK
javabeat
planetoss
Pages : 1 [Total Tips : 10]

How to use Initialization callback methods while creating Spring bean?
Author : JavaBeat
Date : Thu Jul 24th, 2008
Springframework provides flexibility to initialize its Beans using the user defined methods. There is some scenario where application developer want to initialize the beans properties after setting all the values. The following example program demonstrates by defining a custom method to initialize the calues.

How to lazy initialize Spring beans?
Author : JavaBeat
Date : Mon Jul 21st, 2008
As we know Spring's bean factory is pre-initiate all the beans when first time creating the facory. This is good practise because if there is any dependency error everything can be resolved at the time of startup. This is not case in all the application scnarios.

Inner beans in Spring IOC
Author : JavaBeat
Date : Mon Jul 21st, 2008
Spring IOC allows Inner Beans declaration. We can declare a bean inside a beans. But, it has few restriction. Inner Beans are like annonymous beans where it is created and used on the fly. this beans cannot be used outside the enclosing beans. So, it is wise to avoid declaring the 'ID' or 'SCOPE' attributes for them. Because, these values will be ignored by the container. Only the enclosing beans can access them.

Setter Injection in Spring IOC
Author : JavaBeat
Date : Mon Jul 21st, 2008
This article presents how to write the Constructor Injection in Spring IOC. There is two types of Dependency Injection(DI) techniques we can use. 1) Setter Injection and 2) Constructor Injection.

Constructor Injection in Spring IOC
Author : JavaBeat
Date : Mon Jul 21st, 2008
This article presents how to write the Constructor Injection in Spring IOC. There is two types of Dependency Injection(DI) techniques we can use. 1) Setter Injection and 2) Constructor Injection.

How to write Throws Advice in Spring AOP?
Author : JavaBeat
Date : Tue Jul 15th, 2008
Throws Advice is used when throwing exception from the business methods. This interceptor will be called when there is any exception, so one can do any logic to candle the exception.

How to write Interception Around Advice in Spring AOP?
Author : JavaBeat
Date : Tue Jul 15th, 2008
In this tips we explore how to use the Interception Around Advice in Spring's Aspect Oriented Programming(AOP). Interception Around Advice is fundamental advice type in the Spring framework. Also this advice type is derived from other frameworks like AspectJ. So it is interoporable with other framework, other advices in the Spring AOPs are specific to Spring Framework and cannot be used in the other similar frameworks.

Simple example for Before advice and After Advice in Spring Framework
Author : JavaBeat
Date : Mon Jul 14th, 2008
This tips presents a very simple program for invoking the Before Advice and After Advice in the Spring Framework. Thsese two methods are part of Spring's AOP implementation and used as interceptor methods.

How to read xml file and inject bean reference using Spring Framework?
Author : JavaBeat
Date : Sat Jul 5th, 2008
This article presents sample source code for creating the Bean instance using the Spring Framework. This is basic example to read configuration file from the file system and create the beans from the applicationContext.xml file. This xml file define two beans Employee and Address.

What is Spring?
Author : JavaBeat
Date : Thu May 22nd, 2008
Spring is grate framework for development of Enterprise grade applications. Spring is a light-weight framework for the development of enterprise-ready applications. Spring can be used to configure declarative transaction management, remote access to your logic using RMI or web services, mailing facilities and various options in persisting your data to a database. Spring framework can be used in modular fashion, it allows to use in parts and leave the other components which is not required by the application.

 
Pages : 1

Favorites
AffiliatedAds.com
Buy movies
Access Control
Busby seo challenge contest
Sohbet
Chat
Webmaster Hosting Forum
Java Jobs
MyVideoLib
India News
Internet Advances
Sohbet
chat
Latest QnA
SCJD Tips
When we start a thread by applying start() method on it ,how does it knows that to execute run()method?
About Wrapper class in Java
How to configure weblogic 7.0 in MyEclipse?
Static Block and Static Initializer in Java

JavaBeat Website (2004-2008), India
javabeat | about us | planetoss
Copyright (2004 - 2008), JavaBeat