deployment to cloud hosting

Broadleaf Commerce Discussion Forum

Moderator: jocanas

halski
Newbie
Newbie
Posts: 2
Joined: Sun Nov 06, 2011 11:38 am

deployment to cloud hosting

Postby halski » Sun Nov 06, 2011 11:51 am

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

bpolster
Team Member
Team Member
Posts: 137
Joined: Fri Nov 20, 2009 1:40 am

Re: deployment to cloud hosting

Postby bpolster » Thu Nov 10, 2011 11:18 am

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,
Brian Polster
Broadleaf Commerce
bpolster@broadleafcommerce.org

ritchiem
Newbie
Newbie
Posts: 2
Joined: Wed Jan 25, 2012 1:34 pm

Re: deployment to cloud hosting

Postby ritchiem » Wed Feb 01, 2012 3:58 pm

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

phillipuniverse
Team Member
Team Member
Posts: 1563
Joined: Tue Dec 20, 2011 12:11 pm

Re: deployment to cloud hosting

Postby phillipuniverse » Thu May 17, 2012 10:50 am

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.

Janice87
Newbie
Newbie
Posts: 1
Joined: Mon May 23, 2016 5:37 am

Re: deployment to cloud hosting

Postby Janice87 » Mon May 23, 2016 5:55 am

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.


Return to “Broadleaf Commerce”

Who is online

Users browsing this forum: No registered users and 2 guests