A possible aproach is sending the requests and responses through JMS and, and
optionally, messaging beans for EJB handling.  Either synchronous or
asynchronous handling could be supported.  The actually socket
connection/communications could be managed in/on a separate
JVM's/machines.  In my opinion, the socket connections should not be
managed within the bean container.

Leonard Thomas


Gamini de Alwis wrote:

> Hello,
> I am working on a typical shopping cart type application based on J2EE.
> I am a bit stuck with the problem of Credit Card Authorization in
> supplying credit card details to a clearing house and receiving a
> response. I would like to do this from the server side. The Vendor
> identified by us wants us to invoke an SSL socket on a given port and
> send information via a standard POST request and will return a standard
> response. Both the request and response can and will be stamped with a
> unique reference.
> The problem is the single nominated port and the fact that threads are
> handled within the J2EE container.
> Perhaps someone has been able to solve this problem and I would be
> grateful for any suggestions or possible solutions to this problem.
>
> regards
>
> Gamini de Alwis
> mailto:[EMAIL PROTECTED]
>
>> Software Developer
>> Business Manager Software
>> Tel  (03) 9813 3022. Fax  (03) 9882 5887
>>
>>
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to