[jboss-user] [JBoss Portal] - Re: Where is my portal Instance?
PeterJ
do-not-reply at jboss.com
Fri Oct 20 17:20:06 EDT 2006
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
More information about the jboss-user
mailing list