Re: [DBCP] getConnection Timeout

2010-09-04 Thread Phil Steitz
On 9/2/10 10:20 PM, sic wrote: I'm using dbcp on the web application server whose version is commons-dbcp-1.3, commons-pool-1.5.4 on jdk1.5. It can be used to execute some DML statements when receiving about 30 ~ 150 number of data(data is less than 3 KB) peridically per minute Expected to do

[scxml] update datamodel from java

2010-09-04 Thread Azraiyl
Hello, I've a simple state machine ?xml version=1.0 encoding=UTF-8? scxml xmlns=http://www.w3.org/2005/07/scxml; version=1.0 name=Fan2 initial=Off exmode=strict datamodel data id=T expr=10/ /datamodel state id=Off onentry

Re: [scxml] update datamodel from java

2010-09-04 Thread Rahul Akolkar
On Sat, Sep 4, 2010 at 12:55 PM, Azraiyl azra...@gmail.com wrote: Hello, I've a simple state machine ?xml version=1.0 encoding=UTF-8? scxml xmlns=http://www.w3.org/2005/07/scxml; version=1.0 name=Fan2 initial=Off exmode=strict       datamodel               data id=T expr=10/      

[scxml] update datamodel

2010-09-04 Thread Azraiyl
Hello, I've a simple state machine ?xml version=1.0 encoding=UTF-8? scxml xmlns=http://www.w3.org/2005/07/scxml; version=1.0 name=Fan2 initial=Off exmode=strict datamodel data id=T expr=10/ /datamodel state id=Off onentry

Re: [scxml] update datamodel

2010-09-04 Thread Rahul Akolkar
On Sat, Sep 4, 2010 at 12:40 PM, Azraiyl azra...@gmail.com wrote: Hello, I've a simple state machine ?xml version=1.0 encoding=UTF-8? scxml xmlns=http://www.w3.org/2005/07/scxml; version=1.0 name=Fan2 initial=Off exmode=strict        datamodel                data id=T expr=10/        

Re: [scxml] update datamodel

2010-09-04 Thread Azraiyl
Sorry for double post (first posted, then registered and didn't get any reply) - To unsubscribe, e-mail: user-unsubscr...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org

Re: [scxml] update datamodel from java

2010-09-04 Thread Azraiyl
Thanks for your response. Just out of curiousity: Is this the intended behaviour of SCXML? Chapter 3.3.3: If the event clause is missing, the transition is taken whenever the cond evaluates to true. - To unsubscribe, e-mail:

Re: [scxml] update datamodel from java

2010-09-04 Thread Rahul Akolkar
On Sat, Sep 4, 2010 at 1:19 PM, Azraiyl azra...@gmail.com wrote: Thanks for your response. Just out of curiousity: Is this the intended behaviour of SCXML? Chapter 3.3.3: If the event clause is missing, the transition is taken whenever the cond evaluates to true. snip/ At a high level, the

Re: [scxml] update datamodel from java

2010-09-04 Thread Azraiyl
changing the datamodel is IMHO an event which could be triggered through getRootContext().set(...). A simple implementation would reevalute all events without and event attribute, a better implemention may ask the script engine which expression depends on what. However this is a personal opinion,

Re: [scxml] update datamodel from java

2010-09-04 Thread Rahul Akolkar
On Sat, Sep 4, 2010 at 2:03 PM, Azraiyl azra...@gmail.com wrote: changing the datamodel is IMHO an event which could be triggered through getRootContext().set(...). snip/ If this is to be done, then yes, that'd be a good hook. A simple implementation would reevalute all events without and