5 Replies Latest reply on Oct 20, 2006 8:59 AM by Brian McGovern

    Using Hibernate to access non-portal data via singleton

    Brian McGovern Newbie

      I have a project where I have to create a portal along with a non-portal web app to allow different users to read and write to my secondary data set. Portlets will need to interact with this data as well as componants (jsps and servlets outside of the portal container. I would like to know if anyone has any recomendations on how to do this. My idea was to create a new local-tx-datasource in -ds.xml. But from there im not sure where to go. Ideally my goal would be to have hibernate bridge objects through some kind of singleton for both the webapp and ALL portlets to use. Is this possible? if so how?

      Im on jboss 2.4 bundled portal and appserver.