• Post Reply Bookmark Topic Watch Topic
  • New Topic

Lost in the forest. Or, how would you do this?  RSS feed

 
Bob Hodges
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To all,

I'm teaching myself web programming with JSF & Facelets and I've become a little lost in how to best design/implement something. Say I have a group of backend services I want to poll and provide health status on via a JSF application. Via the JSF application, the user should be able to input data to define what service(s) to monitor. Note: the polling needs to be continuous even if no one is readin the web page. So, the following questions are driving me nuts and I'd appreciate any thoughts on how you'd do it:

1) Define a single session bean that runs a thread and uses a list within the bean to determine what to poll and then writes the results into collection objects within the bean?

2) Create a servlet invoked at startup which does the polls and is in turn polled by the bean(s) representing each service? For this I have no idea how I'd dynamically create a page that had more than one table/result view backed by different beans

3) Create multiple beans and dynamically build web pages which include multiple service status forms/areas and are pointed to the correct beans for the service.

Any thoughts, books you'd recommend or ideas would be appreciated

Bob
 
Bert Bates
author
Sheriff
Posts: 8945
17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
duplicate post deleted

Note to ranchers, you can delete your own posts if you make a dup by mistake
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!