Java J2EE Interview Questions
Questions Answers Views Company eMail

What is the servlet?

613

What are the differences between the servletconfig interface and the servletcontext interface?

572

What are the functions of the servlet container?

1020

Can servlet have a constructor ?

589

Why do we need a constructor in a servlet if we use the init method?

507

What is the directory structure of a war file?

701

What is a servlet context object?

617

How can the session in servlet can be destroyed?

700

What are the types of protocols supported by httpservlet ?

696

How do I use cookies to store session state on the client?

526

What are the phases of the servlet life cycle?

598

What’s the difference between genericservlet and httpservlet?

519

What’s the difference between forward() and sendredirect() methods?

568

How do I support both get and post from the same servlet?

692

What is preinitialization of a servlet?

576


Un-Answered Questions { Java J2EE }

What is the function of abstractaction class?

582


What is the better method of using jdbc in spring?

163


Can I learn java in 3 months?

528


Where to set the path?

502


Why do you use a data source object for a connection?

533






What is a method header?

539


What is the purpose of dispatcherservlet properties?

504


List the advantages of using datasource?

551


What is the simpletimezone class in java programming?

528


What is the difference between quicksort & mergesort? When should they be used? What is their running time?

645


In inglish: How to convert jar to exe files? Em português: Como converter arquivos .jar para .exe?

2147


How do you define transactions in spring?

148


When should we create our own custom exception classes?

574


What hibernate save returns?

182


What is the difference amongst jvm spec, jvm implementation, jvm runtime ?

498