I have multiple portlets with one common hibernate datasource (in theory; what I currently have is a bunch of portlets with a hibernate instance for each portlet).
shows what I would like to archieve. The best scenario would be to deploy the datasource and portlets as seperate wars each (where deployed portlets find the datasource context by bean name or something similiar).
I found this blog entry:
which requires me to set up a J2EE application server, which I don't need for other purposes. Is there another way to share a context?