Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1869

Example of Control Set for Quartz SEAM Interation

    Details

    • Type: Task
    • Status: Open (View Workflow)
    • Priority: Optional
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0.BETA1
    • Fix Version/s: None
    • Component/s: Examples
    • Labels:
      None
    • Environment:

      Any OS. JBoss2_0B project.

    • Affects:
      Interactive Demo/Tutorial
    • Patch Instructions:
      Hide
      The dev sql file inside the project contains sample data.

      The used jar list (to be added to the attached project) is attached.
      Show
      The dev sql file inside the project contains sample data. The used jar list (to be added to the attached project) is attached.
    • Estimated Difficulty:
      Medium

      Description

      The attached sample is an attept to create a control interface to SEAM asynchronous method using Quartz as scheduling engine.
      I was asked to do this in the related forum thread: I am not sure it is near to the desired functionalities, but it could be used as a starting point (or possibly as a negative sample).
      The sample is very raw and I have used SEAM too short to be sure I did not make to stupid things, but if the idea is useful, I am sure other people will improve it.

      Notes:

      • The sample use quartz integrated in SEAM as it currently is: a support to asynchronous method
      • Quartz is used with its in-memory db, the persistent status is kept by the application usign custom Entities
      • Since I am a newby in SEAM, I preferred to make some custom classes for supporting CRUD operations since it was difficult to me to get the SEAM framework to do more that the simple things showed in the samples

      TODO:

      • it could be better to use some well known components library for the interface instead that my custom controls (i.e Trinidad)
      • the entities I made to keep the application status use a table schema very similar to the quartz schema: it could be a good idea in a future to be able to use some entity model over the quartz schema
      • it would be usefull to add the feature to upload the classes to be scheduler directly by the web interface, mayby using a classloader chain for supporting hot versioning.

        Gliffy Diagrams

          Attachments

          1. jarList.txt
            1 kB
          2. scheduler_v2.zip
            142 kB
          3. scheduler.zip
            131 kB

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                pierospinelli Piergiuseppe Spinelli
              • Votes:
                1 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 weeks
                  3w
                  Remaining:
                  Remaining Estimate - 3 weeks
                  3w
                  Logged:
                  Time Spent - Not Specified
                  Not Specified