RE: Starting a keel/avalon component/model

maxxam-cuDQgYkrLFxfAa1EqD/[email protected] Sun, 18 Jul 2004 19:50:50 +0200 (SAST)
Newsgroups gmane.comp.java.keel.user
Message-ID <[email protected]>
Hi Shash,

Hmmm. Doesn't jboss-struts use JBossMQ by default. Mine certainly does. I
know this becuase one of my models explicity calls the execute of another
model using JMS. I found a class called KeelJmsClientJBossMQ somewhere and
used that as a basis for my call.

The reason I'm doing this is not to build a distributed system (although
that may happen in the future), but rather because I need JMS to process
messages from an external system, struts for the web interface and also
need to get the whole thing into a single VM.

Is there a version of jboss-struts that doesn't use JBossMQ for it's
internal comms?

Anyway, my startable model only instantiates on the first struts access to
a model and not at server time start.

Thanks,
Max



> Max,
>
>> 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?
>>
> Well, it is possible to use a JMS (JBossMQ) based distributed deployment
> within JBoss, and in that case it would be.  But, not using jboss-struts.
> I
> am not recommending, though, that you change over to JBossMQ (Mike, I
> think,
> mentioned that there weren't any advantages to be gained by using JBossMQ
> if
> the client and server side Keel's resided within the same JBoss instance).
>
>> Does anyone have any simple init servlet code handy?
>
> Sorrry...not me!  Haven't written a servlet, since, oh, Dec. '99 (i.e.
> when I
> started using a framework, Expresso) :-)
>
> Shash
> _______________________________________________
> User mailing list
> [email protected]
> http://lists.keelframework.org/listinfo.cgi/user-keelframework.org
>