This topic contains 2 replies, has 2 voices, and was last updated by  vvandens 5 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1053

    Legacy User
    Spectator

    Vincent,

     

    I’m trying to use Quartz scheduler, using Spring SchedulerFactoryBean.

    My concern is about how to reattache entities from inside a job class launched by Quartz.

    Have you already used Quartz with jSpresso? Any advice?

    Regards

    Pierre

    #1754

    vvandens
    Keymaster

    Hi Pierre,

    What do you mean by “re-attach” ? Do you want something more than just re-using the entity classes (by finding fresh entities) from inside a Quartz job ?

    I’ve never played with Quartz in relationship with Jspresso yet. However, a quick (and untested) idea might be to create a dedicated spring context that only contains the faceless part of the application (i.e. everything from the model up to the backend controller). This way, you should benefit from all the features you might need in an asynchronous job based on your application.

    Again, this is just a starting point and if you wish to follow this direction, I will be glad to help fixing problems you might encounter.

     

    Best,

    Vincent

    #1757

    vvandens
    Keymaster

    And of course, if you can post back details, that would be really nice.

     

    Vincent

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘Jspresso Community Edition (read-only)’ is closed to new topics and replies.