With a hybrid approach, where we maintain all the content related stuff in CQ and dynamic pages (ecommerce like checkout) in the Java EE container, I have the following challenges -
Since CQ does not provide an OOTB session feature, how should I do the session management across CQ and the Java EE container? I mean when I go back and forth between CQ and the Java EE container.
Solved! Go to Solution.
Views
Replies
Total Likes
There are a few application servers (WebLogic comes to mind) which support cross-webapp session sharing. It is a non-standard feature.
I don't think any app server vendor allows you to share sessions across application server vendors, e.g. between Tomcat and WebLogic.
Views
Replies
Total Likes
There are a few application servers (WebLogic comes to mind) which support cross-webapp session sharing. It is a non-standard feature.
I don't think any app server vendor allows you to share sessions across application server vendors, e.g. between Tomcat and WebLogic.
Views
Replies
Total Likes
Any response would be highly appreciated ?
Views
Replies
Total Likes
How do we share the session across the J2EE app and CQ because CQ does not support session management OOTB ?
Views
Replies
Total Likes
Look at this thread: http://stackoverflow.com/questions/17887958/cq-and-java-ee-application-integration
Views
Replies
Total Likes
I will ensure we get advice from the CQ eng team
Views
Replies
Total Likes
It looks like this forum is not at all active. I don't see much responses here not even mine but other questions also.
Is there any other forum where Adobe provides support ?
Views
Replies
Total Likes
That post in mine only. But there is no solution yet.
Views
Replies
Total Likes
It's not clear to me why you would want to use CQ5 to serve the static pages of a site, since that usage isn't one of its strong points. But let's move on.
Why do you want a session in CQ5? If your JEE app uses the MVC pattern then it should be the controller. The pages loaded from CQ5 should use the REST principle, which the controller would ... control.
If you are actually returning dynamic content from CQ5 then I could imagine that you might need to know the security principal. In that case I would look into single-sign on or such.
Views
Replies
Total Likes
session management is a function offered by the application server. I am not familiar with the specs, but I doubt, that you can share sessions between multiple webapps.
Jörg
Views
Replies
Total Likes
Views
Likes
Replies