[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Calling the ozone client through Servlets?
Falko Braeutigam wrote:
> On Wed, 21 Feb 2001, Andronikos Nedos wrote:
> > Hi all,
> > I am thinking of using ozone for a small-scale search engine in my
> > college. It's going to
> > store the inverted index of the Db. (I am not even sure if this a good
> > apprach).
> > Does anybody know or tried to invoke an ozone client from inside a
> > servlet.
> > I wouldn't have thought that this is a problem but then again I don't
> > know
> > how apache invokes the servlet class and what are the requirements for a
> > standard ozone client.
>
Thanks for the reply Falko,
Consider "calling an ozone client from a servlet" bad syntax. I was thinking about
potential problems and more specifically :
1) What about the extra parameters that the client invocation requires? (ojvm
<client>)
Do you need to initialise some of the environment variables before every
invocation of the servlet/client ?
>
> There are no problems using ozone from a servlet. You can use ozone in servlets
> just like in 'normal' programs.
>
> I don't fully understand what do you mean with: calling an ozone _client_ from
> a servlet. The sevlet itself is the ozone client.
>
> There is only one think regarding ozone and servlets. You should not open a
> transaction that spawn more than one HTTP request. For this you would have to
> integrate an transaction manager like it is done in Prowler. But this is
> probably no limitation and therefore not needed in your case.
>
> Falko
> --
> ______________________________________________________________________
> Falko Braeutigam mailto:falko@smb-tec.com
> SMB GmbH http://www.smb-tec.com
--
+---------------------------------------------------------------------+
_/_/_/_/_/ _/_/_/ __/_/_/_/ Nedos Andronikos
_/ _/ _/ _/ _/ Dept. Computer Science
_/ _/ _/ _/ Trinity College Dublin
_/ _/ _/ _/ tel : (+353 87).9616286
_/ _/ _/ _/ _/ email: nedosa@cs.tcd.ie
_/ _/_/_/ __/_/_/_/ http://www.cs.tcd.ie/Andronikos.Nedos/
+---------------------------------------------------------------------+