> The general question is "Can a portlet do anything a java application on
> the portal machine do?" or are there certain restrictions?

AFAIK, there are no restrictions (someone correct me if I'm wrong) of any sort like 
you would have with applets or EJBs.  Portlets are straight forward java classes and 
follow the same rules as any other class running from within the servlet container.

> Does the Tomcat-Turbine-Jetspeed model allow a Jetspeed portlet to open a
> server TCP/IP socket on a non-priviledged port and listen on it?

Be careful as portlets are short-lived and are discarded after the request has 
completed, so your socket would only listening for a brief moment.  Even with caching, 
portlets become serialized to disk (I think) and socket connections cannot be 
serialized.

You would be best served creating a Turbine service to listen and have the portlet 
interact with that.

scott

> -----Original Message-----
> From: Sandeep Nijsure [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 12, 2002 11:22 AM
> To: Jetspeed Users List
> Subject: Can a portlet open a server socket?
> 
> Hi all,
> 
> Does the Tomcat-Turbine-Jetspeed model allow a Jetspeed portlet to open a
> server TCP/IP socket on a non-priviledged port and listen on it?
> 
> The general question is "Can a portlet do anything a java application on
> the portal machine do?" or are there certain restrictions?
> 
> Thanx,
> Sandeep
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:jetspeed-user-
> [EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:jetspeed-user-
> [EMAIL PROTECTED]>

Reply via email to