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.ht...
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#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...