HCL Articles / Blogs / Perficient https://blogs.perficient.com/category/partners/hcl/ Expert Digital Insights Wed, 18 Dec 2024 05:46:44 +0000 en-US hourly 1 https://blogs.perficient.com/files/favicon-194x194-1-150x150.png HCL Articles / Blogs / Perficient https://blogs.perficient.com/category/partners/hcl/ 32 32 30508587 Deploying HCL Commerce: Elasticsearch and Solr-Based Solutions https://blogs.perficient.com/2024/12/11/deploying-hcl-commerce-elasticsearch-and-solr-based-solutions/ https://blogs.perficient.com/2024/12/11/deploying-hcl-commerce-elasticsearch-and-solr-based-solutions/#respond Wed, 11 Dec 2024 11:06:07 +0000 https://blogs.perficient.com/?p=373352

Deploying HCL Commerce involves setting up a network of Docker containers to run your e-commerce site. This guide will help you understand the deployment components, environments, and steps to effectively manage your HCL Commerce application.

HCL Commerce provides a robust and scalable solution for e-commerce businesses. It supports multiple stores and environments, allowing for efficient management and deployment. This guide adds value by simplifying the deployment process and ensuring a seamless setup.

HCL Commerce deployment involves various components that differ based on the chosen search solution—Elasticsearch or Solr. Each deployment includes commerce and data applications, which work together to provide a fully functional e-commerce site.

Elasticsearch-Based Search Deployment

Elastic Search based component chart

Commerce Applications 

  •  ts-app
  •  ts-web
  •  tooling-web
  •  query-app
  •  Optional: store-web, store, graphql, utils, xc
  •  Third-party: PostgreSQL
  •  HCL Version 9.1.13.0: nextjs-store

Data Applications

  •  Elasticsearch-based search: ingest, registry, nifi, data-query
  •  Third-party: elasticsearch, zookeeper, redis

Solr-Based Search Deployment

Solr Based component chart

 

Commerce Applications (Authoring Environment) 

  •  ts-app
  •  ts-web
  •  tooling-web
  •  search_master
  •  redis (third-party)
  •  Optional: store-web, store, graphql, utils, xc, cache-app
  •  Third-party: PostgreSQL

Commerce Applications (Live Environment) 

  • ts-app
  • ts-web
  • tooling-web
  • search_repeater
  • search_slave
  • redis (third-party)
  • Optional: store-web, store, graphql, utils, xc, cache-app
  • Third-party: PostgreSQL

Deployment Environments 

You can deploy HCL Commerce in two primary environments: Authoring and Live.

Live Environment 

This environment is designed to manage real-time traffic and serve end-users. It includes all the necessary capabilities for a fully functional production site.

Authoring Environment 

Also known as the “auth” environment, this setup includes additional features that allow site administrators and business users to make, test, and preview changes before they go live. It supports workspaces, enabling fine-grained control over site modifications.

Multiple Deployments 

You can deploy multiple instances of the HCL Commerce application, each with its own configuration. For example, you might have separate authoring and live environments in production and non-production systems. This setup allows you to test changes in a non-production environment before promoting them to the live production environment.

Non-Production System 

Used for testing and quality assurance. Modifications are implemented in the authoring environment and tested in the live environment, and once confirmed, they are replicated in the production system.

Production System 

The live environment here serves real traffic. Changes from the non-production system are promoted to ensure a seamless and error-free user experience.

Conclusion 

By understanding these components and environments, you can effectively deploy and manage your HCL Commerce application to meet your business needs. Deploying HCL Commerce requires setting up Docker containers tailored to Elasticsearch or Solr search solutions. By understanding the various components and environments—Authoring for development and testing and Live for production—you can efficiently manage and deploy your e-commerce site. This guide demystifies the deployment process, ensuring a smooth setup and robust management of your HCL Commerce application, ultimately fostering a scalable and efficient e-commerce business.

]]>
https://blogs.perficient.com/2024/12/11/deploying-hcl-commerce-elasticsearch-and-solr-based-solutions/feed/ 0 373352
HCL Commerce Modpack Upgrade To 9.1.x.x https://blogs.perficient.com/2024/10/03/hcl-commerce-modpack-upgrade-to-9-1-x-x/ https://blogs.perficient.com/2024/10/03/hcl-commerce-modpack-upgrade-to-9-1-x-x/#respond Thu, 03 Oct 2024 11:53:36 +0000 https://blogs.perficient.com/?p=358056

Like many enterprise software platforms, HCL Commerce releases updates in a modular form known as a mod pack. The Modpack Upgrade is designed to enhance and extend the capabilities of your current HCL configurations, optimize workflows, add new features, and improve overall performance. This upgrade incorporates the latest advancements and best practices, ensuring your infrastructure as code (IaC) remains efficient, scalable, and robust.

Why Upgrade to 9.1.xx?

  • Access New Features: Staying updated ensures that we can access the latest features and functionalities and keep our business competitive.
  • Security Enhancements: Each Upgrade includes security patches and improvements to protect against the latest threats.
  • Performance Improvements: Updates often include performance enhancements that make the platform faster and more reliable.
  • Support and Compliance: Upgrading ensures continued support from HCL and compliance with industry standards and regulations.

Pre-Installation Steps

  • Before upgrading, ensure you have stopped the Java application, disabled all web servers, and ensured that RAD (Rational Application Developer) is not running.
  • Download and extract the Update Package that you want to install.
  • Backup the customized files, as many are updated, in case you need to reapply any customization.
  • Backup the Database.

How to Upgrade HCL Commerce Modpack 9.1.xx

  • To upgrade, HCL Commerce Developers first need to download the HCL Commerce Enterprise Developer from the HCL Flexnet portal.
  • Next extract the downloaded folder.

URL : https://hclsoftware.flexnetoperations.com/flexnet/operationsportal/startPage.do

Procedure for Adding a Repository and Updating

  • Open the Installation Manager

    • Start the Installation Manager application on your computer.

3

  • Add Update Package Repository

    1. Go to File > Preferences on the Home page and then select Repositories.
    2. The Repositories section will display any existing repositories, locations, and connection status.
    3. Click on Add Repository.
    4. In the dialog box, select Browse to navigate to your Update Package directory. Choose the repository.config file and click OK.
    5. Confirm that the new repository location appears in the list.
    6. Click Test Connections to verify that the repository URL is accessible.
  • Optional Backup

    1. If you wish to back up your current setup before installing updates, navigate to File > Preferences > Files for Rollback.
    2. Enable the option to Save files for rollback.
  • Initiate the Update Process

    1. Return to the main page and click Update.
    2. The Installation Manager will search for available packages in the defined repositories.
    3. Select the relevant package and click Next.
    4. The update wizard will identify applicable fixes, with recommended features automatically selected.
    5. Choose any additional updates you want to apply for and click Next.
    6. The update should be preselected; click Next to proceed.
    7. Accept the license agreement and click Next.
    8. A panel displaying the features to be installed will appear, with the necessary features already selected. Click Next.
    9. Review the summary of updates and click Update to start the installation.
  • Optional Review of Installation

    1. After completing the update, you can check the installation history by navigating to File > Installation History.
    2. If you encounter any issues, refer to the log file located at WCDE_installdir\UpdateDelta\9.1.x.0\applyUpdate.log, where “x” represents the Update Package level.

Database Update

1.updatedb utility

This utility updates HCL Commerce Database to the latest release level that is installed on our system.

  • Open a command-line utility in the WCDE_installdir/bin/ directory and run the below command.

Command: WCDE_installdir/bin/updatedb.bat dbType dbName dbUserName dbUserPassword dbSchemaName  dbHost dbPort

  • The updatedbutility log file location: WCDE_installdir\logs\updatedb\updatedb.log

2.setdbtype utility

This utility points your HCL Commerce Database workspace to IBM DB2 or Oracle Database.

  • Open a command-line utility in WCDE_installdir/bin/ directory and run the below command.

Command:  setdbtype.bat dbType DRIVER_HOME dbName dbAdminID dbAdminPassword dbUserID dbUserPassword dbHost dbServerPort

  • The  setdbtype utility log file location: WCDE_installdir/logs/setdbtype.log

