Hello,

My question is very basic... but i am a bit confused with
the DB persistence setup. Actually I am trying to plug the
DB persistence for my WSRP4J producer but i did not find any
documentation.

Does somedy know where i could find some links or a posts in
the mailing list which describes the way to enable DB
persistence. Unfortunately, this time google does not help
me very much :0((

If there is no documentation, if somedy who has already ue
the DB layer can give me some information. By this way, i
will be able to know where to start.

Basically, i have done the following steps :
 -  i have the deployed the test portlet on the
wsrp4j-producer using Xml file.
  - i have started my hsqldb database.

I have seen that i have to add a filter to the portlet.xml
of my test portlet ... something like :
 <portlet>
        <portlet-name>WSRP4JTestPortlet</portlet-name>
...
       
<portlet-class>org.apache.wsrp4j.testportlet.TestPortlet</portlet-class>
        <init-param>
            <name>filter.hibernate</name>
         
<value>org.apache.wsrp4j.persistence.db.portlet.HibernateSessionPortletFilter</value>
        </init-param>
        <expiration-cache>-1</expiration-cache>
.....
    </portlet>

But i do not know what are the following steps ?!

Thank you by advance for you help.
Kind regards,
Adrien






--------------------- ALICE SECURITE ENFANTS ---------------------
Protégez vos enfants des dangers d'Internet en installant Sécurité Enfants, le 
contrôle parental d'Alice.
http://www.aliceadsl.fr/securitepc/default_copa.asp


Reply via email to