Brian McCallister wrote:
Could you show some example code of your services you are using from
Cocoon?
Oh, is this OJB or Cocoon question? :)
Sure, part of it is a time tracking application where employees can
clock in and clock out, here is the clock in and clock out flow:
...
Thank you very
Antonio Gallardo wrote:
Yes, I know I can pass collection of objects. But I'm afraid of memory
usage if the collections are huge. :) But I think I'll do as you said,
in the future maybe a iterator will be able to be passed :)
This is a good question, but as usually we can paginate the output,
Brian McCallister wrote:
I misread your statement - you are looking at collections coming back
from the query, not object referenced collections. In this case the
proxy-prefetch limit won't help you, however passing the lazy loading
collection as the return value from whatever your
mirko dijo:
Antonio Gallardo wrote:
Yes, I know I can pass collection of objects. But I'm afraid of memory
usage if the collections are huge. :) But I think I'll do as you said,
in the future maybe a iterator will be able to be passed :)
This is a good question, but as usually we can paginate
On Jan 21, 2004, at 4:11 AM, mirko wrote:
Hmm, in the OJB Faq there is:
Q:
How to page and sort?
A:
..
There is no paging support in OJB. OJB is concerned with
Object/Relational mapping and not with application specific
presentation details like presenting a scrollable page of items.
..
Hmm,
Brian McCallister wrote:
btw - it may be worth moving this discussion to [EMAIL PROTECTED]
at this point =)
OK. But at this moment I don't have more OJB specific questions. If I
have I will ask there.
On the Cocoon block and using OJB from flow, etc:
As mentioned, I use OJB in two cocoon apps
Antonio Gallardo wrote:
...
I think it is a good idea to have 2 classes from the SoC point of view.
The employee.class are the data (a bean). The employeeImpl.class is the
model in the MVC paradigm.
...
Sorry but I thougt model=data in MVC. Then separating it is just strange
for me. You have
Could you show some example code of your services you are using from
Cocoon?
Oh, is this OJB or Cocoon question? :)
Sure, part of it is a time tracking application where employees can
clock in and clock out, here is the clock in and clock out flow:
function pub_clockIn()
{
checkAccess()
Hi,
What data persistance method could you recommend for flowscript + woody
project? I started doing everything on my own following DAO pattern but
because the lack of time I'm considering using existing framework: Castor or
OJB. If anyone have experiences in these technologies I'd be very
Nicolas Toper wrote:
Have a look on Hibernate. They also explain well the overhead added by their
tool.
Thank you. I'll look on this. Hmm, Castor has one additional feature:
mapping an object to XML stream. Do you know if Hibernate supports this?
Reagrds,
mirko
No Castor is infamously slow (or so I heard :=))
One advantage of Hibernate is that it is covered in the Wiki so Cocoon and
Hibernate shouldnt be that hard to integrate
Le Mardi 20 Janvier 2004 11:30, mirko a écrit :
Nicolas Toper wrote:
Have a look on Hibernate. They also explain well the
Interesting, indeed. Now, if that's really the case, would you mind sharing with us
where you did hear this ?
Werner
On Tue, 20 Jan 2004 11:34:35 +0100, Nicolas Toper wrote:
No Castor is infamously slow (or so I heard :=))
One advantage of Hibernate is that it is covered in the Wiki so
I may be wrong :=)
I don't remembre, but I'm sure of having read that somewhere... Actually, I
didn't try it b/c of that.
Is it false?
Le Mardi 20 Janvier 2004 12:39, Werner Guttmann a écrit :
Interesting, indeed. Now, if that's really the case, would you mind sharing
with us where you did
Nicolas Toper dijo:
Have a look on Hibernate. They also explain well the overhead added by
their
tool.
Le Mardi 20 Janvier 2004 11:48, mirko a écrit :
Hi,
What data persistance method could you recommend for flowscript + woody
project? I started doing everything on my own following DAO
Antonio Gallardo wrote:
Nicolas Toper dijo:
Have a look on Hibernate. They also explain well the overhead added by
their
tool.
Le Mardi 20 Janvier 2004 11:48, mirko a écrit :
Hi,
What data persistance method could you recommend for flowscript + woody
project? I started doing everything on my own
On Jan 20, 2004, at 9:06 AM, mirko wrote:
That's why I asked on the group :) There is at least three frameworks:
- Hibernate
- Apache OJB
- Castor
I'd like to know information about using them in Cocoon, specially
about its:
- reliability
- performance
- good/bad integreation with Cocoon
- easy
Antonio Gallardo wrote:
mirko dijo:
I forgot to ask: if I return a query results' iterator
(broker.getIteratorByQuery(query)), will I be able to pass it as a
parameter to flows's view and then iterate it in my JXTemplate? I've a
feeling that it won't work :(
The iterator no, but a bean
If you are worried about the memory usage one thing you might want to
consider is the paging support for collections. Specify to use a proxy
for the collection, then set the proxy-prefetch-limit for the
collection to the value you need (iirc, the default is either 50 or
200). It will only
mirko dijo:
Antonio Gallardo wrote:
mirko dijo:
I forgot to ask: if I return a query results' iterator
(broker.getIteratorByQuery(query)), will I be able to pass it as a
parameter to flows's view and then iterate it in my JXTemplate? I've a
feeling that it won't work :(
The iterator no, but
I misread your statement - you are looking at collections coming back
from the query, not object referenced collections. In this case the
proxy-prefetch limit won't help you, however passing the lazy loading
collection as the return value from whatever your query/repository/etc
service is
20 matches
Mail list logo