Giter Club home page Giter Club logo

Comments (3)

abrandoned avatar abrandoned commented on September 9, 2024

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.

francescoagati avatar francescoagati commented on September 9, 2024

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.

abrandoned avatar abrandoned commented on September 9, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.