Hi

I am runnung a card game application within a Tapestry website. For user
management, I use tapestry-hibernate and some tapestry pages to
create/list/etc users.

Withing the game application, I create my own Hibernate SessionFactory
handle logins in the game.

Is it possible to somehow obtain the SessionFactory from Tapestry instead
of creating a second instance? I am aware that the tapestry context is
registered as a ServletContext parameter, but I have no idea how to
"manually" get an object that would be @Inject-ed in Tapestry context.

Thanks for help.
Stefan

Reply via email to