I have never tried this, but I think it is quite likely that Java Applets cannot use either EmbeddedEclipse or OutOfProcessEclipse. This is because they do not have the security permissions to load shared libraries (required for EmbeddedEclipse) or to execute arbitrary OS commands (required for OutOfProcessEclipse). They may be able to use RemoteEclipse if the ECLiPSe server is running on the web server where the applet originated, but I have never tried this. If this is possible, to get Java applets to each have an independent ECLiPSe you would have to set up some kind of ECLiPSe server process on the web server to start and stop separate ECLiPSes when the applets request them. Therefore, you should either implement the above or switch to using full Java applications rather than applets -- applications can use EmbeddedEclipse and OutOfProcessEclipse. josh Developer, Parc Technologies Limited josh.singer@parc-technologies.com http://www.parc-technologies.com This e-mail message is for the sole use of the intended recipient(s) -its contents are the property of Parc Technologies Limited (or its licensors) and are confidential. Please do not copy, review, use (except for the intended purposes), disclose or distribute the e-mail or its contents (or allow anyone else to do so) without our prior permission. Parc Technologies Limited does not guarantee that this e-mail has not been intercepted and amended nor that it is virus-free. You should carry out your own virus checks before opening any attachment. Any opinions expressed in this e-mail message are those of the author and not necessarily Parc Technologies Limited. -----Original Message----- From: Kish Shen [mailto:ks15@icparc.ic.ac.uk] Sent: Friday, May 31, 2002 3:48 PM To: eclipse-users@icparc.ic.ac.uk; ks15@icparc.ic.ac.uk; yj021578@inf.tu-dresden.de Subject: Re: [eclipse-users] java multi-connections! > If we use RemoteEclipse, acctually, all the Java Applects are connected to > a single Eclipse and they share the logical database, am I right? If you use the same ECLiPSe process to connect to the Java Applets, then yes, there would be a single ECLiPSe. If you start up individual ECLiPSes for each Java applet, then you will have different ECLiPSes (this sounds like what you want). > What I want is each Java Applet has its own INDEPENDENT Eclipse. There is then no issue of multiconnections. If you want to use remote ECLiPSe, then just start a new ECLiPSe process for each Java Applet. If you use out of process ECLiPSe (that is actually just a version of remote ECLiPSe), then a new ECLiPSe is automatically started. > Does it mean that we even cannot invoke rpc from Java side, while Eclipse > is blocking? If you are talking about the same ECLiPSe, then while it is blocking, waiting for a remote connection, you cannot invoke a rpc to it from an already connected Java program. For seperate ECLiPSes, then this is not an issue. I think if you want to understand how the interface in more detail, you might want to read our paper on it, which gives a high-level overview of the interface: A High-Level Generic Interface to External Programming Languages for ECLiPSe It is available from our website: http://www.icparc.ic.ac.uk/papers_byyear.html#2002 Hopefully it explains things a bit better than the manuals! Cheers, KishReceived on Wed Jun 05 09:31:19 2002
This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:07:14 PM GMT GMT