5 Replies Latest reply on Aug 31, 2007 12:26 PM by claprun

    Help needed publishing remote portlet

    moroboshi

      Hi,

      I have developed a very simple portlet that I have deployed in Jboss Portal 2.6.1 with success. It's a remote portlet and everything seems to be working fine. I can create a new instance of my portlet and use it anywhere in the portal. What I can't understand is how can another another user consume my remote portlet in his portal. Shouldn't my remote portlet have a wsdl so that other users can consume it?

      Kind regards
      Moroboshi

        • 1. Re: Help needed publishing remote portlet
          claprun
          • 2. Re: Help needed publishing remote portlet
            moroboshi

            Ok. I managed to consume my remote portlet in Jboss Portal :). Another question I have (and I know it's off topic) is if it's possible to invoke my remote portlet from a j2ee web application (Servlet for example)? Has anybody have any suggestion on how to accomplish this task?

            Thanks. Kind regards
            Moroboshi

            • 3. Re: Help needed publishing remote portlet
              claprun

               

              "moroboshi" wrote:
              Ok. I managed to consume my remote portlet in Jboss Portal :).


              Good! :)

              "moroboshi" wrote:
              Another question I have (and I know it's off topic) is if it's possible to invoke my remote portlet from a j2ee web application (Servlet for example)? Has anybody have any suggestion on how to accomplish this task?


              It's possible but that would involve writing the equivalent of a WSRP consumer. What is your use case?

              • 4. Re: Help needed publishing remote portlet
                moroboshi

                We're trying to develop a small portal network, where each portal is a country responsible of providing information to each other. The information provided is for now, two basic HTML tables representing a list of companies and persons. Each country consumes the portlet of the other countries. The consumed information must be internationalized. Since our portal is a standard J2EE application we want to be able to invoke each portlets from our serlvets or jsps.

                Is it hard to write a WRSP consumer? where should I search for help:?

                Thanks. Kind regards.
                Moroboshi

                • 5. Re: Help needed publishing remote portlet
                  claprun

                   

                  "moroboshi" wrote:
                  Since our portal is a standard J2EE application we want to be able to invoke each portlets from our serlvets or jsps.


                  If portlet and other web apps run in the same application server, it might be possible to have them communicate via Request dispatching.

                  "moroboshi" wrote:
                  Is it hard to write a WRSP consumer? where should I search for help:?


                  Depends on what your needs are. A simple WSRP consumer targeted to your needs might not be too hard. A generic, specification complete one is a major undertaking. The only information on the subject that I am aware of is the WSRP specification...