Skip to main content

Re: Cassadra Data Stax core driver and Glassfish - Was: Experience with Easy-Cassandra in Glassfish?

No replies
emailnbw
Offline
Joined: 2008-05-28
Points: 0

Hi Jan,

Check out the JCA[1] spec (the Maintenance Release is part of EE7/GF4, the FR is EE6/GF3.1.x) and if you need to support transactions then look at the JTA[2] spec too.

Also, the Oracle EE samples project has a sample JCA connector for bi-directional EE server to IMAP.

-Noah

[1] - http://jcp.org/en/jsr/detail?id=322
[2] - http://jcp.org/en/jsr/detail?id=907

On Aug 4, 2013, at 5:39 AM, Jan Algermissen wrote:

>
> On 02.08.2013, at 20:31, Jan Algermissen wrote:
>
>> Hi,
>>
>> has anyone used Cassandra together with Glassfish and can share experiences?
>
> For the moment I have settled for this driver:
>
> https://github.com/datastax/java-driver
>
> One question regarding its use in Glassfish: The driver does its own thread management and connection pooling. AFAIU this is - going by the book - forbidden for Java EE applications.
>
> Do you think I will run into problems due to conflicts between GF's thread management and the driver's?
>
> Can you point me to some references where I could start digging into how to adjust the driver for compliant use in Java EE? At the moment I do not really have a clue where to start.
>
> Jan
>
>
>
>
>>
>> Specifically I am looking at using Easy-Cassandra wich is supposed to integrate with JPA. Does anyone have production experience with it?
>>
>> Basically, I wonder whether some Cassandradriver (doing its own thread pooling) will interfere with a JavaEE.
>>
>> Jan
>