This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Singleton Deployment?

 
Ginni Machamer
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a singleton (collection of POJO objects) I want to make available to all apps on my OC4J app server. I have searched, but failed to find, what I need to do to deploy this singleton, get it loaded initially, refresh it once a day, and then access it from another application.

Can anyone point me to some reference(s) on this, please?

Thanks!

Ginni
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Put it in the application context, use Quartz to update it daily.

As far as using it in *another* application, that's a different issue, and depends on several factors. One of the most general-purpose solutions would be to expose the data as a web service.

This isn't really a general Java question; it should probably be in servlets... or something.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic