, Java creates a copy of the variable being passed in the method and then do the manipulations. Hence the change is not reflected in the main method.
Back
.ear files
Front
enterprise java beans
Back
Object relational mappin
Front
The mapped objects in a Java class to the tables of the relational database using metadata which describes the database and object mapping. The working method is to transform data from one representation to another.
Back
abstract class
Front
a class that defines attributes and methods for subclasses but is never instantiated
Back
get() vs load()
Front
load will throw exception instead of returning a null
Back
JSF
Front
JavaServer Faces
(UI) designing framework for Java Web Applications developments, uses MVC design
Back
Hibernate methods
Front
save, saveorupdate, get, load
Back
war files
Front
The files that need to development of web application (HTML, java scripts, JSP) included with a *.war file extension.
Back
components of J2EE applications
Front
Client-tier components. Run on the client machine.
Web tier components. Run on the J2EE server.
Business tier components. Run on the J2EE server.
Enterprise information system software (EIS software).Runs on the EIS server.
Back
Streams
Front
the Stream API is used to process collections of objects. A stream is a sequence of objects that supports various methods which can be pipelined to produce the desired result.
Back
Hashmap vs Hashtable
Front
hashtable is synchronous, but doesn't allow null keys or values.
Back
Checked exceptions
Front
exceptions that are checked at compile time. If some code within a method throws a checked exception, then the method must either handle the exception or it must specify the exception using throws keyword.
IOException, FileNotFound
Back
Unchecked exception
Front
An exception that is not checked by the compiler, and therefore, a programmer may choose to handle or manage these types of exceptions. Examples include null pointers and array index of bounds.
Back
servlets
Front
Server side component that provides a powerful mechanism to create server side programs. There are servlets available with a design for various protocols. Servlet is also server and platform independent. Most commonly use protocol for the servlet is Hypertext Transfer Protocol (HTTP).Also, a servlet is a pure java object.
Back
multithreading
Front
feature that allows concurrent execution of two or more parts of a program for maximum utilization of CPU. Each part of such program is called a thread. So, threads are light-weight processes within a process
Back
web components
Front
servlets and JSP
Back
Hibernate
Front
Hibernate is an open source object-relational mapping and query service which facilitate to write Hibernate Query Language (HQL) scripts
Back
ArrayList vs LinkedList
Front
Insertions/removals are easy and fast in LinkedList as compared to ArrayList because there is norisk of resizing array and copying content to new array if array gets full . ArrayList also needs to be update its index if you insert something anywhere exceptat the end of array.
LinkedList has more memory overhead than ArrayList because in ArrayList each index onlyholds actual object (data) but in case of LinkedList each node holds both data and address