Portlets only exist in the context of a user session. If no one is viewing a page with that portlet on it, then the portlet does not exist. This means that the concept of "sending data to a portlet" is not a good way to look at the problem.

One way to look at the problem is that the sending application has to put the data somewhere that the portlet can find it and act on it.

In a WebServices or remoting solution, the extended application would be running all the time with the data that the portlet wants (WebApp for example) and the portlet makes some sort of query to retrieve the data. You can use any remote access to do this and it is done the same way in a portal as in any other type of application. The details are not really a question for this forum since it is not a portal question and you can read up on the remote solution that you select. We use Apache CXF but many other tools will work.

In a shared database solution, the extended app writes what it wants to share in a database or file and the portlet reads the data from wherever it has been written. Once again, any number of database or file structures could be used. Portlets can read any kind of data that you can write.


On 30/08/2012 12:53 PM, Dongyu Yang wrote:
Hi Ron,
      The communication that I want as bellow:
               One extended application sends data to Portlet, and the
portlet receiving and processing the data.

        1) Web Services or other remoting method
                Do you mean WSRP, and could you give me one example or some
reading material?

        2) Shared database
                Where can I get more information?

        3) Messaging
                Could you explain it more detail or give me one example?

        Thanks for your help!

2012/8/30 Ron Wheeler <[email protected]>

1) Web Services or other remoting method
2) Shared database
3) Messaging

What sort of communication do you want.

Ron


On 30/08/2012 9:57 AM, Dongyu Yang wrote:

Hi all:
         I am newer of jetspeed2, and I want to konw how can a portlet
communicate with other application?

         Thanks for your help!


--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


------------------------------**------------------------------**---------
To unsubscribe, e-mail: 
jetspeed-user-unsubscribe@**portals.apache.org<[email protected]>
For additional commands, e-mail: 
jetspeed-user-help@portals.**apache.org<[email protected]>




--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to