Post-Installation Steps After Upgrade

  • Post-update steps

    1. Open RAD and refresh all the projects.
    2. Right-click the server in the Servers view and select Publish.
    3. Wait for the application to finish publishing and to restart.
  • Functional Testing

    1. Core Commerce Functionality: Test fundamental e-commerce functionalities.
    2. User Management: Test user registration, login, and account management functionalities.
    3. Promotions and Pricing: Test promotions, discounts, and pricing rules.
  • Integration Testing

    1. Third-Party Integrations: Test integrations with external systems.
    2. API Integration Testing:  Test APIs used for integrations and custom development.
  • CMC Functionality testing

    1. Check the new feature after an upgrade.
    2. Test the functionality like creating e-spots, content pages, etc.
  • Backup and Recovery Testing

    1. Ensure backup processes are in place and tested to recover the system in case of data loss or system failure.

The Modpack Upgrade represents a significant step in optimizing and extending your HCL configurations. Integrating the latest advancements and best practices ensures that your infrastructure as code remains cutting-edge, secure, and efficient.

 

]]>
https://blogs.perficient.com/2024/10/03/hcl-commerce-modpack-upgrade-to-9-1-x-x/feed/ 0 358056
Perficient Awarded as HCL Software’s Gold Reseller Award https://blogs.perficient.com/2024/05/01/perficient-awarded-as-hcl-softwares-gold-reseller-award/ https://blogs.perficient.com/2024/05/01/perficient-awarded-as-hcl-softwares-gold-reseller-award/#respond Wed, 01 May 2024 20:28:55 +0000 https://blogs.perficient.com/?p=362362

We are proud to announce Perficient has been awarded HCL Software’s Gold Reseller Award! This award comes as recognition for our continued collaboration and outstanding performance in regard to sales and delivery in 2023. As an HCL Software strategic partner, we actively drive innovation into HCL’s roadmap and collaborate closely from a product innovation and support perspective.

Greg Schaller, Commerce Consulting Director, proudly represented Perficient and accepted the Gold Reseller award at HCL Software’s Business Partner Summit in Miami, Florida.

“I feel privileged to have been able to accept this award on behalf of our world-class Perficient HCL Software Team,” Greg Schaller said. “This is truly a testament to the dedication and commitment of Perficient’s exceptional commerce sales, strategy, delivery, and support teams. Our continued focus on the partnership is driving product innovation and improved customer support which deeply resonates with our customers.”

Hcl Partner SummitAt the core of our success lies a culture of innovation and collaboration. Our team of talented professionals has been consistently pushing the boundaries to create robust and scalable solutions for our clients.

Our Award-Winning HCL Software Partnership

An award-winning HCL partner, we have designed, implemented, and delivered many enterprise-level sites powered by the HCL platform. We combine decades of experience with HCL with a strategic approach that goes beyond simply installing a commerce solution. Our team of experts understand how to get the most out of HCL’s versatile platform to create highly effective and personalized experiences for our clients.

As HCL continues to grow, so will our partnership. We are excited to see what opportunities lie ahead and look forward to supporting HCL every step of the way.

Congratulations to our team on this exciting award!

Check out our blogs for more insights from our HCL team. Need help with your HCL implementation or commerce strategy? Reach out.

 

]]>
https://blogs.perficient.com/2024/05/01/perficient-awarded-as-hcl-softwares-gold-reseller-award/feed/ 0 362362
Build Scalable and Reliable Node.js Apps with Ease: Introducing Nest JS https://blogs.perficient.com/2024/01/30/build-scalable-and-reliable-node-js-apps-with-ease-introducing-nestjs/ https://blogs.perficient.com/2024/01/30/build-scalable-and-reliable-node-js-apps-with-ease-introducing-nestjs/#comments Tue, 30 Jan 2024 15:33:50 +0000 https://blogs.perficient.com/?p=354986

If you’re interested in learning a robust, efficient, and scalable enterprise-level server-side framework, you’ve landed on the right blog! 🚀 We’ll start with a quick introduction, and in this post and the ones to follow, we’ll dive straight into the practical part. We’ll build an application that covers various Nest JS fundamental and advanced topics such as Services, Controllers, Modules, Repositories, Pipes, Dependency Injection, and database connectivity using TypeORM. To make things more interesting we’ll deploy this application using top-notch tools (hint: Vercel or StackBlitz) and put it to the test with the powerful Postman tool.

What will we build? take a sneak peak: the deployed version of my app.

Throughout this series expect clear diagram-based explanations, handy GitHub Gists code snippets and complete access to the app source code that we’re crafting. Let’s take a closer look and really understand the Nest JS!
and last thing comments/suggestions are always welcome 🙂

An Overview of Nest JS:
Nest was created by Kamil Mysliwiec. It has more than 62.6 thousand GitHub stars ⭐(updated on 1 Feb 2024) & still growing.

Nest JS framework GitHub Star

Nest JS is an Angular-inspired server-side Node JS backend framework. Built on top of Typescript Open-source platform. When we say Platform that means it comes with a lot of tools out of the box like Dependency Injection 🔗, Microservices ⛓, Web socket ⚙, Testing utilities 📐 and Supports REST and GraphQL API 🔌

Today top companies like Adidas, Red Hat, GitLab, Mercedes-Benz, IBM, Capgemini and many others use it in their production.

A Closer Look at Nest JS
Nest JS is a backend framework. When I say backend one thing directly comes into mind is HTTP Request/Response. Let’s understand how it works with the help of the diagram below.

Image1

Fig. Client/Server Architecture

Image4

Fig. HTTP request

How HTTP Request Works

Every HTTP server you ever going to create may have a Request/Response cycle.

Users are going to request to your server, inside the server you will have some amount of code that will process that request. You might validate data inside the request, and eventually you might formulate the response and send it back to whoever made that request.

Whenever you build the server the request and response cycle will be almost the same and it will not vary regardless of any Framework, Library, Language or Platform. 

Below is a more detailed breakdown of the above Client/Server architecture diagram:
Image7
Fig. Client/Server Architecture Detailed
  1. 📫 Receive a request
  2. Might do some 🏳 Validation on the data that is contained in the request (validate some data in the body of the request)
  3. Make sure the user is  🗝 Authenticated/Authorize to send us a request
  4. 📡 Route or Point the request to a particular function to handle a request that might result to
  5. Running a particular 🎲 Business logic and eventually
  6. Access or 🧰 Store data inside a database.

And then as a result of the entire process we are going to formulate a response and send it back to whoever made that request.

Maybe in some cases we might not do authentication or exclude some of the steps but more or less the process is going to be the same.

 

Let’s understand in the Nest JS Way

Image3Fig. Nest JS Client/Server Architecture

In Nest JS we have special tools to address each step:

  • Pipes: Helps to validate data of incoming requests
  • Guard: Make sure the user who is making requests to the application is authenticated/authorized
  • Controllers: Routing logic
  • Service: Handle data access and business logic
  • Repository: Handles data stores in db

Building Blocks of Nest JSImage18

Fig. Parts of Nest JS

Folder structure and important files

Image19

Fig. Nest JS folder structure

Modules: As the name suggests, it is used to organize code, split features into logical-reusable units; every Nest application has at least one root module. it’s used to bootstrap our application same as the Angular framework(Angular bootstrapping)Image6

Fig. app.module.ts

Module Elements:

  • Controllers: Entry point of request, handling incoming requests of application and responding answer to the clients
  • Imports: List of modules that come under the modules.
  • Providers: Instruction for dependency injection system on how to obtain a value for dependency
  • Exports: Public API for the module(explicitly export: main diff between Angular and NestJS)

Note: Dependency Injection – This is an important concept to understand in Nest JS and other frameworks. Will plan do explain with building app in upcoming blogs. stay tuned…

  • main.ts: Entry point of application
Image11Fig. main.ts file
  • Controller: Each controller has more than one route and each route serves different actions like Create, Update, DeleteImage9
Fig. app.controller.ts

