My experience with using Jivan
Franck Routier <[email protected]> Tue, 21 Jun 2005 10:59:23 +0200
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format...
------------=_1119344528-1837-26
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Hi List !
I just wanted to give my feedback on using Jivan with Barracuda. I did
use Jivan by following Jake's advice, tweaking DefaultDOMLoader to use
JivanDOMFactory in object-repository.xml.
_0) foreword_
I still have a doubt on my way to force Barracuda to use Jivan... Am I
really using Jivan all the way with that :
<object name="$this">
<method name="getServletContext" return="$sc"/> </object>
<object name="$df" class="org.barracudamvc.core.util.dom.JivanDOMFactory">
<method name="setServletContext" arg1="$sc" />
</object>
<object class="org.barracudamvc.core.util.dom.DefaultDOMLoader">
<method name="getGlobalInstance" return="$dl" />
</object>
<object name="$dl">
<method name="setDefaultDOMFactory" arg1="$df" />
</object>
Especially, am I using JivanDOMWriter ?
_1) speed_
I was expecting a speed improvement in the rendering process... but I
was very disappointed regarding that aspect.
First redering is much longer, maybe twice or three times as long on an
average screen with no database access.
Next rendering might be quicker, but it is not noticable for the user.
Note I did not conduct a real benchmark, and I'm only speacking about my
development system with a single user. But nevertheless, first usage of
a screen takes really longer with Jivan.
_2) compatibility_
Worse than speed decrease, I had problems using BTamplate with Diez
RepopulationFormMap.
When using Jivan, the template is bound to the view, the except for the
first time, getItem is never called (so Repopulation doesn't occur in my
case). There must be some sort of caching done by Jivan ?
So I would recommend extreme caution for those willing to try Jivan,
especially with BTemplate...
BTW, I've seen Christian included a new ErrorManager / ErrorModel in the
forms package... thanks.
Best regards,
Franck
------------=_1119344528-1837-26
Content-Type: text/plain; name="message.footer"
Content-Disposition: inline; filename="message.footer"
Content-Transfer-Encoding: 8bit
--
Barracuda mailing list
[email protected]
http://www.objectweb.org/wws/lists/projects/barracuda
------------=_1119344528-1837-26--