Re: [Resin-interest] comet hessian param

2008-09-11 Thread Vic Cekvenich
Thank you!!!In the mean time.  there has to be a way that I can hack
sending some param to the registartion servlet...

.V

On Thu, Sep 11, 2008 at 8:34 AM, Emil Ong <[EMAIL PROTECTED]> wrote:

> On Wed, Sep 10, 2008 at 04:31:08PM -0700, Vic Cekvenich wrote:
> > Is there a hello world or example on using .as BAM?
>
> There was, but it's down until I recode the AS Hessian implementation to
> match the new protocol.  I'll send an update when it's done.  Given
> various speaking engagements, etc., I'd give it a bit over a month...
>
> Emil
>
> > On Wed, Sep 10, 2008 at 3:48 PM, Emil Ong <[EMAIL PROTECTED]> wrote:
> >
> > On Wed, Sep 10, 2008 at 01:09:32PM -0700, Vic Cekvenich wrote:
> > > Yes, having 2 is OK.
> > > But I have no way to register one w/ the other.
> > > Any idea how I know who is who?
> > > I really needs this, even if I hack it. If I can pass something
> from Flex
> > > to the comet servlet.
> > >
> > > If bam does it w/ actionscript?
> >
> > Yup, BAM is much better suited to this.  You can send messages and
> > queries over the same channel using BAM in AS.
> >
> > Emil
> >
> > > .V
> > >
> > >
> > >
> > > The Hessian Flex streaming service is not bidirectional at
> the
> > moment.
> > > That will probably wait until Servlet 3.0 so we can put out
> a
> > > reasonable
> > > example.
> > >
> > > Until then, you can use two services, one a streaming
> service and
> > one a
> > > traditional Hessian RPC service.
> > >
> > >
> > >
> >
> > > ___
> > > resin-interest mailing list
> > > resin-interest@caucho.com
> > > http://maillist.caucho.com/mailman/listinfo/resin-interest
> >
> > 
> >
> > Emil Ong
> > Chief Evangelist
> > Caucho Technology, Inc.
> > Tel. (858) 456-0300
> > mailto:[EMAIL PROTECTED]
> > http://blog.caucho.com/
> >
> > Caucho: Reliable Open Source
> > --> Resin: application server
> > --> Quercus: PHP in Java
> > --> Hessian Web Services
> >
> >
> > ___
> > resin-interest mailing list
> > resin-interest@caucho.com
> > http://maillist.caucho.com/mailman/listinfo/resin-interest
> >
> >
>
> > ___
> > resin-interest mailing list
> > resin-interest@caucho.com
> > http://maillist.caucho.com/mailman/listinfo/resin-interest
>
> 
>
> Emil Ong
> Chief Evangelist
> Caucho Technology, Inc.
> Tel. (858) 456-0300
> mailto:[EMAIL PROTECTED]
> http://blog.caucho.com/
>
> Caucho: Reliable Open Source
> --> Resin: application server
> --> Quercus: PHP in Java
> --> Hessian Web Services
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] comet hessian param

2008-09-11 Thread Emil Ong
On Wed, Sep 10, 2008 at 04:31:08PM -0700, Vic Cekvenich wrote:
> Is there a hello world or example on using .as BAM?

There was, but it's down until I recode the AS Hessian implementation to
match the new protocol.  I'll send an update when it's done.  Given
various speaking engagements, etc., I'd give it a bit over a month...

Emil

> On Wed, Sep 10, 2008 at 3:48 PM, Emil Ong <[EMAIL PROTECTED]> wrote:
> 
> On Wed, Sep 10, 2008 at 01:09:32PM -0700, Vic Cekvenich wrote:
> > Yes, having 2 is OK.
> > But I have no way to register one w/ the other.
> > Any idea how I know who is who?
> > I really needs this, even if I hack it. If I can pass something from 
> Flex
> > to the comet servlet.
> >
> > If bam does it w/ actionscript?
> 
> Yup, BAM is much better suited to this.  You can send messages and
> queries over the same channel using BAM in AS.
> 
> Emil
> 
> > .V
> >
> >
> >
> > The Hessian Flex streaming service is not bidirectional at the
> moment.
> > That will probably wait until Servlet 3.0 so we can put out a
> > reasonable
> > example.
> >
> > Until then, you can use two services, one a streaming service 
> and
> one a
> > traditional Hessian RPC service.
> >
> >
> >
> 
> > ___
> > resin-interest mailing list
> > resin-interest@caucho.com
> > http://maillist.caucho.com/mailman/listinfo/resin-interest
> 
> 
> 
> Emil Ong
> Chief Evangelist
> Caucho Technology, Inc.
> Tel. (858) 456-0300
> mailto:[EMAIL PROTECTED]
> http://blog.caucho.com/
> 
> Caucho: Reliable Open Source
> --> Resin: application server
> --> Quercus: PHP in Java
> --> Hessian Web Services
> 
> 
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
> 
> 

> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:[EMAIL PROTECTED]
http://blog.caucho.com/

Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Hessian Web Services


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] comet hessian param

