RE: Starting a keel/avalon component/model
maxxam-cuDQgYkrLFxfAa1EqD/[email protected] Sat, 17 Jul 2004 11:06:00 +0200 (SAST)
| Newsgroups | gmane.comp.java.keel.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks Lou & Shash, I now have my model starting up automatically and workign correctly. My model implements the Startable interface and has start() and stop() functions. In the meta data section I have: * @model.model * name="hoj.start-comms" * id="hoj.start-comms" * logger="hoj" * activation="startup" As Shash says it only starts up on the first access to any model. I'm using jboss-struts so I guess this doesn't count as a distributed system does it Shash? Does anyone have any simple init servlet code handy? Thanks again, Max