Does Hybris use Spring Framework? - spring

I am trying to understand and get some information for the Hybris platform. Does it use Spring Framework? Also could anyone please share the link / material to have more understanding about it's architecture, technology, etc ?
As per my research, they use:
Technology:
Spring MVC, JSF (FrontEnd), REST Web services ?????
User Interfaces:
Product Cockpit, CMS Cockpit, Print Cockpit, Admin Cockpit, HMC
Platform:
Persistance, Caching, Security, Internationalization, Import/Export, Search
App Server:
Hybris Server, Oracle BEA, IBM, JBoss
Database:
Oracle, SqlServer, Mysql
IMP: Does SAP Hybris support for Spring REST. I think since it uses Spring MVC + Security, so restful web services should of Spring REST only. I heard that it also support RestEasy and Jersey, but not good option when you have a Spring REST in place which adds great support than RestEasy and Jersey. Can you bring in details ?
Can someone please answer to the above IMP query ? Also please share sample RestFul web service of SAP Hybris.

Hybris uses the following technologies:
Java, Spring, Apache SOLR, Groovy, Scala, Apache Commons, ZK framework, Google Analytics, Jasper Reports, Tomcat.
You can find the best information on the architecture of hybris here.
You need a SAP Hybris login for this.

Spring core, Spring MVC.
JSP, javascript, CSS, bootstrap for the frontend.
java 8 for the backend.
apache Solr as the search engine.
tomcat, spring tc server, oracle, IBM as server.
hsqldb, oracle, IBM SAP HANA, MySql, Percona etc as database.

hybris does use spring and many other frameworks (like zk, groovy, scala). They have there own persistence layer and they does use the MVC pattern a lot. As hybris provide a lot of different services and interfaces it is not clearly only one architecture.
e.g. the "datahub" is a communication gateway based on spring integration, but Independent from the base platform.

Hybris use spring mvc spring security. it is compatible with Mysql, HANA, Oracle, sqlserver etc. Also it comes with charon api which make it easy to interact with yaas platform specially designed to fulfill the requirement of other ecommerce feature. you can access it through following link : click [here]:help.hybris.com
But again it is not free. You can also try on http://www.slideshare.net/

Related

Are there any specific languages which can be used with multi-tenant architecture?

Can I use AngularJS NodeJS and mongoDB in a multi-tenant application or are there any restrictions for that? Please consider I am novice to multi tenancy and am bit confused about suitable technologies which should be used in a multi - tenant web application.
You can get multitenant java app example from below link.
Multi tenant Java app using spring & hibernate

Plain Servlet vs Spring MVC

I have to create a web application, I need to use my back-end code for mobile apps also.
I know Servlet, I thought of doing this application with "REST API" + HIBERNATE for server side and Javascript(Angular JS ) in UI.
Some of my colleagues suggest to do this with Spring. I don't know anything about Spring. While reading about Spring I came to know that back-end logic and UI code can be in same place. It seems it is tightly coupled with back-end and front-end.
Some times back Jquery is more preferable JS framework but now everyone suggests Angular JS. This will be changed after some times. But logic I am going to write in back-end will be the same.
How can I choose the correct one?
I suggest to use:
Spring web MVC for backend https://spring.io/guides/gs/serving-web-content/, maybe with Spring Boot, and Hibernate for DAO layer. Here you can find a helpful example (without Spring Boot): http://websystique.com/springmvc/spring-mvc-4-and-spring-security-4-integration-example/
and for frontend certainly Angular 2, with TypeScript, instead of Angular js, and here reach the REST service exposed by backend.
These days it is easy to build a REST based back end with no libraries at all if you deploy to a Java EE 6/7 server such as WildFly, TomEE or Payara (amongst others).
You get JAX-RS and JSON-P (for rest), JPA for persistence, web sockets, asynchronous processing, transaction management and the rest of the Java EE stack for free.
Try a google search for Java EE thin war - there's lots of examples about

why we use jersey with spring? What are the benefits?

I want to know that why we use jersey with spring and what are the benefits of using it.
I have searched on google but not getting proper answer so i am asking this question here.Sorry because i know my question is old but i am very confused now.
Please suggest me the example of jersey with spring and hibernate.
Thanx in advance.
I use Jersey2 with Spring in one of my projects and in the other Spring MVC4. The advantage of Jersey is its simplicity. If you are creating only RESTful Web services - use Jersey, if you have to generate also some web pages for users, consider to use Spring MVC.
Additionally, I develop my applications on Google Cloud, so the warm up time is very important (if there is a traffic spike, many instances have to wake up in the background to be ready for incoming requests) - according to my tests Jersey is a bit faster than MVC.
Here you have an example of complete configuration:
Integrating Jersey 2 and Spring with Java Based Configuration

Reporting statistics in Spring Web Flow

We have an enterprise application using Spring 3.2.8 and Spring Web Flow 2.3.3 deployed on the Websphere 8 server. We wish to report statistics like no. of incomplete flows, the state at which user terminate the flow, time spent at individual states etc. We thought of using Spring Instrumentation. However, could not find instrumentation jar package for Spring 3.2 and Webflow 2.3. Where can I find the complete distribution of Spring 3.2 instrumentation jars? Or which other tool can I use for my purpose with Websphere 8? Please help.
I just did a google search. If I read the webpage correctly, instrumented spring is a paid product.
From http://static.springsource.com/projects/instrumentation/index.html:
Instrumented Spring Framework, Web Services, Web Flow, and Security are available as part of a tc Server Spring Edition 2.x subscription or evaluation, which includes integration with Hyperic HQ. Instrumented Spring products are also available to Spring Enterprise subscribers.

Soap client framework

I have web application on Spring MVC and looking for SOAP consumer - frameworks to be used with Spring MVC. The web app is only the consumer and doesn't host any web service.
Options I am looking for SOAP client are :
1. JAX-WS
2. Spring MVC & Spring-WS
3. Apache Axis or CXF
4. Spring Integration or Camel. Can these be used for consumption of
services too? Won't that be overhead?
What do you suggest? Please recommend the best option if also not in the above list.
Thanks in advance.
Look at this excellent post about this subject.
Which framework is better CXF or Spring-WS?
My advise based on the fact that you only have to develop one client, is to consider making your choice based on your context to optimize your productivity and avoid adding tones of layer and libs in your app:
Pure Java EE app or already using Spring APP
Your current Application Server : Jboss for example already provide a CXF implementation that is very suggested to use
Service providers "age": I have met some problems in calling AS400 or old IBM system webservices. Any client was not working.
Your IDE and Plugins : for example, if you have eclipse, Axis/CXF plugins are very interesting.
Concerning Camel, it is interesting if you have different source and destination like HTTP to JMS.
For Camel, read this post:
What exactly is Apache Camel?

Resources