SAP Hybris suite , Hybris tutorial, Java, J2ee Stuff Online-

What is role of jalosession in Hybris : most asked hybris interview question

Open 1 Answers 1055 Views

Hello Buddy,

Sometime developer stuck to give simple hybris interview question like JaloSession is moslty aware by developers but when Interviewer assked what is  role of jaloSession then you can stuck but now below is clear answer

The Jalo layer in hybris is depreacted, not the jalosession.

Whenever a request is made to hybris server, it may need current user details, currency, language, timezone etc to serve that request efficiently. Since HttpSession does not hold all these details, hybris came up with the concept of JaloSession.

Whenever a request comes to Hybris, the filter HybrisInitFilter creates an object of JaloSession. Every JaloSession object is associated with a SessionContext object, which has current user, language, currency etc and the current httpSession object.

–Cron Jobs also run in a JaloSession.

-Each JaloSession is bound to a tenant. This cannot be changed, after the instance of JaloSession is created.

-JaloSession is never made persistent in database.

If you are satisfy with answer please provive you commets

1 Answer

Seems to be right
answered Jul 5 by anonymous