Search Mailing List Archives
[protege-discussion] client server + protege frame
Timothy Redmond
tredmond at stanford.edu
Mon Feb 26 08:05:45 PST 2007
The rmi server-client code works fine with Protege frames. The user
documentation on the server-client set can be found at
http://protege.cim3.net/cgi-bin/wiki.pl?MultiUserTutorial
There isn't really any programmer documentation on the server-client
mode. Here is some code that I use to allow a client to login to a
remote Protege server:
RemoteProjectManager rpm = RemoteProjectManager.getInstance();
Project project = rpm.getProject(hostname + ":" + port,
properties.getProperty(NAME),
properties.getProperty
(PASSWORD),
projectName,
true);
kb = project.getKnowledgeBase();
Also depending on what you are doing, there is a ProtegeJob class
which is very useful in server-client mode. It allows a client to
execute code on the server. To use it you implement the run method
and call the execute method. This utility is not in the latest
released protege but can be found in the latest protege on svn
(http://smi-protege.stanford.edu/repos/protege/protege-core/trunk).
-Timothy
On Feb 26, 2007, at 5:16 AM, amel achour wrote:
> Hello,
> I have an application (java) which accesses an ontology developped
> with protege frame. this application must be a client server
> application. my question:
> - is it possible to deploy this application (even with protege
> frame) and how can I do it?
> - or I must developp my ontology with OWL to deply the client
> server application ?
>
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos
> questions ! Profitez des connaissances, des opinions et des
> expériences des internautes sur Yahoo! Questions/Réponses.
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/
> faq.html#01a.03
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20070226/0c3b76cb/attachment.html>
More information about the protege-discussion
mailing list