Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » how to interact with headless eclipse app
how to interact with headless eclipse app [message #291126] Thu, 08 September 2005 12:39 Go to next message
Eclipse UserFriend
Originally posted by: dickyjohan.yahoo.com

Hi,
Just wondering if anyone has tried creating a headless eclipse app that
runs in an event loop (in the background)?
How would another remote app go about interacting with the eclipse app?
Would you try to expose the headless app as a Web service? Or integrate
the headless app into tomcat?
Care to share your experiences.

Dicky
Re: how to interact with headless eclipse app [message #291134 is a reply to message #291126] Thu, 08 September 2005 20:29 Go to previous messageGo to next message
Eclipse UserFriend
I don't know enough about what you want to communicate between the apps.

It's been a while since I've used JINI, but I'd probably set up RMI between
the two apps. That will work in any situation, even if you are running under
2 separate JVMs.

Check out JINI and RMI.

-Chris

"Dicky Johan" <dickyjohan@yahoo.com> wrote in message
news:dfpp4g$h2e$1@news.eclipse.org...
> Hi,
> Just wondering if anyone has tried creating a headless eclipse app that
> runs in an event loop (in the background)?
> How would another remote app go about interacting with the eclipse app?
> Would you try to expose the headless app as a Web service? Or integrate
> the headless app into tomcat?
> Care to share your experiences.
>
> Dicky
Re: how to interact with headless eclipse app [message #291142 is a reply to message #291126] Fri, 09 September 2005 04:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.bettsockentraeger.de

Depending on how you want to access the application I would suggest the
following:
If you only use javaclients go with RMI.
If you use clients in other languages use webservices since it is easier
to setup than CORBA (IMHO).
You might also want to check out Hessian and Burlap Protocol. More
information at http://www.caucho.com/.

Regards
Stefan

Dicky Johan wrote:
> Hi,
> Just wondering if anyone has tried creating a headless eclipse app that
> runs in an event loop (in the background)?
> How would another remote app go about interacting with the eclipse app?
> Would you try to expose the headless app as a Web service? Or integrate
> the headless app into tomcat?
> Care to share your experiences.
>
> Dicky
Re: how to interact with headless eclipse app [message #291146 is a reply to message #291126] Fri, 09 September 2005 06:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

Another approach would be to use a message-driven solution using JMS or SMTP. That way, a listner will receive incoming messages and can send them out again, but it requires a message provider to make happen.

Lastly, you could create your own protocol, listen out on ports, and parse/send replies.
Re: how to interact with headless eclipse app [message #291170 is a reply to message #291146] Fri, 09 September 2005 13:29 Go to previous message
Eclipse UserFriend
Originally posted by: dickyjohan.yahoo.com

Alex Blewitt wrote:
> Another approach would be to use a message-driven solution using JMS or SMTP. That way, a listner will receive incoming messages and can send them out again, but it requires a message provider to make happen.
>
> Lastly, you could create your own protocol, listen out on ports, and parse/send replies.
Thanks for all of your feedback. Actually, I was thinking of having a
web-based (JSP, and Struts) application controlling the headless Eclipse.
With the eclipse plugins and the osgi framework driving the back-end, I
can create an impression of a scalable web application that grows in
functionality dynamically (theoretically, I guess).
The Hessian and Burlap Protocol definitely look promising, will check it
out!

Dicky
Previous Topic:java.security.NoSuchAlgorithmException: DH On Eclipse 3.1 On FC4_x64
Next Topic:Part a file into differents parts
Goto Forum:
  


Current Time: Tue May 13 06:51:51 EDT 2025

Powered by FUDForum. Page generated in 0.06263 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top