Helmut, Interesting idea...
You are basically asking how to communicate with OpenJUMP via IPC (Inter-process communication). There are a couple of standard ways to do this in Java: 1) RMI 2) Web services You might also look at JMX, which is a user-friendly wrapper for the above technologies. So implementing the basic communication mechanism is fairly straightforward. The real work would be in building the code in OJ to connect OJ functions to the IPC interface. OJ hasn't been designed with this in mind, so it's hard to say how difficult this would be. However, OJ is pretty good about following the MVC paradigm, so it might not be too much of a stretch to add a new kind of controller (the C part). I'm curious - what is the application which is actually going to calling OJ? Is there any possibility of hosting this application within OJ (which allow you to control OJ more directly). Another option is that JUMP was originally designed to be component-based, with the idea that its UI components and core functionality could be easily integrated into other applications. This could be worth looking at - it again would provide a higher degree of control and perhaps a simpler overall architecture. It would be quite interesting to add an IPC capability to OJ - perhaps that would be of interest to others as well. Martin Helmut Seidel M.A. wrote: > Hello everybody, > > I wonder if it is possible to automate openJUMP from external > Applications like Microsofts ActiveX, i.e. call functions like zooming > or selecting shapes. I writing a standalone Java-Database-Application > and would like to zoom to selected Items (selected in the database) in > openJUMP and select them, etc. > > If this would be possible, could anybody supply a peace of example-code? > > Thanks > -- > > KnowHow - Helmut Seidel M.A. > > Softwareentwicklung - Schulung - Coaching > > Gabelsbergerstraße 17 B > > 84034 Landshut > > Telefon: (08 71) 9 66 52 30 > > E-Mail: i...@knowhow-la.de > > Internet: www.knowhow-la.de > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Throughout its 18-year history, RSA Conference consistently attracts the > world's best and brightest in the field, creating opportunities for Conference > attendees to learn about information security's most important issues through > interactions with peers, luminaries and emerging and established companies. > http://p.sf.net/sfu/rsaconf-dev2dev > ------------------------------------------------------------------------ > > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > -- Martin Davis Senior Technical Architect Refractions Research, Inc. (250) 383-3022 ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel