Re: email within action

2007-06-25 Thread Oguz Kologlu
Depends on what you want to do really. As Guru points out you can use Web Services though that can grow unwieldy. For something light and pretty straightforward you may just want to use JSON (javascript object notation) or Xml HttpRequests. Have a look at the showcase project in S2 on how t

RE: email within action

2007-06-25 Thread Raghupathy, Gurumoorthy
Users Mailing List Subject: Re: email within action Hi Thank you. This was quite enlightening and gets me in the correct direction. Being a newbie, I am unabashed to ask another associated question. Can one use JMS as a replacement for RMI? I am looking for a very lightweight api to just allow

Re: email within action

2007-06-25 Thread Chris Pat
Hi Thank you. This was quite enlightening and gets me in the correct direction. Being a newbie, I am unabashed to ask another associated question. Can one use JMS as a replacement for RMI? I am looking for a very lightweight api to just allow a client to call an objects method on the server

Re: email within action

2007-06-25 Thread Oguz Kologlu
On 25/06/2007, at 10:33 PM, Chris Pat wrote: Hello How can I send the email asynchronously? My timeframe is the lifecycle of the action and my browser session. Well you will probably not be doing the emailing async but rather firing off an async request to send an email ( eg send "hello wor

Re: email within action

2007-06-25 Thread Chris Pat
Hello How can I send the email asynchronously? My timeframe is the lifecycle of the action and my browser session.Can I really get a mail session and send from within an action? Doesnt that assume I am threading the process? When would this breakdown? At 100/hr or 1000/hr? Thank you. Og

Re: email within action

2007-06-25 Thread Oguz Kologlu
yes, The main issue will response times if you a send emails synchronously ( if you can you send async). Async will definitely scale better since the client isn't blocking a thread for nothing. Simultaneous clients should be no problem as long as you follow the same threading rules as every

RE: email within action

2007-06-25 Thread Raghupathy, Gurumoorthy
d the email one by one ... Regards Guru -Original Message- From: Chris Pat [mailto:[EMAIL PROTECTED] Sent: 25 June 2007 12:35 To: Struts Users Mailing List Subject: email within action Hello Is it possible to send an email within an action? How/What are the issues? Is this scalable?

email within action

2007-06-25 Thread Chris Pat
Hello Is it possible to send an email within an action? How/What are the issues? Is this scalable? How does it play with the framework and multiple simultaneous clients? Any insight would be appreciated.