I haven't seen any documentation on setting up databases for portlets, but I have done
it for servlets and image it is not much different. Something like this:
1) Get the datasource name from the preferences
2) Use JNDI to lookup the datasource
3) Get the connection and do database work
4) Close the datasource (which releases is back to the pool)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3979741#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...