Java J2EE Interview Questions
Questions Answers Views Company eMail

why are using HttpServlet in realtime projects and why are not using Genericservlet

2 8192

what is the difference between servlets and struts?

3 29211

why are extending GenericServlet and why are extending HttpServlet explain?

7 10578

what is the difference between doGet() and doPost()?

TCS,

6 13421

why are using type4 driver in realtime projects?

4 7748

In struts how to use regurlar formbeans using validation framework explain?

TCS,

1 3592

in struts how to use hibernate with struts>

Infosys,

1831

in struts without integrate hibernate how to use directly explain?

HCL,

1 3075

Write a java program to find out the sum of harmonic series : 1 + ½ + 1/3 + ……… up to nth term , for any value of n.

2 14547

Static Variable can referred in non-static method?

3 4249

when we create singleton design then we create private constructtor..so how JVM take private constructor to make object..but it's private..

Ness Technologies,

1 4563

lll

1 2691

why we use struts in our web application , means what was drawbacks of servlet ...pls answer

IBM,

1 4984

what is use of assert keyword in java..?

1 7225

what are configuration classes in weblogic

Motorola,

2 7693


Un-Answered Questions { Java J2EE }

How do you compare values in java?

549


What is container struts2?

531


What are the steps involved to write rmi based programs?

573


Write a program JDBCcode forfetching student database with SQL.

582


What is @activeprofiles?

166






What is the file name of hibernate configuration file?

186


How can we use spring to create restful web service returning json response?

163


What is the difference between merge and update method?

204


Why can't we make a class private in java?

539


What is variable declaration and definition?

545


Why we should not make entity class final?

170


Which type of driver provides jdbc access via one or more odbc drivers?

525


What do you mean by servlet context?

607


What is the use of swing in java?

519


What are stateless functions?

523