Top 22 Sap Hybris Interview Questions
Q1. Is It Scalable?
Hybris is spring JEE primarily based platform and it's far as scalable as every other java based platform.
Adding new cluster node is only a count number of starting a new Hybris instance with three property adjustments.
Hybris will mechanically upload that node in cluster. It has disbursed cache in line with server and it’s out of the box cache invalidation over UDP may be very plenty efficient.
Q2. How To Split An Order Into Multiple Consignment?
While fulfilling an order, some time it's far necessary for commercial enterprise to break up the order into a couple of orders.
For example, a customer orders objects A and B, now A has transport window of 2 days, while B may be introduced in minimal five days. Now business has the option to either deliver both objects in 5 days. But what if object A is fresh, and will get destroyed in five days. There can be a case, in which purchaser wishes a mandatory shipping of object A within 2 days. In such situations, if enterprise residence doesn’t need to free purchaser, it has no desire however to split order and deliver it more than one instances. This is the case of break up consignment.
Now there may be numerous situations, which may additionally name for splitting the order into a couple of consignments. Above instance is just certainly one of them. For instance, we might also want to break up consignment, based on warehouse from in which object can be picked up. We can also need to split consignment, primarily based on product type (clean or ambient) etc. These conditions which decides the commercial enterprise good judgment to be a case for splitting the consignments, are known as splitting strategies. We could have as many as strategy to break up, as we want.
By default, hybris creates handiest one consignment for an order. This is completed by using following provider.
As you can see, that the order Splitting Service accepts a listing of strategies, we will create many techniques, and split our order. The actual enterprise common sense for splitting will go into approach class.
Q3. Please Talk About Search Capabilities?
Google trade search over cloud. What else I want to mention. If GCS doesn’t fits to then you use SOLR as a loose answer. It is available OOB.
Q4. What Are Model Attributes?
Some time it's miles important to get few facts in many JSPs, and we don’t need to skip them as a part of DTO (information gadgets). For example, the titles (Mr and Mrs and so forth). They may be used in many JSPs and tags report, like registration, delivery cope with and many others.
In such instances, what we do is, create a convenient technique in Abstract controllers, and use version characteristic annotation for them. In this way they may be available from all JSPs at once using version characteristic.
These may be accessed without delay in JSPs or maybe tag documents. Like
Current Language : $contemporary Language
Model carrier create technique vs new operator
When we strive to create a brand new instances of an item kind programmatically, we have alternatives, the use of the java manner, the usage of new operator or the hybris manner, the use of the model service.
ProductModel product1 = new ProductModel();
ProductModel product2 = modelService.Create(ProductModel.Magnificence);
The blessings of the use of model service method are beneath:
The version provider create technique will generate and assign the pk for product item.
The create technique will initialize the default values, defined in items.Xml for mandatory attributes.
While calling save all method, the item is already connected to context, and can be stored. While product1 wishes to connect explicitly.
So we need to always go for version carrier manner in hybris.
Q5. Do They Have On Demand Flavor Also?
Yes, lately brought as an supplying.
Q6. How Flexible Promotion Module Is?
Lot many promotions are to be had out of the box and you could make bigger their framework very effortlessly to introduce your custom merchandising.
Q7. How To Setup A Svn Environment For Hybris Projects?
Maintaining a model system for any project is one of the most crucial thing. Hybris projects are not unique in this regard. They also do have the same lifestyles cycle in phrases of development. We need to maintain exceptional environments like SIT, UAT and many others. To provide a nearby improvement environment is also equally vital.
Since the scale of OOB Hybris is massive, it's far tough to put everything in SVN (or GIT). Also it isn't beneficial. The hybris is improvising each day. A new launch have to now not deliver us pain in terms of improvement.
The first-class exercise for versioning a hybris assignment will be:
Put only custom folder, containing customized extensions to versioning software program.
Pass state-of-the-art nearby.Properties, neighborhood extensions domestically to every builders.
Maintain replica of new local.Homes, neighborhood extensions in each of servers like development and SIT, UAT etc.
Hybris software is wrapped round custom folder on each surroundings.
Media folder ought to in all likelihood in SVN or can be exceeded locally like property documents.
Manufacturing surroundings, commonly isn't related to SVN. Rather we take the maximum strong copy from UAT and install it the use of a few deployment device like , bamboo.
These center tutorials will assist you to study the fundamentals of Tableau.
For an in-depth know-how and sensible revel in, explore SAP Hybris Training.
Q8. How Secure It Is?
Spring safety is integrated OOB.
Q9. Why Models Are Generated In Platform Extensions?
Hybris is construct over the concepts of extensions. Each extension has it’s own statistics model. Any extension can use an object kind from different extension and make bigger it as in line with requirement.
For instance, the itemtype product defined in core extension. The catalog extension has prolonged the product itemtype, and delivered seller to it.
While constructing the hybris, the frameworks builds in line with dependencies. Since core is build before catalog extension, it isn't privy to the vendor characteristic defined in catalog extension. If we maintain version elegance in extensions, then there'll e hazard of construct failures. Like in our case, seller characteristic will now not locate an area in Product Model magnificence.
Hybris build framework, creates version lessons, even before, building any extension. The platform is the first-class location to preserve them, as every extension is built upon it most effective. So it is not logical to create model classes particularly extensions, when we are able to define same records version in various extension.
Q10. Will It Perform If We Have Over 1 Million Skus?
Yes, if you have used APIs, flexi search in a right manner. If you have got used pagination to your flexi seek and converter caches than it will now not rely how much SKUs you have.
Q11. How You Will Compare This With Atg Or Wcs?
Very quickly Hybris might be on top of these because of its simplicity.
Q12. Why Order Is Important In Items.Xml?
We want to comply with an order in objects.Xml, whilst we declare object sorts in gadgets.Xml. Below are the motives for it.
Each items.Xml is parsed in single bypass. This approach, extra specific kinds are depending on preferred kinds. In such case they should had been described earlier than we use them. For instance,
Here we see that, object type product is the use of other object kinds, like catalog. To make this file correctly, it is obligatory that catalog exist earlier than product is said. We have to defines kinds so as of inheritance.
NOTE: Impex documents are parsed in more than one skip, so order isn't critical there.
Each xml report is proven against a items.Xsd in the course of construct. If the xml document does now not conforms to xsd file, construct will fail.
Q13. What Integration Topologies It Provides?
Whatever you need….Pre-integrated ActiveMQ on tomcat is to be had for messaging. Restful web offerings frameworks are to be had OOB.
Q14. How Easy To Learn This?
Actually if you realize spring and has idea of primary ecommerce than no longer tons attempt required to examine Hybris platform. You want to be acquainted with impex and flexi seek syntax but masses of examples are available to learn this
Q15. How To Run Multiple Hybris Instance In One Machine?
Basically hybrid runs on a tomcat instance. Hybris is sent with a bundled tomcat. So the query right here is in reality, a way to run a couple of tomcat in a single device.
We can run as many hybris we need, till our device reminiscence allows. To accomplish that, we need to make every instance of tomcat to have it’s personal ports to use. Make under ports precise for every example. We ought to upload beneath houses in nearby assets file of each instance with particular values..
Tomcat.Http.Port=7001
tomcat.Ssl.Port=7002
tomcat.Ajp.Port=7009
tomcat.Jmx.Port=7003
tomcat.Jmx.Server.Port=7004
Q16. Can We Use This As A Fully Fledged Content Management Solution?
No, if your website online could be very a whole lot specific to content management and also you want to manage specific version of -man or woman content material than wcms isn't the proper solution for you.
Otherwise it has all capabilities which can be required for an ecommerce application.
Q17. Is It Configurable Or Require Deployment For All Sort Of Changes?
Mostly configuration till you has now not carried out your very own customizations. Even you may disclose your custom factors to hmc and from there you can also exchange your configuration on the fly.
Q18. Does It Have Business Processing Capabilities Also?
Yes, restrained however you can outline your workflows. Moreover you could regulate your workflow decisions at the fly via hmc.
Q19. What Are Catalog Aware Item Types?
While developing a statistics model for your venture, you may come upon situations, in which you may need some of your item sorts to be part of catalog. This method, you need them to synchronize, you want them to be related to a catalog, content material or product. Such item kinds are referred to as catalog aware. It’s now not just CMS object kinds or products, that desires synchronization. All OOB CMS objects and products are catalog conscious.
To explicitly make an item type to be catalog aware, follow beneath steps:
Mark your object as catalog object kind, the use of custom assets catalog ItemType.
Choose characteristic from item, so one can qualify the catalog related using custom belongings catalog Version Attribute Qualifier.
Since every item in a catalog have to be precise, we need to choose an characteristic from item that is particular. This can be carried out the usage of custom belongings specific Key Attribute Qualifier.
<itemtype code=”MyItemType” autocreate=”false” generate=”false”>
<custom-properties>
<property name=”catalogItemType”><value>java.Lang.Boolean.TRUE</value></property>
<property name=”catalogVersionAttributeQualifier”><value>”catalogVersion”</value></property>
<property name=”uniqueKeyAttributeQualifier”><value>”code”</value></property>
</custom-properties>
<attributes>
<attribute qualifier=”catalogVersion” type=”CatalogVersion”>
<modifiers read=”true” write=”true” search=”true” optional=”false” unique=”true”/>
<persistence type=”property”/>
</attribute>
Once updating your object kind, you must update your platform, the usage of gadget update.
And you have to see some thing like under in HMC > System > item kinds > My ItemType > Extended
Now, instances of this itemtype may be catalog aware, and would be a part of synchronization.
Q20. What Is Role Of Jalosession?
The Jalo layer in hybris is depreacted, no longer the jalosession.
Whenever a request is made to hybris server, it may want present day consumer information, foreign money, language, timezone etc to serve that request efficiently. Since HttpSession does now not keep some of these details, hybris came up with the idea of JaloSession.
Whenever a request involves Hybris, the filter HybrisInitFilter creates an item of JaloSession. Every JaloSession item is associated with a SessionContext item, which has current consumer, language, foreign money and so forth and the modern-day httpSession object.
Cron jobs also run in a JaloSession.
Each JaloSession is sure to a tenant. This can not be changed, after the instance of JaloSession is created.
JaloSession is never made persistent in database.
Q21. Can We Use Hybris For Product Enrichment Also?
Yes, their PIM module is meant for this.
Q22. How Easy It Is To Migrate From Existing Magento Or Custom Ecommerce Solution To Hybris Platform?
It will rely but relatively possible. Their records import system may be very lots bendy. Once information mapping is performed it is simple emigrate.

