You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Jan Algermissen <ja...@nordsc.com> on 2013/08/03 09:28:08 UTC
Choosing Java Driver for using Cassandra with Java EE7
Hi,
I plan on using Cassandra in a Java EE7 (Glassfish) project and I wonder which driver I should pick.
Can anyone make a recommendation which of the available drivers fits best into a Java EE environment?
(I looking for avoiding thread pool management issues mostly. I am not so interested in a JPA integration)
Jan
Re: Choosing Java Driver for using Cassandra with Java EE7
Posted by Jan Algermissen <ja...@nordsc.com>.
Tony,
On 03.08.2013, at 16:36, Tony Anecito <ad...@yahoo.com> wrote:
> I use the DataStax driver anm happy with it so far.
Thanks. Also the question: are you talking about https://github.com/datastax/java-driver or cassandra-jdbc?
Jan
> Also, think about if driver is being worked on as Cassandra gets updated since CQL version always getting improved so driver needs to improve wth it. So if driver developers not work on it often then you should not use it. Also, I think DataStax driver might have more users so DataStax get mre feedback for improvements and fixes.
>
> Just my 1 cent.
> -Tony
>
> From: Andrew Cobley <a....@dundee.ac.uk>
> To: "<us...@cassandra.apache.org>" <us...@cassandra.apache.org>
> Sent: Saturday, August 3, 2013 6:30 AM
> Subject: Re: Choosing Java Driver for using Cassandra with Java EE7
>
> I've used most of the java drivers under Glashfish without a problem. IMHO it's really down to the functionality you require in your application. The Java Driver form datastax has the lowest learning curve for any java programmer familiar with JDBC and I believe deals with pool management.
>
> Just my .2 cents worth
>
> Andy
>
>
> On 3 Aug 2013, at 08:28, Jan Algermissen <ja...@nordsc.com> wrote:
>
> > Hi,
> >
> > I plan on using Cassandra in a Java EE7 (Glassfish) project and I wonder which driver I should pick.
> >
> > Can anyone make a recommendation which of the available drivers fits best into a Java EE environment?
> >
> > (I looking for avoiding thread pool management issues mostly. I am not so interested in a JPA integration)
> >
> > Jan
>
>
> The University of Dundee is a registered Scottish Charity, No: SC015096
>
>
>
Re: Choosing Java Driver for using Cassandra with Java EE7
Posted by Tony Anecito <ad...@yahoo.com>.
I use the DataStax driver anm happy with it so far. Also, think about if driver is being worked on as Cassandra gets updated since CQL version always getting improved so driver needs to improve wth it. So if driver developers not work on it often then you should not use it. Also, I think DataStax driver might have more users so DataStax get mre feedback for improvements and fixes.
Just my 1 cent.
-Tony
From: Andrew Cobley <a....@dundee.ac.uk>
To: "<us...@cassandra.apache.org>" <us...@cassandra.apache.org>
Sent: Saturday, August 3, 2013 6:30 AM
Subject: Re: Choosing Java Driver for using Cassandra with Java EE7
I've used most of the java drivers under Glashfish without a problem. IMHO it's really down to the functionality you require in your application. The Java Driver form datastax has the lowest learning curve for any java programmer familiar with JDBC and I believe deals with pool management.
Just my .2 cents worth
Andy
On 3 Aug 2013, at 08:28, Jan Algermissen <ja...@nordsc.com> wrote:
> Hi,
>
> I plan on using Cassandra in a Java EE7 (Glassfish) project and I wonder which driver I should pick.
>
> Can anyone make a recommendation which of the available drivers fits best into a Java EE environment?
>
> (I looking for avoiding thread pool management issues mostly. I am not so interested in a JPA integration)
>
> Jan
The University of Dundee is a registered Scottish Charity, No: SC015096
Re: Choosing Java Driver for using Cassandra with Java EE7
Posted by Andrew Cobley <a....@dundee.ac.uk>.
I"m referring to the core driver from datastax:
https://github.com/datastax/java-driver
You should be able to build it with maven.
Andy
On 3 Aug 2013, at 16:35, Jan Algermissen <ja...@nordsc.com> wrote:
> Hi Andrew,
>
> On 03.08.2013, at 14:30, Andrew Cobley <a....@dundee.ac.uk> wrote:
>
>> I've used most of the java drivers under Glashfish without a problem. IMHO it's really down to the functionality you require in your application. The Java Driver form datastax has the lowest learning curve for any java programmer familiar with JDBC and I believe deals with pool management.
>
> With "The Java Driver form datastax" are you referring to cassandra-jdbc? Or the 'core' dirver available at https://github.com/datastax/java-driver?
>
> I tried building cassandra-jdbc from SVN like the Wiki[1] says, but got compile errors. Do you know what the quality of cassandra-jdbc is?
>
> Jan
>
>
>
>
>>
>> Just my .2 cents worth
>>
>> Andy
>>
>>
>> On 3 Aug 2013, at 08:28, Jan Algermissen <ja...@nordsc.com> wrote:
>>
>>> Hi,
>>>
>>> I plan on using Cassandra in a Java EE7 (Glassfish) project and I wonder which driver I should pick.
>>>
>>> Can anyone make a recommendation which of the available drivers fits best into a Java EE environment?
>>>
>>> (I looking for avoiding thread pool management issues mostly. I am not so interested in a JPA integration)
>>>
>>> Jan
>>
>>
>> The University of Dundee is a registered Scottish Charity, No: SC015096
>>
>
>
The University of Dundee is a registered Scottish Charity, No: SC015096
Re: Choosing Java Driver for using Cassandra with Java EE7
Posted by Jan Algermissen <ja...@nordsc.com>.
Hi Andrew,
On 03.08.2013, at 14:30, Andrew Cobley <a....@dundee.ac.uk> wrote:
> I've used most of the java drivers under Glashfish without a problem. IMHO it's really down to the functionality you require in your application. The Java Driver form datastax has the lowest learning curve for any java programmer familiar with JDBC and I believe deals with pool management.
With "The Java Driver form datastax" are you referring to cassandra-jdbc? Or the 'core' dirver available at https://github.com/datastax/java-driver?
I tried building cassandra-jdbc from SVN like the Wiki[1] says, but got compile errors. Do you know what the quality of cassandra-jdbc is?
Jan
>
> Just my .2 cents worth
>
> Andy
>
>
> On 3 Aug 2013, at 08:28, Jan Algermissen <ja...@nordsc.com> wrote:
>
>> Hi,
>>
>> I plan on using Cassandra in a Java EE7 (Glassfish) project and I wonder which driver I should pick.
>>
>> Can anyone make a recommendation which of the available drivers fits best into a Java EE environment?
>>
>> (I looking for avoiding thread pool management issues mostly. I am not so interested in a JPA integration)
>>
>> Jan
>
>
> The University of Dundee is a registered Scottish Charity, No: SC015096
>
Re: Choosing Java Driver for using Cassandra with Java EE7
Posted by Andrew Cobley <a....@dundee.ac.uk>.
I've used most of the java drivers under Glashfish without a problem. IMHO it's really down to the functionality you require in your application. The Java Driver form datastax has the lowest learning curve for any java programmer familiar with JDBC and I believe deals with pool management.
Just my .2 cents worth
Andy
On 3 Aug 2013, at 08:28, Jan Algermissen <ja...@nordsc.com> wrote:
> Hi,
>
> I plan on using Cassandra in a Java EE7 (Glassfish) project and I wonder which driver I should pick.
>
> Can anyone make a recommendation which of the available drivers fits best into a Java EE environment?
>
> (I looking for avoiding thread pool management issues mostly. I am not so interested in a JPA integration)
>
> Jan
The University of Dundee is a registered Scottish Charity, No: SC015096