ServiceImpl and existing java app

2009-02-14 Thread hermis
Hello all, I am developing a Java application which will eventually embed a HTTP server and then act as the server for my GWT application. I need help with getting the GWT app to access a method in the Java app :) Until now, just for the sake of developing I have been instantiating my java app

Re: ServiceImpl and existing java app

2009-02-14 Thread mikedshaf...@gmail.com
If I'm understanding what you're attempting correctly, that's the easiest way to do it. Your ServiceImpl is still running in pure Java, and that's where an existing Java app can live. Your client will be compiled out into Javascript, so if you wanted your existing Java classes to be available on

Re: ServiceImpl and existing java app

2009-02-15 Thread hermis
Thanks for the reply Shaffer. The problem is my app needs to run completely independently from the client. As is; the application will be launched once a web client makes an RPC request. Let me try to clarify as I may have been misunderstood. I am developing a GUI based java application which

Re: ServiceImpl and existing java app

2009-02-15 Thread jossey
I m not sure I completely understand. But can you store the instance in the servlet context and retrieve it for subsequent requests. On Feb 15, 2:29 pm, hermis wrote: > Thanks for the reply Shaffer. > > The problem is my app needs to run completely independently from the > client. > > As is; the

Re: ServiceImpl and existing java app

2009-02-16 Thread hermis
Thanks you my friend - worked a treat :) On Feb 15, 9:48 pm, jossey wrote: > I m not sure I completely understand. > But can you store the instance in the servlet context and retrieve it > for subsequent requests. > > On Feb 15, 2:29 pm, hermis wrote: > > > Thanks for the reply Shaffer. > > > T