Java J2EE Interview Questions
Questions Answers Views Company eMail

How we can know whether proxy server up or not?

TCS,

3 8632

we cannot create an object of interface but we can create a variable of it

1 4890

There are three interfaces A,B & C. A extends B, B extends C, and C extends A.Is it multiple Inheritance? please anybody help me.....

5 9227

How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?

Oracle,

2604

What is the Spring2.5 MVC Navigation flow?

IBM,

1 5539

abstract class A{ int list []=new int [100]; A(int x,int y){ rondom n=new rondom(); for (int i==;i<100;i++); list [i]=x+r.next int(y-x+1); abstract sort (); abstract binary sarch(int temp); class B extends A{

3 4198

Use of private variable while creating properties ???

1 3384

Which one should we prefer while using bean ? managed bean annotation or faces-config

1 3045

Since we can create managed bean by two ways as, we can define the bean name in faces-config.xml file so that page can use that OR we can write annotation on bean class so that it is automatically assign to page but I want to know which one is good programming practice ? And also mention disadvantage of other which should not prefer ... Thanking you...

ASD Lab,

1966

I am newbie in J2EE & looking for strong basic behind each concept as, Why do we use private access specifier before each variable of type property bcoz ultimately to access it outside the class we use public method as getter & setter ? If we use getter & setter to access it outside the class so better we make variable as public so that it is easily available outside of the class... Please guide me why do we use as private ????

CTS,

3 5211

Can we override the main method?

4 6342

make a method which any number and any type of argument and print sum of that arguments.....

1470

can write code for serialization ?

HCL, MegaSoft,

1 3442

Difference between ActionErrors and ActionMessage?

iGate,

1 6795

how many methods are there in RequestPrccesor class?

Infosys,

2 7420


Un-Answered Questions { Java J2EE }

What is the role of java swing?

588


How many types of JDBC Drivers are present and what are they?

584


How to integrate appache with weblogic?

610


What is high level language in computer?

631


What is the difference between save() and persist() in hibernate?

206






What is the GenericServlet class?

713


J2ee is a container centric architecture. Explain.

586


What are the queues in the java collection framework? : java collections

629


What are the types of annotations?

229


What is HibernateTemplate class?

212


Can we autowire an interface?

209


why are there separate wait and sleep methods? : Java thread

661


What does setautocommit do?

633


What is the difference between spring and spring boot?

218


ALL OOPs Concepts Using Java with 1 Tiny Program – Explained!

83