Asked Questions (AQ)

Questions that were asked indirectly, ie via a Google search. Their authors did not ask directly on the mailing lists.

(open source project rule : whatever amount of documentation you write, people will not find it. They will say ‘documentation is lacking’)

So here are those questions :


Can OpenWFEru read participants from database ?

Yes.

Densha does it somehow for its ‘store participants’, this makes for a good example :

#
# register a participant per workitem store

class << $openwferu_engine

  #
  # Reloads the store participants as participants to the engine.
  # Returns how many store participants were [re]registered.
  #
  def reload_store_participants

    stores = []
    begin
      stores = WiStore.find(:all)
    rescue Exception => e
    end

    stores.each do |store|
      register_participant( 
        store.regex, 
        OpenWFE::Extras::ActiveStoreParticipant.new(store.name))
    end

    stores.size
  end
end

(taken from densha/config/openwferu_engine.rb)

There are many variations on the theme “draw information from the database to list participants”.

The users mailing list is open for questions.

Does OpenWFEru run on JRuby ?

Yes, thanks to the work of Nicolas Modrzyk.

Some IO bound listeners were not working last time we checked but they are not very important.

The core of OpenWFEru works on JRuby.