Problem with SMTP NoOp in Commons Net

2009-04-14 Thread Pavan Kumar
Hi, I am using the commons net library for SMTP server communication. I built a java class that returns me a SMTPClient object for communication. The class behaves as - if a client object doesn't exist already , it will create a new and gives it - if a client object is already there then it

Re: [SCXML] Timers in SCXML

2009-04-14 Thread Linda Erlenhov
Hello! This may be a stupid question but: I have read through the code for the simple scheduler and I´m not sure i understand what happens. We have written a simple scxml for a small statechart containing two states with timers and used the simple scheduler as described in your previous e-mail.

Re: [fileupload] Need help for Streaming API processing

2009-04-14 Thread Robert Christian
To stream the request to a byte array, you need to first stream it to a byte array outputstream, then call getBytes(). This is generally a bad idea though since it causes the entire file to be loaded into memory. See if the api requiring the byte array (may be your own code) can take the

Re: [SCXML] Timers in SCXML

2009-04-14 Thread Rahul Akolkar
On Tue, Apr 14, 2009 at 8:19 AM, Linda Erlenhov linda.erlen...@gmail.com wrote: Hello! This may be a stupid question but: I have read through the code for the simple scheduler and I´m  not sure i understand what happens. We have written a simple scxml for a small statechart containing two