Hi Daniel,

there's nothing that replaces a servlet filter in RIFE. There's no
concept of invocation chain or 'around' wrapping. The only thing that
you can do, if you really don't want to use filters, is to create a
base element class that implements processElement and create an
abstract method in that class that is called from within
processElement. You can then do the 'around' logic in there. Your
other elements can then extend that base element and implement that
abstract method.

Hope this helps,

Geert

On Sun, Apr 20, 2008 at 11:07 AM, Daniel K. Nyoto <[EMAIL PROTECTED]> wrote:
>
> Hi Guys,
>
>  I'm building a web site using RIFE and Hibernate. One of the famous pattern
> of using Hibernate is open session in view which is done with
> servlet-container filter. I wonder if it's possible to implement this purely
> in RIFE without setting up any servlet filter.
>
> Thanks in advance for your help.
>
> Kind regards,
> Daniel K. Nyoto
>
>  >
>



-- 
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"rife-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to