Skip to content

DataStaxCodeSamples/datastax-java-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DataStax Java Starter

To create the schema, run the following

mvn clean compile exec:java -Dexec.mainClass="com.datastax.demo.SchemaSetup" -DcontactPoints=localhost

To start the Main program, run the following

mvn clean compile exec:java -Dexec.mainClass="com.datastax.creditcard.Main"  -DcontactPoints=localhost

To start the web server run

mvn jetty:run

To use the webservice, go to the folowing url

http://localhost:8080/datastax-starter/rest/get/keyspaces

To remove the tables and the schema, run the following.

mvn clean compile exec:java -Dexec.mainClass="com.datastax.demo.SchemaTeardown"

About

Starter project for creating a sample project in Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages