Bookmark Topic Watch Topic
  • New Topic

Question about Listeners

 
Dean Jones
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Report post to moderator
Just curious about the following:

A) How often are Listeners used in real-world Servlets?

B) How often are Listeners used/questioned in the exam?

From a personal standpoint, I can see listeners being useful at specific times, but not used a lot and not common (seen maybe once or twice in a webapp)

However, I'm worried that this is one of those things that will be on the exam that is pounded on even though it doesn't hold as high of a value in the real world. I've just noticed that in other exams I have taken for C, C++ and PHP that for some reason the exam creators pick some obscure and not commonly used feature and pound it into the exam multiple times neglecting a real-world perspective just to trick the exam taker.

Although, since I'm new to Java and Servlet/JSP technology, I am probably wrong. Just a guess at first glance.

So, are they used a lot in real-world applications? If so or even if not, how often are then on the exam?
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Report post to moderator
Since the listeners for the context and session were introduced, I rarely see a new application that does not use them. I also do quite a bit of training, and I cannot tell you how often a student asks a question where the answer has to do with implementing a listener. I would go so far as to say that if applications are not using listeners, then it probably has to do with programmers not knowing how to leverage the technology properly.

As for the exam, you can expect two questions at the very least.

-Cameron McKenzie
 
Dean Jones
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hmm... maybe an instance of how they're used typically?

I'm used to PHP for web development and listeners aren't really there, so I just can't see an way of using them with my current mindset...
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65342
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Closed in favor of this post.
 
    Bookmark Topic Watch Topic
  • New Topic