<resource-ref> <res-ref-name>HazelcastCF</res-ref-name> <res-type>com.hazelcast.jca.ConnectionFactoryImpl</res-type> <res-auth>Container</res-auth> </resource-ref>
Notice that, we did not have to put
sun-ra.xml into the RAR file since it comes with the
.rar file already.
If Hazelcast resource is used from EJBs, you should configure
ejb-jar.xml for resource reference and JNDI definitions, just like we did for