From: carmelo on
Hi everybody,
I developed a desktop application which accesses data from a remote
database with JPA using TopLink Essentials as provider. I'm having a
very slow performance in loading data when the database is remote,
which does not happen locally.

I hope you can help me about how to fix it. I hope that it's not
necessary to modify the whole application for loading data using JDBC,
which I saw is fast in this case...


Thank you in advance for your help!
From: carmelo on
Maybe I could solve the problem with paging...
What do you think? How could I implement it? The application was
developed with Netbeans, do you know if it offers anything about
paging?
From: markspace on
carmelo wrote:
> Maybe I could solve the problem with paging...
> What do you think? How could I implement it? The application was
> developed with Netbeans, do you know if it offers anything about
> paging?

What's paging?
From: Arne Vajhøj on
On 16-04-2010 19:02, markspace wrote:
> carmelo wrote:
>> Maybe I could solve the problem with paging...
>> What do you think? How could I implement it? The application was
>> developed with Netbeans, do you know if it offers anything about
>> paging?
>
> What's paging?

http://en.wikipedia.org/wiki/Pagination_%28web%29

is a good guess.

Arne

From: markspace on
Arne Vajh�j wrote:

>> What's paging?
>
> http://en.wikipedia.org/wiki/Pagination_%28web%29

Thanks. Normally when I think of "paging" I think of virtual memory.
I've never thought of "return only some results of a query" as a
performance enhancement, but I see how it could be considered one.