Hi Joseph, On Sun, Sep 22, 2013 at 2:59 PM, Joseph Daryl Locsin <[email protected]> wrote: > I am new to Amazon's AWS EC2, GitHub and Heroku. Is it possible to deploy a > Java Eclipse project which uses the Jena library on GitHub and then push > that to Heroku? I haven't done it myself, but yes, it looks possible. The following help file looks like it should give you what you need:
https://devcenter.heroku.com/articles/getting-started-with-java > what about the dependencies involved in my project? how can I add it? The Heroku help file says to use Maven. What Maven does is provide a recipe, called the project object model or pom, which is stored in a pom.xml file in the root directory of your project. In the pom, you can declaratively assert what kind of project you are building (e.g. a Java webapp), what library dependencies you have (e.g. Apache Jena), additional config files, build steps, etc. It's very powerful, but, like many powerful tools it has a bit of a learning curve. There are many useful Maven tutorials on the web, books, IRC groups, etc. To add Jena to your pom, see: http://jena.apache.org/download/maven.html > Lastly, I have looked into this a bit but I am clearly lost since there is > no link which has Jena as an example. In Heroku terms, there's nothing special about Jena as a program - it's just another Java library dependency. Well, except that I'm not sure what you need in terms of storage. If you want to have a persistent triple store - such as TDB - you'll need access to a disk. Different cloud service providers have *very* different models for providing storage. I don't use Heroku, so I'm not sure what they provide in terms of disk access, but I expect you can ask the Heroku dev community for help on that. Ian
