Hi,

to be honest I'm no php guy, so I'm not sure about the implementation  
details of the hessian control on php side.

on gwt side you simply implement an interface, for example like this

public interface HelpHessianService {
        
        public List<String> getHelpTopics(String search);
        
}

and you then instantiate this interface via a helper method

import com.caucho.hessian.client.HessianProxyFactory;

                        String hostUrl = getHostUrl(request);
                        String url = hostUrl + "/index.php? 
main_page=gwt_handler&hessian=true";
                        HessianProxyFactory factory = new HessianProxyFactory();
                        HelpHessianService helpHessianService =  
factory.create(HelpHessianService.class, url);

and then you can just call helpHessianService.getHelpTopics(search);

HTH

Dominik
> Thank you,
>
> Dominik for your prompt reply.
>
> It is sounds great to me. I have a feeling I could provide  
> connection through the hessian web service to PHP application to get  
> some of the services from the PHP/Apache application.
>
> Also I have researched in the web and found the Hessian PHP Client/ 
> Server application.
>
> Dominik, how the hessian protocol is basically operate the data from  
> the PHP/Apache and
> GWT/Tomcat.
>
> More details appreciated.
>
> Regards,
>
> R
>
> On Wed, Oct 7, 2009 at 11:27 AM, Dominik Steiner 
> <[email protected] 
> > wrote:
>
> on our project our GWT frontend (running on tomcat) was talking with
> the php backend (on another server) via hessian protocol and it was
> working good.
>
> HTH
>
> Dominik
> On Oct 6, 11:26 am, Takalov Rustem <[email protected]> wrote:
> > Hey Guys,
> >
> > I have been researching on GWT and PHP integration a while.
> >
> > The reason is - I need a simple, flexible client - side AJAX based  
> Framework
> > to develop and integrate web - based application into existing PHP
> > application running @ Rackspace (Linux, PHP, MySQL).
> >
> > Is anyway to integrate GWT api's into PHP code or I need to call  
> PHP scripts
> > from GWT?
> >
> > Do I have to run Tomcat server, Apache at the same server? How  
> they would
> > interact between each other?
> >
> > I think the solution connected with JSON, Jetty, hosted server  
> mode, but I
> > am not sure.
> >
> > Here is php script:
> >
> > <?php
> >
> > echo "<html></html>";
> >
> > // I need AJAX Editor to Save/Load Editable Text Box to load it  
> unto MySQL
> > DB.
> >
> > echo "<script>AJAXEditor();</script>";
> >
> > ?>
> >
> > How will it interact with HTML 5 manifest?
> >
> > Let me know if any questions.
> >
> > Thanks,
> >
> > Guys
> >
> > R
>
>
>
>
> -- 
> Regards,
> Rustem T
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to