uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tong Fin <tong....@gmail.com>
Subject Re: [jira] Closed: (UIMA-1314) Add OSGI support to uima-as
Date Fri, 17 Apr 2009 17:04:32 GMT
On Fri, Apr 17, 2009 at 12:10 PM, Jörn Kottmann <kottmann@gmail.com> wrote:

> I created the plugin because I needed access to uima as from
> a Apache Camel component which triggers tagging of documents
> in our database, but all the component does is sending a CAS with a URL
> to the annotator pipeline which is then used by a cas multiplier to fetch
> the
> actual document from a database.
>
> If there is interested it should be possible to contribute it to uima as.
>
> I did not create any examples because the OSGI support does not change
> much the only thing it does for a user is that he can now write a OSGI
> component
> which uses uima as.
>

I think this is a good use-case that shows that uima-as can be used to
"expose" the UIMA's analysis engines running inside OSGi (by using ActiveMQ
?).

Other approach is to access UIMA's AEs through the web container (Servlet)
like Uima SimpleServer in sandbox.

Do you have something in mind you would like to see demonstrated in an
> example ?
>
> Maybe it makes sense to document which dependencies the uima
> as osgi runtime plugin has.


Yes, I agree with you that we need to show the benefits of using OSGi
compared to other approaches for the examples.
In the past, there are some UIMA works related to OSGi. But, there are many
issues to be addressed and there is no generic solution for that.


> We should also think about converting the existing uima as eclipse plugin
> to use the
> new osgi runtime plugin, if I have seen it correctly they currently just
> embed uima as, right ?


Currently, the Deployment Descriptor Editor is the only Eclipse plugin
specific for uima-as. It doesn't depend on uima-as runtime.
But, we are thinking to extend it (or as another Eclipse plugin) to support
the deployment of uima-as services in multiple machines environment.
When the time comes, the uima-as "fragment" that you just created will help.
It is also true for any Eclipse-based work that requires access to uima-as
runtime.

--  Tong

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message