Decorators and its TypesImage15

Fig. Types of Decorators

service.ts
Image19

Image2

Scaffold Our First Nest JS App with the Nest CLI tool

  • Prerequisite: Latest Node JS version
  • Installation: To scaffold the project let’s install Nest CLI and run the below command
> npm i -g @nestjs/cli
> nest new project-name

Let’s add some custom code in app.service.ts file. Here we already have getHello() function that returns Hello World! string. As discussed earlier in this file we will be adding all our business logic.

greeting(): string {
  return 'Welcome to NestJS 😺';
}

In the above code we added a greeting() method to return a message. In app.controller.ts lets add one custom controller endpoint /hello

@Get('/hello')
  greeting(): string {
  return this.appService.greeting();
}

After adding the lines above you will find an explanation in the diagrams below:

Image10

Image20

Extra Tips: To deploy your project with Vercel follow the step-by-step guide here. (if you like my content & writing style please give me Clap 👏 on my blog on medium.com)
See my deployed demo here: https://nest-j-scaffold.vercel.app/hello
Postman request testhttps://nest-j-scaffold.vercel.app/hello

Image16

]]>
https://blogs.perficient.com/2024/01/30/build-scalable-and-reliable-node-js-apps-with-ease-introducing-nestjs/feed/ 7 354986
Empowering HCL Commerce with Spring Boot: Unleashing the Power of Modern E-commerce https://blogs.perficient.com/2023/12/29/empowering-hcl-commerce-with-spring-boot-unleashing-the-power-of-modern-e-commerce/ https://blogs.perficient.com/2023/12/29/empowering-hcl-commerce-with-spring-boot-unleashing-the-power-of-modern-e-commerce/#comments Fri, 29 Dec 2023 06:26:01 +0000 https://blogs.perficient.com/?p=352464

INTRODUCTION:

In the ever-evolving landscape of e-commerce, adopting modern technologies is essential to stay competitive and deliver a seamless online shopping experience. HCL Commerce, a robust e-commerce platform, can be further empowered by integrating with Spring Boot—a powerful framework for building Java-based microservices. In this blog post, we’ll explore the synergy between HCL Commerce and Spring Boot, unravelling the benefits and reasons why Spring Boot is a valuable addition to the HCL Commerce ecosystem.

Understanding HCL Commerce and Spring Boot

  • HCL Commerce: A Robust E-commerce Solution

HCL Commerce is a comprehensive e-commerce platform designed to support both B2B and B2C businesses. Renowned for its scalability and flexibility, HCL Commerce empowers businesses to manage their entire e-commerce ecosystem, from product catalogs to customer interactions.

  • Spring Boot: Streamlining Microservices Development

Spring Boot, an extension of the Spring framework, simplifies the development of Java-based microservices. It offers conventions for rapid configuration, development, and deployment, making it a popular choice for building lightweight, containerized applications.

Why Integrate Spring Boot with HCL Commerce?

1. Microservices Architecture:

  • Modern e-commerce solutions often employ a microservices architecture to achieve greater flexibility, scalability, and maintainability.
  • By integrating Spring Boot with HCL Commerce, organizations can leverage microservices patterns to divide the monolithic e-commerce application into smaller, manageable services.
  • Each service can then be developed and deployed independently, enabling easier maintenance and updates without causing disruption to the entire platform.

2. Rapid Development and Deployment:

  • Convention over Configuration: Spring Boot’s convention-over-configuration approach reduces boilerplate code, allowing developers to focus on business logic and accelerate development.

3.Containerization and Docker Support:

  • In today’s competitive landscape, organizations are embracing DevOps practices to streamline the development and deployment process.
  • Spring Boot’s seamless integration with popular build and automation tools, like Maven and Gradle, enables organizations to adopt efficient CI/CD pipelines.
  • This integration ensures smooth collaboration between development and operations teams, leading to faster and more reliable releases.
  • Spring Boot seamlessly integrates with containerization platforms like Docker, simplifying deployment and ensuring consistency across different environments.

4.Efficient Resource Utilization & Enhanced Performance:

  • Performance is a critical aspect of e-commerce, as slow-loading pages can lead to decreased user engagement and conversion rates.
  • Spring Boot’s lightweight and efficient nature enhances HCL Commerce’s performance by optimizing resource usage and enabling faster response times.
  • Additionally, Spring Boot’s integration with caching mechanisms and database connection pooling can further boost the platform’s performance, ensuring smooth user experiences even during peak traffic.

5. Spring Security for Enhanced Security:

  • Leveraging Spring Security within Spring Boot enhances the security of HCL Commerce applications, providing features such as authentication and authorization.
  • Spring Boot is part of the broader Spring ecosystem, which includes several powerful projects such as Spring Framework, Spring Security, Spring Data, and Spring Cloud.
  • By leveraging these components alongside HCL Commerce, developers can build robust, secure, and feature-rich e-commerce applications.
  • For example, Spring Security can be utilized to implement role-based access controls, while Spring Data simplifies database interactions, and Spring Cloud facilitates the integration of cloud-based services.

6.Integration with Spring Cloud for Microservices Coordination:

  • Service Discovery and Coordination: Spring Boot seamlessly integrates with Spring Cloud, providing tools for service discovery, configuration management, and distributed coordination in a microservices architecture.

How to Integrate Spring Boot with HCL Commerce

  1. Spring Boot Project Setup:
    • Create a Spring Boot project using Spring Initializer or your preferred IDE.
  2. Dependencies and Starters:
    • Include relevant Spring Boot starters for web applications, data access, and any additional libraries required for your HCL Commerce integration.
  3. Configuration:
    • Configure your Spring Boot application properties to connect to the HCL Commerce database, messaging systems, and any other necessary components.
  4. Microservices Development:
    • Develop microservices using Spring Boot, focusing on specific functionalities such as catalog management, order processing, or user authentication.
  5. RESTful APIs:
    • Expose RESTful APIs from your Spring Boot microservices to facilitate communication with HCL Commerce and other components.
  6. Containerization:
    • Containerize your Spring Boot microservices using Docker, ensuring consistent deployment across different environments.
  7. Integration with HCL Commerce:
    • Integrate Spring Boot microservices with HCL Commerce components, such as the storefront or backend services, using well-defined APIs.
  8. Testing and Deployment:
    • Thoroughly test your integrated solution and deploy it in a controlled environment, monitoring for performance and stability.

To know more about HCL Commerce Spring Framework Click here.

Conclusion

Integrating Spring Boot with HCL Commerce opens up a realm of possibilities for building scalable, efficient, and modern e-commerce applications. From the rapid development facilitated by Spring Boot’s conventions to the microservices architecture that enhances scalability, this integration empowers businesses to deliver an unparalleled online shopping experience.

As e-commerce continues to evolve, the synergy between HCL Commerce and Spring Boot positions businesses to adapt swiftly to changing market demands. The lightweight, containerized, and microservices-oriented approach not only improves development efficiency but also ensures the flexibility needed to stay ahead in the competitive e-commerce landscape. Unleash the power of modern e-commerce by harnessing the combined strength of HCL Commerce and Spring Boot.

]]>
https://blogs.perficient.com/2023/12/29/empowering-hcl-commerce-with-spring-boot-unleashing-the-power-of-modern-e-commerce/feed/ 2 352464
HCL Commerce Spring Framework https://blogs.perficient.com/2023/12/28/hcl-commerce-spring-framework/ https://blogs.perficient.com/2023/12/28/hcl-commerce-spring-framework/#respond Thu, 28 Dec 2023 12:29:56 +0000 https://blogs.perficient.com/?p=352483

INTRODUCTION:

The Power of the Spring Framework:

The Spring Framework is a lightweight, open source programming and configuration model for developing Java based enterprise applications. This framework is used in HCL Commerce for building and configuring Management Center, including the managing of URL requests from Management Center to retrieve and process object data. Management Center built with the Spring framework, which includes built-in best practices and design patterns, your site developers can customize Management Center more easily.
Developers can focus more on application-level programming to meet business needs when customizing Management Center and less on the underlying infrastructure of Management Center.

