[jboss-user] [JBoss Portal Users] - Re: Source code for ShoppingCart and ShoppingCatalog portlet
PeterJ
do-not-reply at jboss.com
Thu Sep 17 11:33:53 EDT 2009
I haven't used those portlets so I cannot comment on whether that is all the code you need or not.
You can place both portlets into a single project.
To configure a database for Portal see http://docs.jboss.com/jbportal/v2.7.1/referenceGuide/html/installation.html#d0e927
Accessing a database within a portlet is no different from accessing a database within any other app deployed to the app server. Specifically how you go about it depends on the data access technology (i.e., JPA, Hibernate, JDBC). However, I recommend that you do not use the same database used by the Portal, you should create a separate database and a separate *-ds.xml file to access it.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4255778#4255778
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4255778
More information about the jboss-user
mailing list