João,

There is nothing wrong with switching over to Red5 for the server side
logic of your application. Since you are hoping to code in Java,
utilize Hibernate and take advantage of the RTMP connection, it seems
to make logical sense.

So, with this in mind, I would look at switching your existing
application to use AMF and Red5 first, as your current version is
using the AMF protocol to talk with PHP. AMF0 is fully supported and
this is the only one that works with AS2 anyway. Simply switch the
server side logic to use Hibernate and Red5. Once you get that going
then switching to a notification type setup over RTMP would be a good
next step. You probably will find that it is overkill to have your
entire application using this type of connection. AMF may be perfectly
fine for most of the calls. Just add RTMP shared objects where they
make sense.

Now, in terms of where to go for resources, there are a bunch of
examples included with the server. Also, as you have seen, someone
recently posted an example of Red5 using AMF and Hibernate. That's the
one that I would use as a starting point if I were you.

Obrigado para tentando usar O Red5, é boa sorte! (Man, never seen so
much Portuguese being used on this list before) :-D

-Chris

On 10/12/06, João Saleiro <[EMAIL PROTECTED]> wrote:
> Olá Zé,
>
> great, but i do not intend to use AS3 right now. My intentions are to
> start looking to AS3 by the end of November, but currently i have to
> finish this application on AS2 and it's out of question changing to AS3.
> Well, it's also out of question to use Red5, but since i'm trying it on
> the spare time, if i can make the transition we all will win :). But
> what's the problem of applying this feature using Red5?
>
> Thanks,
>
> João Saleiro
>
>
>
> João Fernandes wrote:
> > Bom dia João,
> >
> > There is already a solution for what you're looking for. It's called Flex
> > Data Services which synchs automatically all clients connected to a
> > destination.
> > RPC calls are still available in FDS but Data Services is what you're
> > looking for.
> >
> > João Fernandes
> >
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> > Of João Saleiro
> > Sent: quinta-feira, 12 de Outubro de 2006 11:20
> > To: [email protected]
> > Subject: Re: [Red5] Migrating from AMFPHP to Red5
> >
> > Michael,
> >
> > I want to kill php code :).
> > I will try to use db4o (an ODBMS) with red5, as an experience to improve
> > the current framework. :)
> > So I have to say bye bye PHP. And what i want with red5 is to say also
> > "bye bye refresh button".
> >
> > Do you have any recommendations that could help me? (see my previous mail).
> >
> > João Saleiro
> >
> >
> > Michael Klishin wrote:
> >
> >> On Thursday 12 October 2006 07:18, João Saleiro wrote:
> >>
> >>
> >>
> >>> My biggest problem right now is to find how to give the server
> >>> initiative to alert all the clients, and how to adapt the client-side
> >>> code to work with Red5 and the synchronization features, changing it as
> >>> less as possible. Any advices to help me starting with this?
> >>>
> >>>
> >> Joao,
> >>
> >> First off, think whether you REALLY need to use something but SO if you
> >>
> > have
> >
> >> AMF calls working right with AMFPHP? You can access database from Red5
> >>
> > apps
> >
> >> as long as Spring integrates with Hibernate like a charm (including
> >> transactions stuff) so you can just ADD Red5 to your legacy application,
> >> powered by php.
> >>
> >> You can use sockets for this, that's the way I connected Red5 with Rails
> >> application. Or just share the same database.
> >>
> >> AMF3 support in Red5 is still incomplete...
> >>
> >> Regards,
> >>
> >>
> >>
> >
> > _______________________________________________
> > Red5 mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
> > _______________________________________________
> > Red5 mailing list
> > [email protected]
> > http://osflash.org/mailman/listinfo/red5_osflash.org
> >
> >
>
> _______________________________________________
> Red5 mailing list
> [email protected]
> http://osflash.org/mailman/listinfo/red5_osflash.org
>

_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to