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#3979741

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3979741
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to