Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How the listeners work s basically

 
jacob deiter
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any one in Emprise application ,we use listener such queue listener, message listener ,port listener etc. How the listeners work s basically??


Listener keep on checking any particular event occurs or not?. Then jvm utilize more resource for this??
 
Sumit Patil
Ranch Hand
Posts: 296
Eclipse IDE Firefox Browser Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This might be helpful

Listeners
 
Campbell Ritchie
Sheriff
Posts: 48652
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sumit Patil wrote:This might be helpful

Listeners
Nice article.
 
jacob deiter
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read the article ,it is good. but does not contain how the listener work details in depth

Could you refer some thing else
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you told us what you do understand about how listeners work, then we could fill in the gaps. Right now we have to guess what you do or do not understand, which is a hit-or-miss proposition, and thus not very appealing. This is of course true for all questions, not just this one.
 
jacob deiter
Ranch Hand
Posts: 584
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There they are saying that concept of listener and how to configure the listener

But I like to know the low level implementation

EX:
1) Port is a memory area
2) JVM keep on checking that memory area whether any signals appears there or not?
3) If any signals appear then it has to activate the listener?

I am not sure about the correctness of my points??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic