lytv / hbase-jpa-jsf Goto Github PK
View Code? Open in Web Editor NEWThis project forked from matzew/hbase-jpa-jsf
A simple JSF2 example that uses JPA to access Apache HBase
Home Page: http://matthiaswessendorf.wordpress.com
This project forked from matzew/hbase-jpa-jsf
A simple JSF2 example that uses JPA to access Apache HBase
Home Page: http://matthiaswessendorf.wordpress.com
BACKGROUND Simple example to use the Apache HBase "BigTable implementation" with JPA. The JPA access is provided by the same plugin (DataNucleus) that enables the Google App Engine to use JPA for its Datastore. How to run this SIMPLE example? Go to HBase (http://hbase.apache.org) and download its version 0.20.3 (see later on why this version) Use the simple "standalone" installation. Details (like requirements) are mentioned here: http://hbase.apache.org/docs/current/api/overview-summary.html#standalone Basically the "standalone" installation is "just" an unzip, setting the JAVA_HOME, and start hbase. (see the above link for details) === APACHE MAVEN === You need to have Maven 2.x installed on your system All JARs should be available from a listed repository, however there is ONE exception. The HBASE JAR itself. You need to install it with the following command, from your HBASE installation: mvn install:install-file -DgroupId=org.apache.hadoop -DartifactId=hbase -Dversion=0.20.3 -Dpackaging=jar -Dfile=/path/to/LOCATION_HBASE.jar Yes, there are "newer" versions of HBase than the previously mentioned 0.20.3 - However, since the (used) DataNucleus has a dependency we need this version... A (bad) hack could be to install the 0.20.6 (e.g.) as 0.20.3 => DON'T DO THIS :-) (for testing/playing you should be fine.....) === STARTING === Once you a) configured/started Apache HBase and b) installed the mentioned hbase-JAR, you can lanch the project. Simply go to your project root folder and type: mvn This starts up the Jetty container to launch a VERY simple JSF2 application to entry a SIMPLE entry and load them. The code uses a (simple) JPA-DAO, where under the hood HBASE is used. Enjoy
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.