Is there an equivalent to HTTP Session scopes for FSW?

Solution Verified - Updated -

Environment

Red Hat Fuse Service Works (FSW) 6.0

Issue

A web application is being converted to use FSW components instead. The current web application uses HTTP Session to store state. Is there an equivalent for FSW components?

Resolution

There is no direct equivalent. FSW is a service framework, it encourages stateless behavior. Similar functionality may be able to be provided with other persistence mechanisms, but the service and client will have to manage correlation themselves.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.