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
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
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
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
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
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
Sending email involves a lot of processing
If I was you then I would rather use JMS to send emails (so that you can
send email asynchronously)...
Your action send a message to a JMS server to send email with details
and then that's it...
The MDB bean will scan the queue and then send the
7 matches
Mail list logo