JavaBeat Feeds
|
|
|
|
|
|
|
Pages :
1
2
3
4
5
6
7
8
9
10
11
12
13
[Total Tips : 127]
|
Life Cycle of JSF Components
Author :
JavaBeat
Date : Tue Aug 12th, 2008
The JSF servlet builds the view of the requested page as a component tree that contains the information associated with all components. It also saves the view in a FacesContext instance, thereby making it possible to repopulate the page if necessary—for example, when the user doesn’t fill out a form as required. If the same page was displayed before and component states were saved, that information would also be taken into account. In this phase, JSF wires event handlers and validators (if any) to the components.
Hiding and Overriding Methods In Java
Author :
Prashant
Date : Thu Aug 7th, 2008
Here the overriding methods getX and getY in class RealPoint have the same return types as the methods of class Point that they override, so this code can be successfully compiled.
Static keyword in Java
Author :
Prashant
Date : Thu Aug 7th, 2008
static variables and methods might better have been called perClass variables and methods. They inherited this misleading terminology from C++. They are the opposite of instance variables and methods that work on a particular object.
Decorator Design Pattern
Author :
Prashant
Date : Thu Aug 7th, 2008
You want to add behavior or state to individual objects at runtime.Inheritance is not feasible because it is static and applies to an entire class.
Iterator Pattern
Author :
Prashant
Date : Wed Aug 6th, 2008
Provide a way to access the elements of the aggregate object sequentially without exposing its underlying representation.
Aggregate object is an object that contains other objects for the purpose of grouping those objects as a unit.It is also called a container or a collection.
Abstract Factory Pattern
Author :
Prashant
Date : Wed Aug 6th, 2008
Provide an interface for creating families of related or dependent objects without specifying their concrete classes.
Template Design Pattern
Author :
Prashant
Date : Wed Aug 6th, 2008
An abstract class defines various methods and has one non-overridden method which calls the various methods.
Closures in Java 7.0
Author :
Prashant
Date : Mon Aug 4th, 2008
A closure is a function that is evaluated in an environment containing one or more bound variables.(Free variables which are to be passed to the function).In some languages closures may occur when a function is defined within another function and the inner function refers to the local variables of the outer function.At runtime when outer function executes, a closure is formed consisting of inner function's code and references to any variables of the outer function required by the closure.
Inner Classes in Java
Author :
JavaBeat
Date : Sat Aug 2nd, 2008
Nested classes that are not inner classes may declare static members freely, in accordance with the usual rules of the Java programming language. Member interfaces are always implicitly static so they are never considered to be inner classes.A statement or expression occurs in a static context if and only if the innermost method, constructor, instance initializer,
Abstract keyword In Java
Author :
JavaBeat
Date : Sat Aug 2nd, 2008
As we all know,An abstract method declaration introduces the method as a member, providing its signature, return type, and throws clause , but does not provide an implementation. Every subclass of A that is not abstract must provide an implementation for m, or a compile-time error occurs.
|
|
|
|
|
Pages :
1
2
3
4
5
6
7
8
9
10
11
12
13
|
|
|
|