[jboss-user] [JBoss Portal] New message: "Re: JBOSS Portal server framework & DB Interaction"

Peter Johnson do-not-reply at jboss.com
Mon Feb 15 10:20:52 EST 2010


User development,

A new message was posted in the thread "JBOSS Portal server framework & DB Interaction":

http://community.jboss.org/message/526383#526383

Author  : Peter Johnson
Profile : http://community.jboss.org/people/peterj

Message:
--------------------------------------------------------------
Accessing a database from a portlet is no different from accessing a database from a servlet or any other Java EE app. First, I recommend that you do not use the portal's database, instead use your own database. For example, if you are using MySQL, create a new database. Then create and deploy a *-ds.xml file for your database. Then write your code to acccess that database.
--------------------------------------------------------------

To reply to this message visit the message page: http://community.jboss.org/message/526383#526383




More information about the jboss-user mailing list