LISTSERV mailing list manager LISTSERV 16.0

Help for ZNG Archives


ZNG Archives

ZNG Archives


[email protected]


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

ZNG Home

ZNG Home

ZNG  October 2001

ZNG October 2001

Subject:

Re: Context in RPC calls

From:

"LeVan,Ralph" <[log in to unmask]>

Reply-To:

Z39.50 Next-Generation Initiative

Date:

Mon, 22 Oct 2001 16:39:31 -0400

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (39 lines)

As soon as I sent the message, I knew the answer.  That whole context thing
is the antithesis of RPC.  If the data isn't one of the parameters to the
RPC, then it isn't available to the RPC.  There is no such thing as context.

So, does this force us to reconsider whether we need to expose database name
in SRW?  My gut feels is that the answer is "yes", but I don't like it.  I'm
hoping someone out there has a better idea.

Ralph

>  -----Original Message-----
> From:         LeVan,Ralph
> Sent: Monday, October 22, 2001 4:26 PM
> To:   Z39. 50 Next-Generation Initiative (E-mail)
> Subject:      Context in RPC calls
>
> So, we're hiding the database name in the URL.  The method
> handling the RPC has no access to URL information.  How is it
> supposed to know what database the search is for?
>
> Now, I thought I had the answer once.  I was going to define
> a separate servlet for each database, but they would all use
> the same servlet class.  Then, each servlet would get
> initialized with its own parameters and things would be
> great.  But, the tomcat server knows that they are the same
> servlet and only creates one instance of it.  So, I'm back to
> not knowing what database I'm supposed to be searching.
>
> Now, I can do this myself, if I override the SOAP toolkit's
> doPost method and save the calling URL so that the
> searchRequest() method has access to it, but that seems like a hack.
>
> Any thoughts on how to handle this?
>
> Thanks!
>
> Ralph
>

Top of Message | Previous Page | Permalink

Advanced Options


Options

Error during command authentication.

Error - unable to initiate communication with LISTSERV (errno=111). The server is probably not started.

Log In

Log In

Get Password

Get Password


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

ATOM RSS1 RSS2



LISTSERV.LOC.GOV

CataList Email List Search Powered by the LISTSERV Email List Manager