How about using the jakarta commons-digester? I believe it uses SAX, and
it makes your code a LOT more readable :-)
(ps. can someone modify the list settings so that the reply goes to the
list? that'd help a lot ...)
Gavin King wrote:
> That would result in a LOT of really ugly code.
>
> Ar
At best, a LOT of code. Ugliness can be left up to the developer. ;)
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Gavin King
> Sent: Wednesday, April 28, 2004 10:22 PM
> To: Ara Abrahamian
> Cc: 'hibernate-devel'
> Subject: Re: [Hibernate] S
That would result in a LOT of really ugly code.
Ara Abrahamian wrote:
Perhaps someone could migrate the xml loading stuff to use SAX instead of
dom4j? Dom4j creates lots of objects. In my backup/restore code I saw a 10
times better performance by just using SAX instead of dom4j.
Ara.
-
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gavin King
Sent: Wednesday, April 28, 2004 2:25 AM
To: Henri Tremblay
Cc: 'hibernate-devel'
Subject: Re: [Hibernate] Startup time
Gavin King wrote:
>>2- Lazy load the conf. I mean, don't load every file a
:: The CGLIB stuff will probably be hard to work around since
:: those objects
:: are not (and probably can't be made) serializable -
:: but we can remove the XML parsing if we can serialize the
:: SessionFactory...but it will probably require us to keep more state
:: around than we did previou
Hi,
like other I also has problems with the start up time.
After a short analysis I saw that Xalan for XMLDatabinder
takes a lot of time.
Special for small projects (less mapping files) the part of XMLDatabinder
is very high.
Could it be usefull to make XMLDatabinder optional?
Kai
-