Re: JCA Custom Adapter for SMTP

Sivakumar Thyagarajan <[email protected]> Wed, 2 Jan 2008 16:57:37 +0530
Newsgroups gmane.comp.java.sun.connector
Message-ID <[email protected]>
mcayci wrote:
> Hello,
> 
> I posted this question to forums.java.sun.com but did not get any replies. 
> I am trying to write a JCA custom adapter that makes outbound connection to
> an email server using SMTP protocol. 
> 
> I have already looked at
> http://www.theserverside.com/tt/articles/article.tss?l=J2EE1_4.  However,
> the author was showing how to write a JCA adapter for inbound communication
> by using JCA 1.5.
> 
> I would appreciate if anyone has any working sample code that can share with
> me.

There is a good technical article "Creating Resource Adapters with 
J2EE Connector Architecture 1.5" that tries to explain how a JavaMail 
resource adapter (both inbound and outbound) could be built.
http://developers.sun.com/appserver/reference/techart/resource_adapters.pdf

You could find the mailconnector code by clicking on the "Download 
J2EE 1.4 Sample Applications" link in
http://java.sun.com/javaee/reference/code/index.jsp

Thanks
--Siva.

> 
> Thanks in advance,
> 
> Mustafa

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