background preloader

Techno docs

Facebook Twitter

How Garbage Collection works in Java. I have read many articles on Garbage Collection in Java, some of them are too complex to understand and some of them don’t contain enough information required to understand garbage collection in Java.

How Garbage Collection works in Java

Then I decided to write my own experience as an article or you call tutorial about How Garbage Collection works in Java or what is Garbage collection in Java in simple word which would be easy to understand and have sufficient information to understand how garbage collection works in Java. This article is in continuation of my previous articles How Classpath works in Java and How to write Equals method in java and before moving ahead let's recall few important points about garbage collection in java: When an Object becomes Eligible for Garbage Collection An Object becomes eligible for Garbage collection or GC if its not reachable from any live threads or any static references in other words you can say that an object becomes eligible for garbage collection if its all references are null.

10 example of using ArrayList in Java >>> Java ArrayList Tutorial. ArrayList in Java is most frequently used collection class after HashMap in Java.

10 example of using ArrayList in Java >>> Java ArrayList Tutorial

Java ArrayList represents an automatic re-sizable array and used in place of array. Since we can not modify size of an array after creating it, we prefer to use ArrayList in Java which re-size itself automatically once it gets full. ArrayList in Java implements List interface and allow null. Java ArrayList also maintains insertion order of elements and allows duplicates opposite to any Set implementation which doesn't allow duplicates. ArrayList supports both Iterator and ListIterator for iteration but it’s recommended to use ListIterator as it allows the programmer to traverse the list in either direction, modify the list during iteration, and obtain the Iterator's current position in the list. ArrayList has been modified in Java5 (Tiger) to support Generics which makes Java ArrayList even more powerful because of enhanced type-safety. Example of ArrayList in Java 1) Creating an ArrayList Related post:

Collections Framework Overview. Introduction The Java 2 platform includes a collections framework.

Collections Framework Overview

A collection is an object that represents a group of objects (such as the classic Vector class). A collections framework is a unified architecture for representing and manipulating collections, allowing them to be manipulated independently of the details of their representation. The primary advantages of a collections framework are that it: Reduces programming effort by providing useful data structures and algorithms so you don't have to write them yourself.Increases performance by providing high-performance implementations of useful data structures and algorithms. The collections framework consists of: Collection Interfaces - Represent different types of collections, such as sets, lists and maps.

Collection Interfaces There are fourteen collection interfaces. Many of the modification methods in the collection interfaces are labeled optional. Be of a particular type.Be non-null.Obey some arbitrary predicate. Oracle JDeveloper. Release Notes Version 10.1.3x February 2007 Content Introduction Oracle JDeveloper 10g is a complete and integrated development environment for standards-based SOA applications.

Oracle JDeveloper

Oracle JDeveloper ( extends the IDE features from the previous release by adding integrated SOA development tools to provide an Integrated Service Environment workbench. Oracle JDeveloper completes the picture by further extending the IDE with the WebCenter Extension for JDeveloper. Please review the Oracle JDeveloper Release Notes Addendum for additional information not available at the time of this document's publication. General IDE Issues Incompatibility between internal CVS client and CVSNT server (5362113) In some cases binary files can become corrupted when using JDeveloper's internal CVS client against a CVSNT server. Deployment Issues EJB web service fails to deploy to JDeveloper's embedded server (5132396) and results in the exception: Database Issues Modeling Issues Toplink Issues.

TopLink Support and Certifications. JDeveloper and ADF Documentation 11g Release 1. JDeveloper - Official Home Page. RED HAT.