0 Replies Latest reply on Sep 21, 2007 8:08 AM by K J

    configure multiple portlets to access same database (tables)

    K J Newbie

      Hi,

      Config:
      --------------------
      JBoss AS 4.0.5 GA
      JBoss Portal 2.6.1
      Seam 1.2.1
      ----------------------

      From what I have read,

      I understand that Completely independent portlets(in terms of database) can be deployed together as an ear and can communicate with each other using APPLICATION Scope.

      I am trying to develop a portal consisting of various portlets.
      All the portlets will access the same database.
      The portlets will be on the same page or different(will depend on user choice, Dashboard already takes care of that ).

      I want to integrate all the standalone portlets as one ear.

      Now for my problem :
      Theindividual portlets are working just fine.
      But the moment I add the other portlets, due to duplication of entity classes the portal goes haywire.

      I would like to know how to go about this (packaging and structure of entity classes), so that all the portlets use the same entity classes and also can be deployed as standalone portlets.

      Regards,

      KJ