The Spring framework is a modular framework for building enterprise applications and includes many different modules. Within HCL Commerce, the following Spring framework layers and modules are used to build Management Center:

  • The Core Container layer, specifically the spring-core, spring-beans, spring-context, and spring-expression modules. The spring-core and spring-beans modules are the fundamental parts of the Spring framework.
  • All other Spring framework modules are built upon these core modules. These modules provide the Inversion of Control (IoC), dependency injection, and Spring bean features of the framework, which are used in HCL Commerce.
  • The Spring framework uses the spring-context module to access objects and adds support for internalization. This module also supports the use of Java EE features, such as EJB, within the framework. The spring-expression module provides the expression language that the framework uses to query and process a bean object.
  • The Spring web layer, specifically the spring-web, and spring-webmvc modules. The spring-web module provides the basic web-specific integration features that are required by Management Center. The framework uses this module to initialize the Spring IoC container.
  • The spring-webmvc module, which is also known as the Spring Web-Servlet module, provides the Spring Model-View-Controller (MVC) framework that HCL Commerce uses with Management Center.
  • The spring framework MVC can be used with a servlet or portlet environment. The MVC framework that is used in HCL Commerce is non-portlet. The MVC framework that is used in HCL Commerce uses the Spring dispatcher servlet.

Spring Bean:

A Spring bean is an element is defined in a Spring framework configuration file. These bean definitions define the Management Center objects that are managed by the Spring framework IoC container.
The framework can instantiate or destroy these bean objects as needed, and uses the beans to create class instances. The bean definitions, which are also called controller configurations within HCL Commerce, include the properties and dependencies that the Spring framework uses to create, update, and delete the bean objects.
The attributes, properties, and dependencies in each configuration must define the following information for the Spring bean object:

  • The associated controller (application) class to use to retrieve or process the bean object or service URL request from Management Center. Each bean must map to a class with the package-qualified class name.
  • The unique identifier for the controller configuration bean element. This identifier is used by the framework to identify the configuration. The identifier also maps the bean object to an object definition or search definition for the Management Center object or service.
  • The properties that are to be used to define how the associated controller class is to process the URL request and use the bean object.
  • The dependencies that reference other beans or resource bundles that are needed for the class to handle the bean object and URL request.
  • Any other configuration settings or parameters to include within the bean object.

HCL Commerce currently uses the Spring framework 4.1.7 release. For more information about this version of the Spring framework, including the framework layers and modules that are used in HCL Commerce, and Spring beans, see Spring framework 4.1.7 release.

For more information about the Spring framework in general, see Spring framework.

Spring MVC framework:

The Spring MVC framework is request-driven framework that uses a central dispatcher servlet to handle the URL requests from Management Center.

This Spring Dispatcher Servlet dispatches requests to the controller classes that are identified within bean definition controller configurations for retrieving and processing data.

The Spring MVC framework is composed of the following parts:

  • Model, which represents the business or database code; the actual Management Center object data. The Model object is a map interface, which the framework transforms into the XML formatted View that is expected by Management Center. The framework uses the appropriate serialization JSP fragments identified by the Controller to transform the Model to create the View.
  • View, which represents code for designing the XML-formatted response of the Model that displays to Management Center users.
  • Controller, which represents the controller class that retrieves or processes the data to generate the Model. The Controller receives a URL request from Management Center and uses the corresponding controller configuration to generate the Model and select the JSP file to use to transform the Model into the View.

For more information about the MVC framework, see Spring MVC framework.

For more information about the Spring dispatcher servlet, see Spring class DispatchServlet.

Customizing the Management Center Spring framework definitions:

All major aspects of the Management Center web application are configured within Spring framework configuration files. HCL Commerce uses multiple Spring definition files to configure Management Center. A different configuration file is used for mapping the configurations for each Management Center component. There is also an extension configuration file for you to use to define your own custom mappings for custom objects or to override existing mappings in the configuration files that are provided by HCL Commerce.

  • A spring-ibm-component.xml file is provided for each Management Center component to define the URL mappings that are required for retrieving and processing data for the component objects.
    For example, the spring-ibm-catalog.xml file defines the mappings for the catalog component.
  • A spring-extension.xml file is provided for you to use to override existing mappings or to define mappings for custom objects and views. Do not modify any spring-ibm-component.xml files. Use only the spring-extension.xml file to change or define mappings.

 

 

]]>
https://blogs.perficient.com/2023/12/28/hcl-commerce-spring-framework/feed/ 0 352483
Demystifying HCL Commerce Common Architecture: A Comprehensive Overview https://blogs.perficient.com/2023/12/28/demystifying-hcl-commerce-common-architecture-a-comprehensive-overview/ https://blogs.perficient.com/2023/12/28/demystifying-hcl-commerce-common-architecture-a-comprehensive-overview/#respond Thu, 28 Dec 2023 09:30:17 +0000 https://blogs.perficient.com/?p=352422

INTRODUCTION:

In the fast-paced world of e-commerce, businesses are constantly seeking robust and scalable solutions to provide seamless online shopping experiences. One such solution that has gained prominence is HCL Commerce, an innovative platform designed to meet the diverse needs of modern e-commerce. At the heart of HCL Commerce lies its common architecture, a carefully crafted framework that ensures flexibility, scalability, and performance. In this blog, we’ll delve into the intricacies of HCL Commerce Common Architecture, breaking down each layer to provide a comprehensive understanding.

Before examining how the Transaction server functions, it is useful to look at the larger picture of the software components that relate to HCL Commerce.

The following diagram shows a simplified view of these software products:

Architecture Hcl

The Web server is the first point of contact for incoming HTTP requests for your e-commerce application. In order to interface efficiently with the WebSphere Application Server, it uses the WebSphere Application Server plug-in to manage the connections between the two components.

The Transaction server runs within the WebSphere Application Server, allowing it to take advantage of many of the features of the application server. The database server holds most of your application’s data, including product and customer data. In general, extensions to your application are made by modifying or extending the code for the Transaction server. In addition, you may have a need to store data that falls outside of the realm of the HCL Commerce database schema within your database.

Developers use Rational Application Developer to perform the following tasks:

  • Create and customize storefront assets such as JSP and HTML pages
  • Create and modify business logic in Java
  • Create and modify JPA entities
  • Test code and storefront assets
  • Create and modify Web services

The HCL Commerce development environment uses a development database. Developers can use their preferred database tools (including Rational Application Developer) to make database modifications. HCL Commerce supports a one to one mapping between the HCL Commerce instance and the HCL Commerce database. Running multiple HCL Commerce instances against the same database is not supported.

New to this release is the further decoupling of the presentation tier from the business logic tier to better enable support for multiple sales channels. A sales channel is a method that a customer can use to purchase merchandise for example, in-store, from an online store, or from a call center. As shown in the following diagram, requests can enter the Transaction server from different types of clients such as a rich client, kiosk or as a browser request.

HCL Commerce is multichannel-enabled, meaning that HCL Commerce can support transactions across various sales channels. The framework enhancements in this release support multiple presentation layers, responsible for displaying results, which decouple control logic from business logic.

 

Layer Architecture

 

The preceding diagram depicts how HCL Commerce supports two channels: the Web channel and the sales channel.

  • For the Web channel the presentation is rendered using JSP pages and the Web controller layer uses Struts.
  • For the sales channel, the display uses the Eclipse rich client technology.
  • The presentation is rendered with Eclipse views and editors implemented using SWT components.
  • Regardless of the channel, the business logic façade, a generic interface implemented as a stateless session bean, is used by controller calls to invoke controller commands.
  • The command layer is implemented as HCL Commerce commands.
  • The persistence layer provides JPA support.

HCL Commerce application layers

Now that you have seen how the various software components related to HCL Commerce fit together, it is important to understand the application architecture. This understanding can help you to understand which parts are foundation layers and which parts you can modify.

The following diagram shows the various layers that compose the application architecture:

Layers

 

Business models:

In HCL Commerce, a business model represents a sample business situation in which the HCL Commerce product might be used. A business model describes a scenario in which various parties use HCL Commerce to achieve their needs. The business models that are provided by HCL Commerce are:

  • B2B
  • B2C

Within each business model, HCL Commerce provides starter stores, which might be used as a starting point to develop online sites. You can create other business models to suit your business needs.

Business processes:

Represent the processes available in HCL Commerce divided by business model. The business processes are divided into three areas:

Administrative processes
Processes that are used to administer a site, a store, or an organization. Administrative processes are described generically. These processes are generally used as-is. That is, a change to or an addition of an additional administrative process usually entails customizing HCL Commerce.
Starter stores
Starter stores contain sample processes that would be followed by customers of the store. Many different kinds of stores, satisfying a wide range of business needs can be created with HCL Commerce. Use the processes that are described in starter stores as a guideline, or a starting point, for site development. Changing or adding a process to a starter store process requires changes to the site design. Frequently, this type of change does not require customizing the underlying infrastructure.
Solution
A solution describes the high-level view of how all the administrative processes and starter store processes fit under the overall business model. A solution combines processes into a coherent picture which explains the relationship between the various process groups.

Presentation layer:

The presentation layer is responsible for displaying results. By default, there are two supported types of presentation layers supported: Web and rich client. For the Web presentation layer, the display is rendered using JSP files, whereas, for the rich client the presentation is rendered with Eclipse views and editors implemented using SWT components.

Service layer:

The service layer, implemented using OAGIS messages, is a channel-independent mechanism that can access HCL Commerce business logic. The service layer segregates the implementation of business logic such as order and catalog. This segregation permits the underlying implementation to change without requiring that the caller change. All clients, including Web clients and back-end services, go through the service layer to run business logic. The service layer supports two transport mechanisms: local Java binding and Web services.

Business logic:

The business logic layer is where business rules are implemented independent of the presentation layer. Business logic is implemented using the command pattern. Two types of commands are implemented.

controller commands:
Accessible by the presentation layer and used as a coordinator of tasks.
task commands:
Not accessible by the presentation layer but called from the controller commands. This command type is used to implement business rules.

Persistence layer:

The persistence layer records the data and operations of the HCL Commerce system. The persistence layer represents entities within the commerce domain and encapsulate the data-centric logic that is required to extract or interpret information that is contained within the database. These entities comply with the Enterprise JavaBeans specification.

These entity beans act as an interface between the business components and the database. In addition, the entity beans are easier to comprehend than complex relationships between columns in database tables.

Database schema:

HCL Commerce database schema, which includes over 600 tables, is designed specifically for e-commerce applications and their data requirements. The database schema supports persistence requirements for the HCL Commerce subsystems (Order, Catalog, Member, Marketing, Trading). HCL Commerce supports both DB2 and Oracle relational databases.

Conclusion:

HCL Commerce Common Architecture is a robust and versatile framework that empowers businesses to build and scale their e-commerce platforms effectively. By understanding the nuances of each layer – from the user interface to the data storage – organizations can make informed decisions to optimize performance, enhance security, and deliver exceptional online shopping experiences. As e-commerce continues to evolve, HCL Commerce stands as a reliable foundation for businesses seeking agility and innovation in the digital marketplace.

 

]]>
https://blogs.perficient.com/2023/12/28/demystifying-hcl-commerce-common-architecture-a-comprehensive-overview/feed/ 0 352422
Understanding the HCL Commerce Ajax Framework: Exploring Requests and Responses https://blogs.perficient.com/2023/12/26/understanding-the-hcl-commerce-ajax-framework-exploring-requests-and-responses/ https://blogs.perficient.com/2023/12/26/understanding-the-hcl-commerce-ajax-framework-exploring-requests-and-responses/#respond Tue, 26 Dec 2023 11:40:45 +0000 https://blogs.perficient.com/?p=349712

Introduction:

In today’s fast-paced world of e-commerce, providing a seamless and responsive user experience is essential. This is where Ajax (Asynchronous JavaScript And XML) comes into play. Ajax allows web applications to communicate with a server in the background without disrupting the user’s experience. HCL Commerce, a popular e-commerce platform, includes a robust Ajax framework that facilitates these interactions.

In this blog, we will delve into the HCL Commerce Ajax framework, focusing on the concepts of requests and responses.

Ajax in HCL Commerce:

HCL Commerce leverages Ajax to create dynamic and interactive shopping experiences. At its core, Ajax is a technique that enables web pages to request data from a server and update parts of a page without requiring a full-page refresh. This approach significantly improves the user experience by reducing load times and providing a seamless feel to the application.

 

How Ajax works:

Ajax

 

  • 1. An event occurs in a web page (the page is loaded; a button is clicked)
  • 2. An XMLHttpRequest object is created by JavaScript.
  • 3. The XMLHttpRequest object sends a request to a web server.
  • 4. The server processes the request.
  • 5. The server sends a response back to the web page.
  • 6. The response is read by JavaScript.
  • 7. Proper action (like page update) is performed by JavaScript.

<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
  $("button").click(function(){
    $.ajax({url: "demo_test.txt", success: function(result){
      $("#div1").html(result);
    }});
  });
});
</script>
</head>
<body>

<div id="div1"><h2>Welcome to Spring Boot Series</h2></div>

<button>Get External Content</button>

</body>
</html>

 

Request in HCL Commerce Ajax

A request in the HCL Commerce Ajax framework is the initiation of an action or a query made by the client-side code (usually JavaScript) to the server. This request is used to fetch data, send data, or trigger specific actions on the server. Let’s break down the key components of an Ajax request in HCL Commerce:

  1. URL: The URL points to the server resource that the client wants to interact with. This could be an endpoint that retrieves product details, processes a shopping cart update, or any other server-side operation.
  2. HTTP Method: Ajax requests can use various HTTP methods, such as GET, POST, PUT, or DELETE. The method chosen depends on the type of interaction required.
  3. Data: If necessary, data can be sent along with the request. For instance, when a user adds a product to their shopping cart, the product ID and quantity are sent to the server for processing.
  4. Headers: Headers can be included in the request to provide additional information to the server, such as authentication tokens or content types.
  5. Callback Functions: Ajax requests are asynchronous by nature, meaning they don’t block the execution of other code. Callback functions are used to handle the server’s response once it is received. These functions are executed when the server sends back a response.

 

Response in HCL Commerce Ajax

The response in the HCL Commerce Ajax framework is what the server sends back to the client after processing the request. Responses are typically in JSON or XML format, making it easy for JavaScript to parse and utilize the data. Here are the key elements of an Ajax response:

  1. Data: The response data contains the information requested or the result of the server-side action. This data can include product details, order updates, or any other relevant information.
  2. Status Code: The HTTP status code in the response indicates whether the request was successful, encountered an error, or requires further action. Common status codes include 200 (OK), 404 (Not Found), and 500 (Internal Server Error).
  3. Headers: Like the request, the response may include headers that provide additional information. For example, caching directives or content type headers are commonly used.
  4. Callback Function: The client-side code specifies a callback function to handle the response data. This function processes the data and updates the user interface accordingly. For instance, it may display product details or refresh the shopping cart total.

 

Conclusion

The HCL Commerce Ajax framework is a powerful tool for creating dynamic and responsive e-commerce experiences. Understanding the concepts of requests and responses is crucial for developers working with this framework. Requests initiate actions or queries on the server, while responses provide the data and status information necessary to update the client-side interface.

By leveraging Ajax, HCL Commerce enhances the user experience by minimizing page reloads, reducing latency, and making web applications feel more fluid and interactive. As e-commerce continues to evolve, Ajax remains a fundamental technology for delivering top-notch online shopping experiences.

 

]]>
https://blogs.perficient.com/2023/12/26/understanding-the-hcl-commerce-ajax-framework-exploring-requests-and-responses/feed/ 0 349712
HCL Commerce Customization Capabilities: Empowering Businesses with Tailored E-commerce Solutions https://blogs.perficient.com/2023/07/26/hcl-commerce-customization-capabilities-empowering-businesses-with-tailored-e-commerce-solutions/ https://blogs.perficient.com/2023/07/26/hcl-commerce-customization-capabilities-empowering-businesses-with-tailored-e-commerce-solutions/#comments Wed, 26 Jul 2023 05:18:58 +0000 https://blogs.perficient.com/?p=340946

Introduction:

In the competitive world of e-commerce, delivering a personalized and flawless shopping experience is consummate to success, businesses face the challenge of delivering unique and individualized shopping experiences to their customers. Businesses must figure out how to give their customers distinctive and personalized purchasing experiences in the rapidly changing world of e-commerce. Formerly known as WebSphere Commerce, HCL Commerce offers a stable and adaptable platform with a wide range of customization options.
This blog will discuss what customization means in the context of HCL Commerce and how it’s essential for businesses to remain competitive and satisfy the wide range of customer requests.

Understanding the Need for Customization in E-commerce:

No two businesses are the same, and their e-commerce conditions are inversely different. While numerous off-the-shelf e-commerce results exist, they often fall suddenly in meeting the specific requirements and branding of individual businesses. HCL Commerce recognizes this demand for oneness and delivers a customizable platform to accommodate different business conditions.

Customization in HCL Commerce:

Customization in HCL Commerce refers to the capability to modify and accommodate the platform’s functionalities, features, and user interfaces to provision specific business requisites. Unlike a one- size- fits- all approach, customization allows businesses to adapt their e-commerce results to align flawlessly with their brand identity, customer preferences, and unique business processes.

Key Customization Capabilities in HCL Commerce:

Customization Pic

►Extensive Configuration Options:

HCL Commerce offers an array of configuration options that allow businesses to fine-tune colorful aspects of their e-commerce point. From conforming product categorization and pricing rules to defining shipping and duty options, businesses can produce a customized shopping experience that resonates with their target followership.

►Functional Customization:

This pillar focuses on customizing the functionality of your HCL Commerce platform. It allows you to extend or modify the existing features and capabilities to meet your specific business requirements. You can add new features, modify existing workflows, integrate with third-party systems, and enhance the overall functionality of your online store.

►User Interface Customization:

The look and sense of an e-commerce website significantly impact user engagement and conversion rates. HCL Commerce enables businesses to customize the user interface, including page layouts, themes, and visual elements, providing a consistent and captivating brand experience across the entire customer journey.

►Catalog Customization:

With HCL Commerce, you can customize your product catalog to showcase your offerings most effectively. You can create custom attributes, categories, and hierarchies to organize your products. Additionally, you can define custom pricing structures, product bundles, and personalized recommendations based on customer preferences and behavior.

►Integration Customization:

HCL Commerce supports integration with various external systems and services. You can customize and extend these integrations to connect your online store with ERP systems, CRM platforms, payment gateways, shipping providers, and other third-party applications. This allows you to synchronize data, automate processes, and provide a seamless experience across multiple touchpoints.

►Personalization and Recommendations:

Understanding individual customer preferences is vital for driving sales and fostering customer commitment. HCL Commerce enables businesses to implement personalized product recommendations, targeted marketing campaigns, and dynamic content based on customer behavior, demographics, and purchase history.

►Custom Development and Extensions:

For unique business conditions that go beyond the platform’s out-of-the-box capabilities, HCL Commerce allows custom development and extensions. Businesses can make custom features, integrations with external systems, and technical modules tailored to their specific requirements. This includes order management, inventory management, pricing and promotions, customer segmentation, and more.
By tailoring these processes to your business needs, you can improve efficiency and provide a personalized experience to your customers.

 

Benefits Buisness

 

  •  Enhancing Brand Identity – Customizing the user interface and overall look of the commerce site enables businesses to support their brand identity, fostering a harmonious and memorable customer experience.
  • Improving Customer Engagement – Personalized content and product recommendations reverberate better with customers, leading to increased engagement, advanced conversion rates, and enhanced customer satisfaction.
  • Addressing Unique Business Processes – Every business has unique workflows and processes. HCL Commerce’s customization capabilities enable businesses to align the platform with their specific functional conditions, improving productiveness and streamlining operations.
  •  Staying Ahead of Challengers – In a competitive e-commerce landscape, providing a tailored shopping experience sets businesses apart from competitors. Customization allows them to deliver a unique value proposition and make customer commitment.

Conclusion:

HCL Commerce’s powerful customization capabilities empower businesses to produce tailored e-commerce solutions that align flawlessly with their brand, customer preferences, and functional processes. By capitalizing on customization, businesses can enhance customer engagement, make brand loyalty, and stay competitive in the dynamic world of e-commerce. As the demand for personalized shopping experiences continues to grow, embracing HCL Commerce’s customization options becomes essential for businesses aiming to thrive in the digital marketplace.

Happy Reading!!

]]>
https://blogs.perficient.com/2023/07/26/hcl-commerce-customization-capabilities-empowering-businesses-with-tailored-e-commerce-solutions/feed/ 2 340946
Exploring the Evolution: HCL Commerce V9.1.0 Differences in the Management Center https://blogs.perficient.com/2023/07/23/exploring-the-evolution-hcl-commerce-v9-1-0-differences-in-the-management-center/ https://blogs.perficient.com/2023/07/23/exploring-the-evolution-hcl-commerce-v9-1-0-differences-in-the-management-center/#respond Sun, 23 Jul 2023 19:40:46 +0000 https://blogs.perficient.com/?p=340777

Introduction:

HCL Commerce, a sophisticated e-commerce system for enterprises, continuously evolves to meet dynamic digital demands. With each release, HCL Commerce refines its Administration Center, supporting diverse business users in shop administration, merchandising, and marketing. This article explores updates and innovative features in the Management Center, starting with HCL Commerce V9.1.0. We’ll analyze how these advancements impact administration and user experience for businesses using the platform.

HCL Commerce V9.1.0 – A Revolutionary Change in the Management Center:

Furthermore, HCL Commerce V9.1.0 transformed the Management Center, enhancing usability and capabilities for business users with notable improvements, including:

Enhanced User Experience:

Furthermore, the development team overhauled the user interface, resulting in a more intuitive and streamlined navigation experience. The addition of the Hamburger menu made accessing various tools easier, segregating them based on user roles.

Introduction of New Features and Tools:

Moreover, HCL Commerce also unveiled the Analytics tool, empowering businesses to gain valuable insights into their e-commerce performance. Additionally, the integration of Message Types and Transports into the Management Center provided greater control over messaging and communication. The enhancements in B2B User Management capabilities catered to improved user administration within B2B environments.

HCL Commerce V9.1.2.0 – Extending Functionality:

Continuing the evolution of the Management Center, HCL Commerce V9.1.2.0 introduced further enhancements and additional functionalities.

Expanded Access to Key Features:

Additionally, the Management Center interface in HCL Commerce V9.1.2.0 allowed direct access to vital aspects such as Security policies, Registries, Shipping, and Taxes, offering a centralized location for managing essential elements of the e-commerce platform.

HCL Commerce V9.1.3.0 – Simplifying Navigation:

In HCL Commerce V9.1.3.0, the focus was on simplifying the user experience and improving ease of navigation.

Refined Hamburger Menu Segregation:

Additional improvements were implemented in the Hamburger menu, ensuring tools were effectively segregated based on user roles, facilitating quicker access to relevant features.

Submission of Ideas for Future Development:

The Management Center incorporated a link to Aha, providing users with the opportunity to submit new ideas for future development, fostering collaboration between users and the development team.

HCL Commerce V9.1.4.0 and Beyond – Continuous Advancements:

Subsequent releases witnessed HCL Commerce’s unwavering commitment to enhancing the Management Center, introducing a diverse array of features and benefits.

Enhanced Inventory and User Management:

Moreover, the Management Center offered enhanced inventory and user management capabilities, empowering users with greater control over their e-commerce operations.

Integration of Google Analytics:

Additionally, the Management Center introduced support for Google Analytics in GA4 reporting, enabling businesses to acquire valuable website performance insights.

Marketplace Functionality:

Moreover, The Marketplace Operator, Marketplace Sellers, and Marketplace Seller Administrators gained access to various marketplace functions, allowing them to exercise improved control over marketplace operations.

Conclusion:

Moreover, in HCL Commerce V9.1.0 and subsequent releases, the Management Center has undergone significant advancements, transforming into a powerful and user-friendly toolkit for companies to efficiently oversee and customize their online stores. Additionally, with each software update, HCL Commerce actively incorporates customer feedback, adjusts to market dynamics, and introduces new features and functionalities to empower businesses in the rapidly evolving e-commerce landscape. Furthermore, as HCL Commerce continues its development, businesses can expect a continuous stream of cutting-edge features and tools in the Management Center, ensuring they maintain a competitive edge in the fiercely competitive digital industry.

Reference:

https://help.hcltechsw.com/commerce/9.1.0/management-center/concepts/ctfcmc.html

 

]]>
https://blogs.perficient.com/2023/07/23/exploring-the-evolution-hcl-commerce-v9-1-0-differences-in-the-management-center/feed/ 0 340777
Exploring the Power of HCL Commerce Version 9.1.6 Storefront REST API: Swagger Interface https://blogs.perficient.com/2023/07/23/exploring-the-power-of-hcl-commerce-version-9-1-6-storefront-rest-api-swagger-interface/ https://blogs.perficient.com/2023/07/23/exploring-the-power-of-hcl-commerce-version-9-1-6-storefront-rest-api-swagger-interface/#respond Sun, 23 Jul 2023 18:53:25 +0000 https://blogs.perficient.com/?p=340772

Introduction:

HCL Commerce Storefront REST API includes a comprehensive list of resources offered by the HCL Commerce REST API, allowing users to retrieve, modify, and delete data associated with a store. Each REST resource is accompanied by essential information, such as URLs, descriptions, and sample input and output data. In most cases, the storeId is necessary when using REST APIs. To find your store ID, access the Store Management tool within the Management Center, and select your store. Then, navigate to Store Properties > Store Profile, and take note of your store ID value, which is displayed as the store’s Unique ID.

Understanding the Storefront REST API:

The HCL Commerce Storefront REST API is a set of web services designed to seamlessly integrate with HCL Commerce and third-party systems. It offers developers the ability to interact programmatically, accessing and manipulating various functionalities, data, and resources. With RESTful principles at its core, the API provides a standardized and efficient way to exchange data, making it easier for businesses to connect with multiple applications and streamline their operations.

Key Features and Capabilities:

Comprehensive Endpoints:

The Storefront REST API provides a comprehensive set of endpoints that cover various aspects of e-commerce store management. From managing product catalogs, inventory, pricing, and customer accounts to handling orders, promotions, and more, the API covers a wide array of functionalities, enabling businesses to have full control over their online stores.

User-Friendly Documentation:

The API documentation is well-documented and user-friendly, empowering developers to quickly understand and utilize the available endpoints. This ease of use allows for faster development cycles, reducing time-to-market for new features and enhancements, ultimately benefiting both businesses and customers.

Customization and Personalization:

With the Storefront REST API, developers can build custom solutions and workflows tailored to specific business needs. This flexibility empowers businesses to create unique and personalized shopping experiences for their customers, increasing engagement and conversion rates.

Streamlined Development Process:

The standardized approach of the API ensures consistency in API documentation across the platform. Additionally, the API’s Swagger interface makes it easy for developers to view and test APIs interactively, streamlining the development process and improving overall efficiency.

High Performance and Scalability:

The Storefront REST API is designed for high performance and scalability, allowing businesses to handle a large volume of API calls and deliver real-time responses to customers, ensuring a seamless and smooth shopping experience.

Authentication, Authorization, and Session Management:

These services offer APIs associated with authentication and session management for both B2B and B2C stores. Swagger UI (hcltechsw.com)

Cart:

Operations to support Payment Instructions, Cart, and Shipping Info. Swagger UI (hcltechsw.com)

Catalog:

Operations for retrieving category, catalog entry, and category information. Swagger UI (hcltechsw.com)

Commerce Composer:

Operations related to Layout, Page Design, Widget Definition, and Page management. Swagger UI (hcltechsw.com)

Coupons and Promotions:

Operations for Coupon, Promotion, and Associated Promotion management. Swagger UI (hcltechsw.com)

Data Extract:

Operations for Catalog, Catalog Export, Catalog Download, Order Download, and Order Export. Swagger UI (hcltechsw.com)

Extended Logging:

Operations for the configuration of extended logger. Swagger UI (hcltechsw.com)

Google Analytics:

Operations for managing Google Analytics access information. Swagger UI (hcltechsw.com)

Marketing:

Operations for Spot, Event, Segment, and User Behavior. Swagger UI (hcltechsw.com)

HCL Commerce Marketplace Sellers:

Operations to fetch active marketplace sellers for a store. Note that these APIs are introduced in HCL Commerce V9.1.10 as a preview version, and HCL Commerce reserves the right to modify them when they are GA in the future release. Swagger UI (hcltechsw.com)

Miscellaneous Transaction:

These services provide APIs related to locational data, including the store locator feature. Swagger UI (hcltechsw.com)

Order Capture:

Operations for creating and managing orders, order notification, inventory availability, and wish list. Swagger UI (hcltechsw.com)

Price:

Operations for Currency Format, Price, and Display Price. Swagger UI (hcltechsw.com)

Search Term Associations:

Operations related to search term associations. Swagger UI (hcltechsw.com)

Search Term Statistics:

Operations related to collecting and using search term statistics. Swagger UI (hcltechsw.com)

Store Configurations:

Operations for retrieval of store configuration values. Swagger UI (hcltechsw.com)

Store Locator:

Operations for retrieval of store locator, country, and geonode values. Swagger UI (hcltechsw.com)

Subscription:

Operations for creating and administering subscriptions. Swagger UI (hcltechsw.com)

User and Organization Management:

These services provide APIs related to user and organization management for both B2C and B2B stores. Swagger UI (hcltechsw.com)

Workspace:

Operations for the creation and management of workspaces, task group, and task. Swagger UI (hcltechsw.com)

REST API for xC extension

The points allow you to implement custom business logic to extend HCL Commerce processes or invoke your personalized processes. It provides the flexibility to extend various controller commands for inventory, person, custom job, order, and payment customization.

API Extensions:

Review the topic below for a detailed list of the controller commands available for extension. Swagger UI (hcltechsw.com)

Conclusion:

In conclusion, the HCL Commerce Version 9.1.6 Storefront REST API with its Swagger interface emerges as a powerful and user-friendly tool that unlocks the true potential of e-commerce businesses. By seamlessly integrating with HCL Commerce and other third-party systems, the API empowers businesses to extend their reach and capabilities. Developers can leverage the API’s comprehensive endpoints and user-friendly documentation to create custom solutions, automate tasks, and personalize shopping experiences for customers. Embracing this cutting-edge technology becomes essential for businesses seeking to thrive in the dynamic world of e-commerce, delivering seamless and personalized experiences to their customers and gaining a competitive edge in the market. With its high performance, scalability, and standardized approach, the HCL Commerce Version 9.1.6 Storefront REST API opens new avenues for success in the rapidly evolving digital landscape.

Reference:

https://help.hcltechsw.com/commerce/9.1.0/restapi/concepts/cwvrestapi_store.html

]]>
https://blogs.perficient.com/2023/07/23/exploring-the-power-of-hcl-commerce-version-9-1-6-storefront-rest-api-swagger-interface/feed/ 0 340772
Exploring the Power of HCL Commerce Version 9.1.6 Administrative REST API: Swagger Interface https://blogs.perficient.com/2023/07/23/exploring-the-power-of-hcl-commerce-version-9-1-6-administrative-rest-api-swagger-interface/ https://blogs.perficient.com/2023/07/23/exploring-the-power-of-hcl-commerce-version-9-1-6-administrative-rest-api-swagger-interface/#comments Sun, 23 Jul 2023 18:17:09 +0000 https://blogs.perficient.com/?p=340770

Introduction:

The HCL Commerce administrative API enables you to perform various administrative tasks in managing your website. Additionally, this API comprises a collection of resources designed for tasks such as creating, retrieving, updating, and deleting data related to site globalization capabilities, organizations, and other administrative aspects.

Catalog Administrative REST API:

The provided APIs offer the capability to create and manage the attribute dictionary and attribute dictionary attributes for your stores. Furthermore, you can use these APIs to create and administer the attribute dictionary and attribute dictionary attributes for your stores.

Attribute dictionary attributes: Tasks associated with the creation and management of attribute dictionary attributes. Swagger UI (hcltechsw.com)

Attribute dictionary: Tasks related to the establishment and administration of an attribute dictionary. Swagger UI (hcltechsw.com)

Catalog Entries: Operations for creating and managing catalog entries. Swagger UI (hcltechsw.com)

Catalog Entry Calculation Codes: Tasks involving the creation and management of catalog entry calculation codes. Swagger UI (hcltechsw.com)

Catalog Group Calculation Codes: Operations for creating and managing catalog group calculation codes. Swagger UI (hcltechsw.com)

Catalog Groups: Tasks related to the creation and management of catalog groups. Swagger UI (hcltechsw.com)

Catalogs: Operations for creating and managing catalogs. Swagger UI (hcltechsw.com)

Commerce Composer Administrative REST API:

These APIs serve the purpose of creating and managing store pages for utilization with the Commerce Composer tool. Additionally, the Commerce Composer administrative REST API enables users to create and manage store pages specifically designed for utilization with the Commerce Composer tool.

Store pages involve actions for creating and managing these pages. Swagger UI (hcltechsw.com)

Page types encompass tasks related to creating and managing store page types. Swagger UI (hcltechsw.com)

Layouts deal with the creation and management of layouts. Swagger UI (hcltechsw.com)

Widgets pertain to the creation and management of a collection of all widgets. Swagger UI (hcltechsw.com)

Widgets definition descriptions involve actions for creating and managing Commerce Composer widget definition descriptions. Swagger UI (hcltechsw.com)

Content Administrative REST API:

These APIs enable the creation and administration of content for your site, encompassing items like images and documents utilized in catalogs and marketing.

Attachments involve tasks related to creating and managing attachments. Swagger UI (hcltechsw.com)

File upload jobs encompass actions for creating and managing file upload jobs. Swagger UI (hcltechsw.com)

File export jobs pertain to actions for creating and managing file export jobs. Swagger UI (hcltechsw.com)

Contract Administrative REST API:

These APIs facilitate the creation and management of contracts and contract-related elements, including the administration of contract trading agreements and account-contract relationships.

Accounts contracts refer to activities involving the creation and management of accounts and contract relationships. Swagger UI (hcltechsw.com)

Contracts involve the creation and administration of a collection of contracts. Swagger UI (hcltechsw.com)

REST API for Elasticsearch-based Search:

These APIs are specifically designed to facilitate the creation and management of the Ingest, Query, and NiFi services within the Elasticsearch-based Search solution of Version 9.1. With these APIs, businesses can efficiently handle data ingestion, perform complex search queries, and manage data flow through the NiFi services, all contributing to a powerful and comprehensive search functionality for their e-commerce platform.

The Elasticsearch Query service, along with its API documentation, facilitates querying operations within Elasticsearch. Swagger UI (hcltechsw.com)

Elasticsearch Ingest handles ingestion-related tasks for Elasticsearch. Swagger UI (hcltechsw.com)

The search-display module offers RESTful services to retrieve search displays. Swagger UI (hcltechsw.com)

The HCL Commerce Services – Search Rules API Documentation covers the functionalities of Search Rules in HCL Commerce. Swagger UI (hcltechsw.com)

Globalization Administrative REST API:

These APIs are essential for the creation and management of globalization support, providing businesses with the ability to define languages and currencies for use in their stores. With these functionalities, businesses can easily adapt their e-commerce platforms to cater to diverse international markets and customers.

Currencies

Functions associated with the creation and management of supported currencies. Swagger UI (hcltechsw.com)

Currency conversions

Operations related to creating and managing currency conversion rules. Swagger UI (hcltechsw.com)

Currency descriptions

Functions for creating and managing currency descriptions. Swagger UI (hcltechsw.com)

Currency formats

Operations related to creating and managing currency formats. Swagger UI (hcltechsw.com)

Currency format descriptions

Functions for creating and managing currency formatting rule descriptions. Swagger UI (hcltechsw.com)

Languages

Operations related to registering and managing supported languages for a store. Swagger UI (hcltechsw.com)

Language descriptions

Functions for creating and managing language descriptions.  Swagger UI (hcltechsw.com)

Inventory Management Administrative REST API:

These APIs cater to DOM, Non-ATP, and ATP inventory management, providing a wide range of functionalities. These functionalities include defining the inventory model for a store and effectively managing store inventories. With these capabilities, businesses can streamline their inventory management processes and ensure efficient control over their product stocks.

Inventory configurations (DOM inventory)

Functions associated with the creation and management of inventory configurations. Swagger UI (hcltechsw.com)

Inventory availability (DOM inventory)

Operations related to creating and managing inventory availability. Swagger UI (hcltechsw.com)

Inventories (Non-ATP inventory)

Functions for creating and managing inventories. Swagger UI (hcltechsw.com)

Base items (ATP inventory)

Operations related to creating and managing base items. Swagger UI (hcltechsw.com)

Item specifications (ATP inventory)

Functions for creating and managing item specifications. Swagger UI (hcltechsw.com)

Item fulfillment centers (ATP inventory)

Operations related to creating and managing item fulfillment centers. Swagger UI (hcltechsw.com)

Store items (ATP inventory)

Functions for creating and managing store items. Swagger UI (hcltechsw.com)

Store item fulfillment centers (ATP inventory)

Operations related to creating and managing store item fulfillment centers. Swagger UI (hcltechsw.com)

Distribution arrangements (ATP inventory)

Functions for administering distribution arrangements for orders. Swagger UI (hcltechsw.com)

Receipts (ATP inventory)

Operations related to administering receipts for orders. Swagger UI (hcltechsw.com)

Available receipts (ATP inventory)

Functions for creating and managing available receipts for orders. Swagger UI (hcltechsw.com)

Marketing Administrative REST API:

These APIs are dedicated to the creation and administration of marketing campaigns and marketing content for your stores. Furthermore, they provide the necessary tools to efficiently manage and customize marketing efforts to enhance your e-commerce business’s performance.

Marketing Campaigns

Functions for creating and managing campaigns in a store. Swagger UI (hcltechsw.com)

Marketing content

Operations related to creating and managing marketing content. Swagger UI (hcltechsw.com)

Marketing promotions

Operations for creating, updating, deleting, and managing promotions. Swagger UI (hcltechsw.com)

API Definitions for Seller Organization Requests Approval Service:

This section describes the supported operations for the Seller organization requests approval service.

Swagger UI (hcltechsw.com)

Conclusion:

The HCL Commerce Version 9.1.6 Administrative REST API, with its Swagger interface, efficiently manages and customizes e-commerce sites. Moreover, it seamlessly integrates with HCL Commerce and third-party systems, empowering developers to access and manipulate functionalities, data, and resources. Additionally, RESTful principles ensure efficient data exchange, simplifying operations and connecting with multiple applications. The robust integration capabilities, comprehensive APIs, and microservices architecture drive growth and enhance customer experiences. Furthermore, developers leverage the REST API’s standardized approach and user-friendly documentation for custom solutions, extending processes, automating tasks, and integrating with third-party applications. This streamlined development process ensures high performance and scalability, handling a large volume of API calls and providing real-time responses. Embracing the HCL Commerce Version 9.1.6 Administrative REST API with its Swagger interface unlocks e-commerce businesses’ true potential for success in the digital landscape.

Reference:

https://help.hcltechsw.com/commerce/9.1.0/restapi/concepts/cwvrestapi_admin.html

 

]]>
https://blogs.perficient.com/2023/07/23/exploring-the-power-of-hcl-commerce-version-9-1-6-administrative-rest-api-swagger-interface/feed/ 1 340770