You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Soren B <sh...@snaps.dk> on 2010/04/28 10:45:22 UTC
Paging in Axis2C
Hi
Is it possible to use paging/caching in Axis2C?
I'm working on some sort of search-engine, and to avoid overhead when
returning the search results, I want to cache it serverside, and then send
50, 100 - or whatever I decide - search results to the client, and then the
next 50 when requested, and so on and so on...
Soren B
--
View this message in context: http://old.nabble.com/Paging-in-Axis2C-tp28386203p28386203.html
Sent from the Axis - C++ - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org
Re: Paging in Axis2C
Posted by Sam Carleton <sc...@gmail.com>.
Soren,
I am using SQLite as my backend DB, great lightweight DB! They have a
wonderful section on their site about how to implement paging, or as they
call it, Scrolling Cursor:
http://www.sqlite.org/cvstrac/wiki?p=ScrollingCursor
I implemented an advanced version of paging using what I learned from this
page to solve my problem, which I discuss in detail in this thread on the
SQLite mailing list:
http://www.mail-archive.com/sqlite-users@sqlite.org/msg42876.html
If you have any question, please feel free to ask me off line:
scarleton [at] miltonstreet [dot] com
Sam
On Thu, Apr 29, 2010 at 8:23 AM, Soren B <sh...@snaps.dk> wrote:
>
> Mmmm....
>
> Allright, I'll try to figure out another solution.
> Thank you for the answer.
>
> Br
> Soren B
>
>
> nandika jayawardana-2 wrote:
> >
> > The kind of caching you are looking for is not supported by Axis2/C. You
> > would have to implement it in your business logic.
> >
> > Regards
> > Nandika
> >
> > On Wed, Apr 28, 2010 at 2:15 PM, Soren B <sh...@snaps.dk> wrote:
> >
> >>
> >> Hi
> >>
> >> Is it possible to use paging/caching in Axis2C?
> >> I'm working on some sort of search-engine, and to avoid overhead when
> >> returning the search results, I want to cache it serverside, and then
> >> send
> >> 50, 100 - or whatever I decide - search results to the client, and then
> >> the
> >> next 50 when requested, and so on and so on...
> >>
> >> Soren B
> >> --
> >> View this message in context:
> >> http://old.nabble.com/Paging-in-Axis2C-tp28386203p28386203.html
> >> Sent from the Axis - C++ - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
> >> For additional commands, e-mail: c-user-help@axis.apache.org
> >>
> >>
> >
> >
> > --
> > http://nandikajayawardana.blogspot.com/
> > WSO2 Inc: http://www.wso2.com
> >
> >
>
> --
> View this message in context:
> http://old.nabble.com/Paging-in-Axis2C-tp28386203p28399831.html
> Sent from the Axis - C++ - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: c-user-help@axis.apache.org
>
>
Re: Paging in Axis2C
Posted by Soren B <sh...@snaps.dk>.
Mmmm....
Allright, I'll try to figure out another solution.
Thank you for the answer.
Br
Soren B
nandika jayawardana-2 wrote:
>
> The kind of caching you are looking for is not supported by Axis2/C. You
> would have to implement it in your business logic.
>
> Regards
> Nandika
>
> On Wed, Apr 28, 2010 at 2:15 PM, Soren B <sh...@snaps.dk> wrote:
>
>>
>> Hi
>>
>> Is it possible to use paging/caching in Axis2C?
>> I'm working on some sort of search-engine, and to avoid overhead when
>> returning the search results, I want to cache it serverside, and then
>> send
>> 50, 100 - or whatever I decide - search results to the client, and then
>> the
>> next 50 when requested, and so on and so on...
>>
>> Soren B
>> --
>> View this message in context:
>> http://old.nabble.com/Paging-in-Axis2C-tp28386203p28386203.html
>> Sent from the Axis - C++ - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
>> For additional commands, e-mail: c-user-help@axis.apache.org
>>
>>
>
>
> --
> http://nandikajayawardana.blogspot.com/
> WSO2 Inc: http://www.wso2.com
>
>
--
View this message in context: http://old.nabble.com/Paging-in-Axis2C-tp28386203p28399831.html
Sent from the Axis - C++ - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
For additional commands, e-mail: c-user-help@axis.apache.org
Re: Paging in Axis2C
Posted by Nandika Jayawardana <ja...@gmail.com>.
The kind of caching you are looking for is not supported by Axis2/C. You
would have to implement it in your business logic.
Regards
Nandika
On Wed, Apr 28, 2010 at 2:15 PM, Soren B <sh...@snaps.dk> wrote:
>
> Hi
>
> Is it possible to use paging/caching in Axis2C?
> I'm working on some sort of search-engine, and to avoid overhead when
> returning the search results, I want to cache it serverside, and then send
> 50, 100 - or whatever I decide - search results to the client, and then the
> next 50 when requested, and so on and so on...
>
> Soren B
> --
> View this message in context:
> http://old.nabble.com/Paging-in-Axis2C-tp28386203p28386203.html
> Sent from the Axis - C++ - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: c-user-unsubscribe@axis.apache.org
> For additional commands, e-mail: c-user-help@axis.apache.org
>
>
--
http://nandikajayawardana.blogspot.com/
WSO2 Inc: http://www.wso2.com