Candibiotic
News Update :

Interview Questions

Thursday, November 20, 2008

These questions were asked at Synechron - Pune
1) Consider a Person class having attributes: First Name and Last Name, and if 1000 instances are created that contain duplicates, suggest a way to remove these duplicate objects.

2)Difference between JSF and Struts?

3) What is a listener in a servlet?

4) What is AOP in Spring, how does it work? Does it work on proxies?

5)What are hashcodes and when to use equals()?

6)What is synchronization, can a class be synchronized?

7)What are the strategies that help you define mapping for classes?

8)Can you have a transactional flow over Web service?

9)What are the elements inside a web service and whats the top level element of a web service?

10)How would you propagate an error from a Web service to the client program?

11)How would you create your own unchecked exception class?
Share this Article on :

3 comments:

अनिकेत सावंत said...

ABOUT SERVLET LISTENERS
=======================

A listener can be used to monitor and react to events on a servlet's life cycle by defining listener objects whose methods get invoked when life cycle events occur.

Application event listeners are classes that implement one or more of the servlet event listener interfaces. Servlet event listeners support notification for state changes in the ServletContext and HttpSesion objects, specifically:

* Servlet context listeners are used to manage resources or state held at a VM level for the application.
* HTTP session listeners are used to manage state or resources associated with a series of requests made into a web application from the same client or user.

You can have multiple listener classes listening to each event type and specify the order in which the container invokes the listener beans for each event type.

Varun Gupta said...

I have added your links at my blog. You can check it out.
I have already sent you a link to change the template.

vampire_cute said...

hi...

Nice blog...actually but I'm not quite understood about the topic..

he..he...

Thank you for visiting my blog^_^

Post a Comment

 

© Copyright Vinayak Wins 2010 -2011 | Design by Herdiansyah Hamzah | Published by Borneo Templates | Powered by Blogger.com.