Java J2EE Interview Questions
Questions Answers Views Company eMail

Explain the different ways for servlet authentication?

524

Explain the lifecycle of a servlet?

498

Explain the features are in servlet 3?

597

What are the difference between session and cookies in servlet? Explain

556

What do you mean by session tracking and also explain its techniques?

492

What do you mean by request dispatcher in servlet? Also explain its methods.

607

What are the types of an http request?

577

How to upload a file to the server using servlet?

527

Explain the difference between singleton and prototype bean in spring?

141

What is beanfactory and applicationcontext in spring?

174

What is the latest spring version?

172

Explain the benefits of spring framework?

161

What do you mean by configuration annotation in spring?

149

What do you mean by beanfactory in spring?

156

What do you mean by setter injection and constructor injection in spring?

229


Un-Answered Questions { Java J2EE }

Given the request path below, which are context path, servlet path and path info?

540


What is a short in java?

494


Which scripting language is the default in websphere? Jacl or jython?

572


What are advantages of exception handling in java?

576


why Bean class implements all business method of Remote interface but bean bean class not implements the remote interface

2015






Why is declarative transaction management preferred in spring?

148


What is difference between ServletResponse sendRedirect() and RequestDispatcher forward() method?

614


Can I use % with real numbers?

557


How do I write Greek ( or other non-ASCII/8859-1 ) characters to a database?

604


What are the databases that are available to be used with the web logic j2ee connector architecture?

503


What is called lazy fetching from hibernate?

249


This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }

555


What are the different ways to handle exceptions?

536


code to insert values/rows into oracle database from a java swing textfield when a button is pressed(using preparedstatements)

3881


What is servletconfig?

543