2008-09-10 Thread Vic Cekvenich
Is there a hello world or example on using .as BAM?
tia,
.V

On Wed, Sep 10, 2008 at 3:48 PM, Emil Ong <[EMAIL PROTECTED]> wrote:

> On Wed, Sep 10, 2008 at 01:09:32PM -0700, Vic Cekvenich wrote:
> > Yes, having 2 is OK.
> > But I have no way to register one w/ the other.
> > Any idea how I know who is who?
> > I really needs this, even if I hack it. If I can pass something from Flex
> > to the comet servlet.
> >
> > If bam does it w/ actionscript?
>
> Yup, BAM is much better suited to this.  You can send messages and
> queries over the same channel using BAM in AS.
>
> Emil
>
> > .V
> >
> >
> >
> > The Hessian Flex streaming service is not bidirectional at the
> moment.
> > That will probably wait until Servlet 3.0 so we can put out a
> > reasonable
> > example.
> >
> > Until then, you can use two services, one a streaming service and
> one a
> > traditional Hessian RPC service.
> >
> >
> >
>
> > ___
> > resin-interest mailing list
> > resin-interest@caucho.com
> > http://maillist.caucho.com/mailman/listinfo/resin-interest
>
> 
>
> Emil Ong
> Chief Evangelist
> Caucho Technology, Inc.
> Tel. (858) 456-0300
> mailto:[EMAIL PROTECTED]
> http://blog.caucho.com/
>
> Caucho: Reliable Open Source
> --> Resin: application server
> --> Quercus: PHP in Java
> --> Hessian Web Services
>
>
> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest
>
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] comet hessian param

2008-09-10 Thread Emil Ong
On Wed, Sep 10, 2008 at 01:09:32PM -0700, Vic Cekvenich wrote:
> Yes, having 2 is OK.
> But I have no way to register one w/ the other.
> Any idea how I know who is who?
> I really needs this, even if I hack it. If I can pass something from Flex
> to the comet servlet.
> 
> If bam does it w/ actionscript?

Yup, BAM is much better suited to this.  You can send messages and
queries over the same channel using BAM in AS.

Emil

> .V
>  
> 
> 
> The Hessian Flex streaming service is not bidirectional at the moment.
> That will probably wait until Servlet 3.0 so we can put out a
> reasonable
> example.
> 
> Until then, you can use two services, one a streaming service and one 
> a
> traditional Hessian RPC service.
> 
> 
> 

> ___
> resin-interest mailing list
> resin-interest@caucho.com
> http://maillist.caucho.com/mailman/listinfo/resin-interest



Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:[EMAIL PROTECTED]
http://blog.caucho.com/

Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Hessian Web Services


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] comet hessian param

2008-09-10 Thread Vic Cekvenich
>
> Yes, having 2 is OK.
> But I have no way to register one w/ the other.
> Any idea how I know who is who?
> I really needs this, even if I hack it. If I can pass something from Flex
> to the comet servlet.
>
> If bam does it w/ actionscript?
>
> .V
>
>
>>
>> The Hessian Flex streaming service is not bidirectional at the moment.
>> That will probably wait until Servlet 3.0 so we can put out a reasonable
>> example.
>>
>> Until then, you can use two services, one a streaming service and one a
>> traditional Hessian RPC service.
>>
>>
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest


Re: [Resin-interest] comet hessian param

2008-09-10 Thread Emil Ong
On Wed, Sep 10, 2008 at 09:56:45AM -0700, Vic Cekvenich wrote:
> oing standard things, like this from Flex:
>   _push= new HessianStreamingService("pushReg"); //servlet
>   _push.responder=this;
> 
> and this on server:
>   public boolean service(ServletRequest request, ServletResponse response,
>  CometController comet) throws IOException, ServletException {
> 
>  HttpServletRequest req = (HttpServletRequest) request;
>  HttpServletResponse res = (HttpServletResponse) response;
>  Hessian2StreamingOutput out;
>  out = new Hessian2StreamingOutput(res.getOutputStream());
>  req.setAttribute("comet.hessian", out);
> 
>  //String roomId = req.getParameter("roomID");
> 
> Question:
> How do I pass a param to the service? (like the last line commented out)
> For example a room.
> 
> Comet is a servlet, and I should be able to pass it a parm from hessian 
> somehow.
> It does not have to be as easy as calling the regualr hessian service, 
> but some way to pass a message from HessianStreamingService that I can 
> then read during the registration of the comet.

Hi Vic,

The Hessian Flex streaming service is not bidirectional at the moment.
That will probably wait until Servlet 3.0 so we can put out a reasonable
example.

Until then, you can use two services, one a streaming service and one a
traditional Hessian RPC service.  

Take care,
Emil



Emil Ong
Chief Evangelist
Caucho Technology, Inc.
Tel. (858) 456-0300
mailto:[EMAIL PROTECTED]
http://blog.caucho.com/

Caucho: Reliable Open Source
--> Resin: application server
--> Quercus: PHP in Java
--> Hessian Web Services


___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest