Page 1 of 1

deployment to cloud hosting

Posted: Sun Nov 06, 2011 11:51 am
by halski
hi all,

i am thinking of using Broadleaf as a base for a project and would like to be able to deploy it to a cloud hosting service, thinking of Heroku as they started supporting Java while ago. has anyone had any experience with this ? or some similar service ?

also - i am thinking of merging the two webapps for admin and shop modules into one. any advices on how to approach it ?

thanks,
jakub

Re: deployment to cloud hosting

Posted: Thu Nov 10, 2011 11:18 am
by bpolster
Jakub,

I'm also interested in responses related to deploying Broadleaf on Heroku. As to your second question, the demo application in our latest release deploys the admin and demo together so you can see how we do it by examining the demo code. There are some nuances with the security that you may run into. For example, we do not consider someone who is logged into the site to be logged into the admin. However, a logout from either the admin or the demo will logout both parties as the user is sharing a session that gets invalidated.

The approach of combining the two will work for many applications of Broadleaf but we do not recommend it as a best practice. For high volume sites, we prefer to scale admin and web separately. Also, we recommend having additional security measures (e.g. VPN) for accessing admin functionality.

Thanks,

Re: deployment to cloud hosting

Posted: Wed Feb 01, 2012 3:58 pm
by ritchiem
The first thing I did with the archetype was to split the modules in to their own git repos. core, site and admin. Makes auto deployment to the cloud much easier. I'm loving CloudBees right now for this as it autodeploys once the CI build completes.

Martin

Re: deployment to cloud hosting

Posted: Thu May 17, 2012 10:50 am
by phillipuniverse
Just FYI, I have a blog post out on the changes necessary for running on Heroku which you can see at http://www.phillipuniverse.com/2012/05/17/Deploying-Broadleaf-on-Heroku.html. This just covers the main site application since there are a few extra tricks you have to do to get the GWT admin to start up on Heroku.

Re: deployment to cloud hosting

Posted: Mon May 23, 2016 5:55 am
by Janice87
halski wrote:hi all,

i am thinking of using Broadleaf as a base for a project and would like to be able to deploy it to a cloud hosting service, thinking of Cloudflare review as they started supporting Java while ago. has anyone had any experience with this ? or some similar service ?

also - i am thinking of merging the two webapps for admin and shop modules into one. any advices on how to approach it ?

thanks,
jakub


Wow great thought, I don't think I have done something like that.
Let us know what happened after it. Good luck and I hope it'll work.