Choosing Java Driver for using Cassandra with Java EE7

2013-08-03 Thread Jan Algermissen
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

2013-08-03 Thread Andrew Cobley
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 jan.algermis...@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

2013-08-03 Thread Tony Anecito
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.e.cob...@dundee.ac.uk
To: user@cassandra.apache.org user@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 jan.algermis...@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

2013-08-03 Thread Keith Wright
I definitely recommend the datastax driver so long as you plan on using cql3.  
Its binary protocol allows multiplexing, is vnode token aware, and does not 
require serialize/deserialize to thrift.  We used astyanax before and it did 
work well and has support (aka recipes) for standard usage cases like scans.

Tony Anecito adanec...@yahoo.com wrote:



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.e.cob...@dundee.ac.uk
To: user@cassandra.apache.org user@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 
jan.algermis...@nordsc.commailto:jan.algermis...@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

2013-08-03 Thread Jan Algermissen
Hi Andrew,

On 03.08.2013, at 14:30, Andrew Cobley a.e.cob...@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 jan.algermis...@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

2013-08-03 Thread Jan Algermissen
Tony,


On 03.08.2013, at 16:36, Tony Anecito adanec...@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.e.cob...@dundee.ac.uk
 To: user@cassandra.apache.org user@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 jan.algermis...@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

2013-08-03 Thread Jan Algermissen
Keith,

On 03.08.2013, at 17:17, Keith Wright kwri...@nanigans.com wrote:

 I definitely recommend the datastax driver so long as you plan on using cql3. 
  


No, I can live with lower level querying. What I am concerned with is that 
thread pool issues in JavaEE should be left to the container and I am trying to 
understand which driver will integrate with JavaEE in the most natural (aka 
'standard') way.



Jan




 Its binary protocol allows multiplexing, is vnode token aware, and does not 
 require serialize/deserialize to thrift.  We used astyanax before and it did 
 work well and has support (aka recipes) for standard usage cases like scans.
 
 Tony Anecito adanec...@yahoo.com wrote:
 
 
 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.e.cob...@dundee.ac.uk
 To: user@cassandra.apache.org user@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 jan.algermis...@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

2013-08-03 Thread Andrew Cobley
Im 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 jan.algermis...@nordsc.com wrote:

 Hi Andrew,

 On 03.08.2013, at 14:30, Andrew Cobley a.e.cob...@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 jan.algermis...@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