Autoboxing In java

Automatic conversion of primitive types and their corresponding object wrapper classes (eg, int and Integer, double and Double, etc).
Autoboxing is a new feature java 1.5 . It is a capability to convert or cast between object wrapper and it’s primitive was necessary to wrap a primitive type to a Wrapper class before adding it to a collection i.e is called Boxing and to unwrap it back to the primitive when it came out of the collection i.e unboxing.

Auto-boxing and Auto-Unboxing enables the primitive types to be converted into respective wrapper objects and the other way around.
Before jdk 1.5 we need to manual boxing.We have to write tedious coding for that.

Integer vinay();

int i = vinay();

Difference between autoboxing and Casting

Boxing – Boxing is when you use or make primitive type to a reference type
Casting – Casting is when you want one type to treated as another type, between primitive types and reference types

Oracle got the Sun

Oracle Corp. said Monday it has entered into a definitive agreement to buy server builder Sun Microsystems in a deal worth $7.4 billion.
Oracle will buy Sun (JAVA, Fortune 500) common stock for $9.50 per share in cash, a 42% premium from Friday’s closing price of $6.69.

Scroll bar in oracle ADF

In oracle adf, To enable to scrollbar In .jspx page.
we need to right click on .jspx .Go to page definition of file .Go to particular iterator of which you have created the table. The iterator tag will be in executable tag.In iterator tag go to rangesize.And change the rangesize to “-1” from “10” like as screenshot.


save your application.