From: Ryan de Laplante <ryan_at_ijws.com>
Date: Mon, 24 Sep 2007 15:56:45 -0400
I found this book very helpful when writing a JCA resource adapter. The
spec is quite large and you'll need a book to help you:
This book is on the 1.0 spec. For my RA, the main differences between
1.0 and 1.5 were in the deployment descriptor. For that information I
downloaded the 1.5 spec:
Jörg Henne wrote:
> Binod schrieb:
>> JSR 112 specifies lifecycle of resource adapters.
>> http://java.sun.com/javaee/5/docs/api/javax/resource/spi/ResourceAdapter.html >>
>> Please look at the start() method of the RA. They do get invoked
>> during AS startup.
>> http://java.sun.com/javaee/5/docs/tutorial/doc/bnckb.html > Ah, brilliant! Just what we're looking for AND with a portable API!
>> If you want to wrap a specific protocol into a portable application,
>> then resource adapters
>> is the way to go. Note that you can also feed the incoming (non-jms)
>> traffic to an MDB.
> Sounds highly interesting as well. I'll definitely look into this.
>>> Application or EJB requesting the service by looking up a RA
>>> connection from JNDI and therefor no way to launch the service.
>> That is correct from a connector 1.0 perspective. Connector 1.5 has
>> improved on that
>> quite a bit.
> Well, it seems like I completely missed out on this great news. Thanks
> a lot for bringing me up to speed!
>
> Joerg Henne
>