• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

My first true Java EE App, some basic questions?

 
Gary Moncrief
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Warning... Enterprise Java Newbie:

Basic Application Components:

1) Core component would be a continuous data processor updating internal caches and using business logic to generate "events". These "events" are cached as well as persisted in a database.

2) Web Service to manipulate the processor configuration in real-time (without the processor code having to hit a config DB periodically)

3) Web Service or JMS Queue to serve up generated events to other subscribers

4) Web Client for reporting (cache contents/database) and configuration (calls the config web service)


I'm going to run this on Glassfish, using NetBeans 7.0.

My question resides primarily with item 1 and what it will be in a Java EE environment, running on Glassfish. Would it be a Singleton Session bean?

Thanks,
Gary


 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds more like something that users the timer server. Is it important that only on instance of this processor exists?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic