Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What does SAP Hybris MVC mean?

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

The purpose of this article is to share with you what SAP Hybris MVC refers to. The editor thinks it is very practical, so I share it with you. I hope you can get something after reading this article.

CRM WebUI

The data displayed on UI comes from model, and in CRM it comes from context node.

Explain it with a specific example.

Under Resources folder, there is a xml defined by bean:

C:\ Hybris\ 6.5.0.0.23546\ hybris\ bin\ ext-accelerator\ acceleratorservices\ resources\ acceleratorservices-beans.xml

Define two attribute of a PaymentData this bean class:

Find the bean class and find it under folder gensrc:

Question 1

Open this PaymentData.java and find that there is an annotation "Generated property" on both its attribute parameters and postUrl. Does this mean that the two attribute are generated automatically? So when was it automatically generated? These attribute are located in the java file. Are they automatically generated when colleagues in Chengdu are doing Hybris standard development, or are they automatically generated when customers decompress the release package and then build?

Answer:

Classes defined in beans.xml that end with * Data are usually DTO, which is used in facade. For details, refer to Zhang Jian's article to talk about the unique concept and design structure of Hybris from the product display page.

It is generated when SAP developers or customers do ant build.

Question 2

When was the postUrl of Bean class filled in this attribute?

The M in Hybris MVC design is Data object.

The specific posturl is populated in line 38:

Location:

This is what SAP Hybris MVC refers to. The editor believes that there are some knowledge points that we may see or use in our daily work. I hope you can learn more from this article. For more details, please follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report