Archive for май, 2010

Java tutorial/code – How to define a bean which is created using a static factory method

Following piece of code creates a bean with static method makeInstance of sampleBean2 class.

Java tutorial/code – How to make beans aliases

Aliases are used in many situations for example if a component defines a resource by some name and another component want to use that resource by different name suiting to naming of that component aliasing is useful . See following piece of code to make alias of a bean. Here CAdataSource aliased to CBdataSource and [...]

Задвижван с помощта на WordPress | Compare Cell Phone Plans at iCellPhonePlans.com | Thanks to Cheap Palm Pixi, Bromoney and Wordpress Themes