Comments (3)
If you are not using trinidad then I would use a different scheduling gem (rufus-scheduler) or Quartz directly. This specific gem is built to run inside of Trinidad and utilizes servlet context and lifecycle extensions offered through Trinidad.
If I didn't understand the question then let me know.
Thanks, bsd
from trinidad_scheduler_extension.
i like to use this gem inside a rails application with tomcat without trinidad. But using a war file create with warbler.
Trinidad can be used inside a war file in tomcat?
from trinidad_scheduler_extension.
This gem is specifically for a Trinidad extension, it relies on the trinidad startup sequence and extension hooks to fire the events to start the scheduler.
While it currently doesn't support a Warbler implementation I am confident that a similar gem could be built using the same structure/code (outside of the trinidad specific startup stuff). If you decide to do that then let me know and I will help where/when I can.
You can also use the servlet container initialization hook for Quartz and a custom web.xml in Warbler to achieve a similar outcome with a war deployed app.
http://quartz-scheduler.org/documentation/quartz-2.x/cookbook/ServletInitScheduler
http://kenai.com/projects/warbler/pages/Home
Personally, I spent a good amount of time dealing with .war deployments and rails apps and eventually just ported everything I needed to Trinidad.
Thanks, bsd
from trinidad_scheduler_extension.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from trinidad_scheduler_extension.