… or less! Heroku is defined as a “Cloud application platform”. I just want to redefine it to “Awesome Cloud application Platform”. So, this awesome platform provides a way to host and scale your application in the Cloud really easily with 3 or 4 commands…
Since I am currently working on my talk at #OW2Con 2011 (coming later this week) dealing with BPM, Services and the Cloud, I wanted to host some Web services on several places. I never had time to test Heroku but I just took this precious time today. After looking some examples, I created a Maven project template (no I do not have time to create an archetype, maybe there is one somewhere) which uses Jetty and Apache CXF to expose JAXWS annotated classes as Web services. So now, using heroku to freely expose your services is easy as:
- Sign up to heroku
- Download the heroku client for your platform
- Clone/Fork the repository at https://github.com/chamerling/heroku-cxf-jaxws
- Add your own services
- Login to heroku ‘heroku auth:login‘
- Create the app on heroku ‘heroku create -s cedar‘
- Push your services to heroku ‘git push heroku master‘. There is a git hook somewhere which just automatically compile and start your application after you pushed it.
- Open your CXF services summary page ‘heroku open’



