Save info   Get password
Home Submit your blog Edit Account Rules RSS-Archive Contact


StringBuilder StringBuffer
2008-11-22 07:24:00
StringBuilder vs StringBufferStringBuffer is used to store character strings that will be changed (String objects cannot be changed). It automatically expands (buffer size) as needed. Related classes: String, CharSequence.StringBuilder was added in Java 5.0. It is identical in all respects to StringBuffer except that it is not synchronized, which means that if multiple threads are accessing it at


String Class & StringBuffer
2008-11-21 02:19:00
Difference between String Buffer and String Class : A String object is immutable. A StringBuffer object is mutable. StringBuffer object is like a String object but can be modified. A string buffer is a sequence of characters but the length and content of the sequence can be changed through certain method calls. The principal operations on a StringBuffer are append() and insert() methods. The appe


Servlet LifeCycle / Life Cycle of a Servlet
2008-11-20 05:05:00
Servlet: Servlets are server side java components which provide a powerful mechanism for developing server side java programs. Servlets are mainly used to develop Web-based applications.Servlet lifecycleServlet lifecycle is handled by the servlet container. Servlets are managed components and are managed by web(servlet) container. Servlet life cycle management is the most important responsibility
Read more: Cycle , Life Cycle

Jsp Objects / Implicit Objects in Jsp
2008-11-19 05:36:00
Jsp Implicit Objects:Implicit objects in JSP are Java objects that JSP Container makes available to developers in each page. These implicit Objects are automatically available in JSP. JSP Container provides developer to access these implicit objects in their program using JavaBeans and Servlets. These objects need not be declared or instantiated by the JSP author.They are available only within the


Hashtable Hashmap in Java
2008-11-13 07:21:00
Difference between Java Hashtable and Java HashmapHashmap can contains null values as the keys and as well as values.But Hashtable dose not allow null values as keys and values.Hashtable is syncronized. Hashmap is not syncronized.Hashtable is one of the original collections of Java but HashMap is added with Java 2, v1.2HashMap does not guarantee that the order of the map willremain constant over t


Difference between Interface and Abstract Class
2008-11-13 06:44:00
Abstract Class and Interface sA class implementing an interface must implement all of the methods defined in the interface, while a class extending an abstract class need not implement any of the methods defined in the abstract class.Abstract class does not support Multiple Inheritance . Interface supports Multiple Inheriatance.Abstract class can implemented some methods also. Interfaces cannot imp
Read more: Abstract

Java Remote Method Invocation Program
2008-11-13 03:08:00
Remote Method Invocation Sample Program Remote interface:1. The interface must be public.2. The interface must extend the interface java.rmi.Remote.3. Every method in the interface must declare that it throws java.rmi.RemoteException. Other exceptions may also thrown.HelloInterface.java import java.rmi.*;/** * Remote Interface for the "Hello, world!" example.*/public interface HelloInterface ext
Read more: Remote

Remote Method Invocation (RMI)
2008-11-13 02:46:00
Java Remote Method Invocation is a mechanism for communicating between two machines running Java Virtual Machines. RMI allows one object to invoke a method on an another object existing in other location. The other location could be on the same machine or a different one. The RMI mechanism is basically an object-oriented RPC mechanism. Remote Method Invocation (RMI) facilitates object function cal


Hibernate Interview Questions
2008-11-08 02:00:00
Java Hibernate FAQ's & Interview Questions1. What is Hibernate?Hibernate is a powerful, high performance object/relational persistence and query service. This lets the users to develop persistent classes following object-oriented principles such as association, inheritance, polymorphism, composition, and collections.2. What is ORM?ORM stands for Object/Relational mapping. It is the programmed


JAVA 6
2008-11-08 00:47:00
Java Standard Edition 6 (Java SE 6) is feature complete and stable enough for mainstream evaluation. They can be classified into two categories: Desktop and Core Improvements.The desktop improvements focus mainly on user interface (UI) performance and native OS desktop integration. The core improvements focus mainly on improving developer productivity and Java application management. Java 6 also h


Enterprise Java Beans (EJB)
2008-11-04 10:33:00
Enterprise Java Beans :Enterprise JavaBeans (EJB) technology is the server-side component architecture for Java Platform, Enterprise Edition (Java EE). EJB technology enables rapid and simplified development of distributed, transactional, secure and portable applications based on Java technology.Bean can be called as a reusable component. Enterprise Java Bean is a bean designed to run inside an EJB


JAVA SERVER FACES (JSF)
2008-11-02 02:36:00
JSFA server side user interface component framework for Java-based web applicationsA specification and reference implementation for a web application development framework– Components– Events– Validators & converters– Navigation– Back-end-data integrationStruts and JSF can be used togetherJSF provides Drag-and-drop UI components to build a web Application.Next generation Web applicat


Java Servlets 2.5 Features
2008-11-01 14:17:00
Java Servlets 2.5 UpdatesIn September 26, 2005 Sun Microsystems and the Java Specification Request 154 Expert Group issued a maintenance release of the Servlet API. Under normal circumstances, a JSR maintenance releases includes just a handful of nominally interesting specification clarifications. Jetty 6 server and Sun's GlassFish server are the two best-known servlet containers that include 2.5


Spring Interview Questions Part 5
2009-01-10 06:38:00
Spring faq's -Part 534. How the AOP used in Spring?AOP is used in the Spring Framework: To provide declarative enterprise services, especially as a replacement for EJB declarative services. The most important such service is declarative transaction management, which builds on the Spring Framework's transaction abstraction.To allow users to implement custom aspects, complementing their use of OOP w
Read more: Spring

Spring Interview Questions Part 4
2009-01-10 06:28:00
Spring faq's -Part 426. What are the types of Dependency Injection Spring supports?Setter Injection:Setter-based DI is realized by calling setter methods on your beans after invoking a no-argument constructor or no-argument static factory method to instantiate your bean.Constructor Injection:Constructor-based DI is realized by invoking a constructor with a number of arguments, each representing a
Read more: Spring

Spring Interview Questions Part 3
2009-01-10 06:15:00
Spring faq's -Part 319. What is SQLExceptionTranslator ? SQLExceptionTranslator, is an interface to be implemented by classes that can translate between SQLExceptions and Spring's own data-access-strategy-agnostic org.springframework.dao.DataAccessException.20. What are the different types of IOC (dependency injection) ? There are three types of dependency injection:Constructor Injection (e.g. Pic
Read more: Spring

Spring Interview Questions Part 2
2009-01-08 21:34:00
Spring faq's -Part 29. What is Java Server Faces (JSF) - Spring integration mechanism? Spring provides a custom JavaServer Faces VariableResolver implementation that extends the standard JavaServer Faces managed beans mechanism. When asked to resolve a variable name, the following algorithm is performed:Does a bean with the specified name already exist in some scope (request, session, application
Read more: Spring

Spring Interview Questions Part-1
2009-01-08 21:11:00
Spring faq's -Part11. What is IOC (or Dependency Injection)?The basic concept of the Inversion of Control pattern (also known as dependency injection) is that you do not create your objects but describe how they should be created. You don't directly connect your components and services together in code but describe which services are needed by which components in a configuration file. A container
Read more: Spring

Page 1 of 2 « < 1 2 > »
eXTReMe Tracker