Extending JMC¶
Most retail implementations of JMC require extending the application. The methods by which the JMC application is extended can have a significant impact on the ability, effort and risk involved in supporting and upgrading the application. Following the recommended extension approaches improves supportability, maintainability and upgrade-ability.
Extensibility Principles¶
JMC Commerce extensibility follows frequently adopted patterns such as single-responsibility principle, interface segregation principle, and inversion of control to name a few concepts employed to make extensibility easier.
Key Techniques¶
- Replace classes with new State Beans or Endpoint Override instead of extending base classes
- Create helper classes using Spring Framework Beans that can be shared across State Beans.