Business
8 min readI've spent 13 years at Broadleaf Commerce in sales, marketing, and strategic partnerships, and I've worked on dozens of enterprise implementations. In that time, I've watched the same movie play out again and again.
It starts at a whiteboard. An engineering team, tired of a rigid legacy platform, asks: "Why pay a vendor when we can build this ourselves?" Generative AI has made that question louder. If an LLM can write a working microservice before your second coffee, how hard can a commerce engine be?
Harder than it looks. Writing a feature is the easy part. Keeping it secure, compliant, and working through ten years of upgrades, audits, and changing customer behavior is where the cost lives. Build your commerce stack entirely in-house (what I call the "DIY Delusion"), and you become your own software maintenance vendor. Nobody pays you for it.
Here are three risks a commercial framework like Broadleaf takes off your plate.
Nobody puts "spent three weeks chasing a vulnerability in a dependency" at the top of their performance review. But that work never stops.
Build from scratch, and you own your entire software supply chain. Broadleaf maintains, tests, and hardens more than 100 open-source dependencies across our platform, from Spring Boot to data connectors to messaging. Because our customers run large transaction volumes on that same stack, we usually see vulnerabilities, performance problems, and regressions before a single internal team would.
The numbers show how big the job is:
If you roll your own, your team watches every National Vulnerability Database alert, tests every patch across 100+ libraries, and ships the emergency fix when a zero-day lands on Black Friday. With Broadleaf, we do that work, so your developers can spend their time on features that make money.
Nobody's favorite topic at 4:30 on a Friday, but ask it anyway: if a third party claims your custom platform infringes their copyright or patent, who defends you?
Read the warranty clause in nearly any open-source license: MIT, BSD, Apache 2.0 (Section 7), GPLv3 (Section 15). It's in capital letters for a reason. The software is provided "AS IS," without warranty of any kind. Some licenses, like Apache 2.0, pass along the contributors' own patent rights, but none of them promise to defend you against anyone else. When you assemble a platform from open-source libraries and AI-generated code, you're the author, and the defense costs and any settlement are yours.
AI adds a new wrinkle. Black Duck found license conflicts in 68% of audited codebases this year, up from 56% and the highest in the report's history. It points partly to AI assistants reproducing copyleft code without its license attached. Courts are still working out the rules: in September, the Ninth Circuit upheld the dismissal of one claim against GitHub Copilot, but left other questions about AI training and copyright open. Unsettled law is a shaky foundation for a revenue-critical system.
Broadleaf's enterprise agreements include IP indemnification and commercial warranties. We stand behind our software and defend our customers if it's challenged, so that risk moves from your balance sheet to ours.
There's an old rule in enterprise software: code is a liability, not an asset. Every custom line you write today has to be documented, upgraded, refactored, and fixed tomorrow.
Build it alone, and every change in payment rails, tax rules, or compliance mandates comes 100% out of your budget.
Broadleaf works differently. We keep improving the platform based on what customers across retail, B2B, and marketplaces need, and you pull those upgrades in on your own schedule. When you need something that isn't on our roadmap, our Roadmap Acceleration program lets you fund it once. We design it, build it into the core platform, and maintain it in future releases. You pay for the innovation one time instead of carrying it forever.
There's real pride in saying "we wrote every line of our stack." But pride doesn't pass a PCI DSS audit or answer a patent claim.
Customers don't choose you because you wrote your own shopping cart or order state machine. They choose you for the experience, the merchandising, the pricing, and how fast you ship. Broadleaf gives you a framework you can customize as deeply as you need, with a team handling the security, legal, and maintenance work underneath it.
Keep control of your commerce roadmap. Just don't build every road by hand.
AI writes code so fast now. Doesn't that make building cheaper than buying?
It makes the first version cheaper. It doesn't make year five cheaper. The expensive part of software is patching, upgrading, and changing it after launch, and AI-generated code adds more dependencies and more license questions to manage. Use AI to speed up the work that sets you apart, not to rebuild the parts every retailer already has.
We already run plenty of open source. Why is commerce different?
Commerce code touches payments, customer data, tax, and PCI DSS scope, and it has to stay up on your busiest day of the year. A gap in a logging library is a nuisance. A gap in checkout costs revenue and can trigger an audit. That's where having a vendor who maintains and stands behind the code matters most.
Won't a platform lock us in?
Broadleaf is a framework, not a closed box. Enterprise customers get access to source through their IDE (making both development and production support faster); it runs on Java and Spring like many in-house stacks, and you can extend or override nearly any part of it. You own your customizations and your data.
What does IP indemnification actually cover?
In short, if someone claims the Broadleaf software you licensed infringes their intellectual property, we defend you and cover the resulting costs, subject to the terms of your agreement. The specifics are in each enterprise agreement, so ask us for the language during evaluation.
How does Roadmap Acceleration work?
You fund a capability that isn't on our near-term roadmap. We design and build it into the core platform, and it ships with future releases so you aren't maintaining a one-off fork. Other customers may benefit from it too, which is part of why the cost to you is lower than building it alone.
Can we still customize everything?
Yes. That's the point of a framework. Most teams spend their effort on the customer experience, merchandising rules, pricing logic, and integrations, and leave cart, order management, and security plumbing to us.
Is building in-house ever the right call?
Sometimes. If commerce is a small, simple part of your business, or your model is so unusual that no platform fits, building can make sense. Just budget for maintaining it as a product for its whole life, not as a project with an end date.