Note that there are some explanatory texts on larger screens.

plurals
  1. POJSF 2.0 & Cassandra - How to get started
    primarykey
    data
    text
    <p>Here come a few newbie questions on using Cassandra with JSF 2.0. I'm in the start of a web application and want to use Cassandra as a backend. My app should be deployed in different regions and hence the same data should be available/replicated in/to all regions.</p> <p>I would like to have general information about best practices.</p> <p>I have the following setup:</p> <ul> <li>Maven2</li> <li>JSF 2.0 (currently using Managed Beans and JPA)</li> <li>Glassfish 3.2.1</li> </ul> <p>Which driver would you recommend?</p> <ul> <li>cassandra-jdbc driver implemented with datastax community edition?</li> <li>Or Hector, which seems to be the most advanced client?</li> </ul> <p>If Hector how would I use Hector properly within a JSF project?</p> <ul> <li>Hector JPA integration (could not find any information on how to use)?</li> <li>Using Hector directly from Managed Beans without JPA?</li> </ul> <p>How would I use the driver best in a JSF 2.0 web application?</p> <ul> <li>Managed Beans?</li> <li>Singleton Bean?</li> <li>POJOs?</li> </ul> <p><em>(I'm not very familiar with Java EE yet, but in the process of building up knowledge)</em></p> <p>How would I structure the classes/beans so that connections can be pooled?</p> <p>Is there maybe an open source example that is using JSF/Java EE or JSF/POJO to see how such as setup is used in best practice?</p> <p>What are your opinions on how to start such a project from scratch?</p> <p>I'm thankful for all hints you can give me. I'm struggling since a month to find enough information to get started on this project.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload