Skip to main content


Showing posts from April, 2011 - A Private Search Engine Your searches should be private. We make sure they really are.  Private Search in Action  We don’t track you  We don’t store your searches in any identifiable way  We don’t store your IP address in our services Your privacy is important.  There are no traces of your activities and personal identity in our servers.  You can learn more about privacy in our blog  We don't like cookies!

Freewares / Free Softwares - 21 Apr 2011

Microsoft Office 365 Cloud computing appears to be catching up as it is a great cost saving alternative. With Microsoft Office 365 you can work from virtually anywhere - get automatically updated email, calendar, and contacts on the devices you use most, including PCs, Macintosh computers, iPhone, Android phones, Blackberry smartphones, Windows Mobile, and Windows Phones. It is a subscription service for for professionals and small businesses that combines the familiar Microsoft Office Web Apps with a set of web-enabled tools that are easy to learn and use, that work with your existing hardware. Backed by a robust security, reliability, and control you need to run your business. Cloud-based Office 365 from Microsoft is now available as a public beta for anyone to try out. Later this year it would be offered as two different plans with a 99.9 percent up time for the entire service. You can check out the beta at

Java J2EE Interview Questions and Answers - Part 7

What is connection pooling? - With servlets, opening a database connection is a major bottleneck because we are creating and tearing down a new connection for every page request and the time taken to create connection will be more. Creating a connection pool is an ideal approach for a complicated servlet. With a connection pool, we can duplicate only the resources we need to duplicate rather than the entire servlet. A connection pool can also intelligently manage the size of the pool and make sure each connection remains valid. A number of connection pool packages are currently available. Some like DbConnectionBroker are freely available from Java Exchange Works by creating an object that dispenses connections and connection Ids on request. The ConnectionPool class maintains a Hastable, using Connection objects as keys and Boolean values as stored values. The Boolean value indicates whether a connection is in use or n

Java J2EE Interview Questions and Answers - Part 6

What are the types of statements in JDBC? - Statement: to be used createStatement() method for executing single SQL statement PreparedStatement — To be used preparedStatement() method for executing same SQL statement over and over. CallableStatement — To be used prepareCall() method for multiple SQL statements over and over. What is stored procedure? - Stored procedure is a group of SQL statements that forms a logical unit and performs a particular task. Stored Procedures are used to encapsulate a set of operations or queries to execute on database. Stored procedures can be compiled and executed with different parameters and results and may have any combination of input/output parameters. How to create and call stored procedures? - To create stored procedures: Create procedure procedurename (specify in, out and in out parameters) BEGIN Any multiple SQL statement; END; To call stored procedures: CallableStatement csmt =

Java J2EE Interview Questions and Answers - Part 5

Which containers use a Border layout as their default layout? - Window, Frame and Dialog classes use a BorderLayout as their layout. Which containers use a Flow layout as their default layout? - Panel and Applet classes use the FlowLayout as their default layout. What are wrapper classes? - Wrapper classes are classes that allow primitive types to be accessed as objects. What are Vector, Hashtable, LinkedList and Enumeration? - Vector : The Vector class provides the capability to implement a growable array of objects. Hashtable : The Hashtable class implements a Hashtable data structure. A Hashtable indexes and stores objects in a dictionary using hash codes as the object’s keys. Hash codes are integer values that identify objects. LinkedList: Removing or inserting elements in the middle of an array can be done using LinkedList. A LinkedList stores each object in a separate link whereas an array stores object refe

Java J2EE Interview Questions and Answers - Part 4

What is an applet? - Applet is a dynamic and interactive program that runs inside a web page displayed by a java capable browser. What is the difference between applications and applets? - a)Application must be run on local machine whereas applet needs no explicit installation on local machine. b)Application must be run explicitly within a java-compatible virtual machine whereas applet loads and runs itself automatically in a java-enabled browser. d)Application starts execution with its main method whereas applet starts execution with its init method. e)Application can run with or without graphical user interface whereas applet must run within a graphical user interface. How does applet recognize the height and width? - Using getParameters() method. When do you use codebase in applet? - When the applet class file is not in the same directory, codebase is used. What is the lifecycle of an applet? - init() method - Can

Critical requirement for Java

Hi This is regarding a opening with our client (Indian Based company) Experience : 2 - 3 years Skills : EJB, Servlets, JSP, JDBC, JNDI, RMI/IIOP, JTA/JTS, JMS, JavaMail, JSF HTML/ XHTML, JavaScript, Applet, J2ME, J2SE, SWING, SWT, Eclipse RCP, Macromedia Flex, ActiveX Apache Tomcat, JBoss, and Reporting tool as Jasper Work Location: Bangalore If u are interested please revert back with ur Update profile @ Regards, Shushupthi.R Mind Select Consultants Pvt Ltd (Formerly CRV Consultants Pvt Ltd) Ph :(080) 42459100/50 Email: URL:

Java J2EE Interview Questions and Answers - Part 3

What is a cloneable interface and how many methods does it contain? - It is not having any method because it is a TAGGED or MARKER interface. What is the difference between abstract class and interface? - a) All the methods declared inside an interface are abstract whereas abstract class must have at least one abstract method and others may be concrete or abstract. b) In abstract class, key word abstract must be used for the methods whereas interface we need not use that keyword for the methods. c) Abstract class must have subclasses whereas interface can’t have subclasses. Can you have an inner class inside a method and what variables can you access? - Yes, we can have an inner class inside a method and final variables can be accessed. What is the difference between String and String Buffer? - a) String objects are constants and immutable whereas StringBuffer objects are not. b) String class supports constan

Java J2EE Interview Questions and Answers - Part 2

What is Garbage Collection and how to call it explicitly? - When an object is no longer referred to by any variable, java automatically reclaims memory used by that object. This is known as garbage collection. System. gc() method may be used to call it explicitly. What is finalize() method? - finalize () method is used just before an object is destroyed and can be called just prior to garbage collection. What are Transient and Volatile Modifiers? - Transient: The transient modifier applies to variables only and it is not stored as part of its object’s Persistent state. Transient variables are not serialized. Volatile: Volatile modifier applies to variables only and it tells the compiler that the variable modified by volatile can be changed unexpectedly by other parts of the program. What is method overloading and method overriding? - Method overloading: When a method in a class having the same method name with differen

Java J2EE Interview Questions and Answers - Part 1

What is the difference between procedural and object-oriented programs? - a) In procedural program, programming logic follows certain procedures and the instructions are executed one after another. In OOP program, unit of program is object, which is nothing but combination of data and code. b) In procedural program, data is exposed to the whole program whereas in OOPs program, it is accessible within the object and which in turn assures the security of the code. What are Encapsulation, Inheritance and Polymorphism? - Encapsulation is the mechanism that binds together code and data it manipulates and keeps both safe from outside interference and misuse. Inheritance is the process by which one object acquires the properties of another object. Polymorphism is the feature that allows one interface to be used for general class actions. What is the difference between Assignment and Initialization? - Assignment can be do

Contact Form


Email *

Message *