[EJB/JBoss] - Scheduler vs. EJB Timer Service
by evk
Hi,
Right now I have an application that's using the EJB Timer service (I have an MDB with a @Timeout public void timeout(javax.ejb.Timer t) method that is set to run every few seconds, indefinitely, as soon as the application is deployed.
Previous posts to these forums have indicated that the EJB Timer service is not in any way clustered... so if I had several Jboss nodes in a cluster, only one of them is running the Timer service, and if that single node went down, my timer would stop (and the timer is critical to my application).
So I was thinking of moving to the org.jboss.varia.scheduler.Scheduler MBean timer. But all the examples that I've seen are toy. The method invoked by the timer just logs. How do you make a Schedulable instance call an EJB method, for example? And how does deployment work if your Schedulable instance thus depends on an EJB? Right now I just have one .ear to deploy. Do I now need to deploy an .ear and a .sar? Do I need to worry about the deployment ordering?
Thanks,
--Erik
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991754#3991754
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991754
19 years, 4 months
[JBoss Portal] - Assesment of JB Portal for my needs....
by mickknutson
I can't tell you how cross eyed I am looking at the various CMS and portal solutions to decide on.
So, I was hoping to describe my general requirements, and hope that someone very familiar with JB portal can give me some insight as to how well JB Portal fits...
To start, I am creating a site to stream dance radio shows for various genre's of dance music. I also have plenty of content about each set, and the artist that performed each set. (we have thousands already) Then there will be a perpetual flash player to play these sets. Then the next phase is to integrate a shopping cart to purchase the songs from each set.
* Easy for non-developer staff to add and edit pages for the site.
* Ability for Artists to add set pages.
* SSO Integration with DB Users
* Ability to easily build application with Maven, and deploy on Dev, then PROD servers.
* Ability to use advanced Ajax for services.
* Integrated, search engine, or easy integration for content search.
* Ability to quickly and easily re-skin the overall look
Some questions:
============
* Can I deploy all portlets and libs in an ear with JB Portal?
* Is the content jsut stored with Jackrabbit? How can I synch content from DEV, QA and PROD for testing?
Are skins part of the build/war or are they part of the content stored in jackrabbit?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991747#3991747
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991747
19 years, 4 months