[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XML/Convert.java



On Mon, 27 Mar 2000, Kees Jongenburger wrote:
> > 
> > In Enhyda you use a precompiled dom-object, which you use
> > to add data taken from JDBC. The data you add is added for each
> > request. This means the changes to the DOM shouldn't get 
> > persistent.
> 
> i have looked very deep into enhydra, but what i have understand about it
> is that it takes a html file as input, that converts it into a dom
> and than gives the programer the posibilety to change some nodes.
> 
> if what i onderstand of it is right, than it's completely wrong.
> changes in the html wil cause the programmer to change his code.
> 
> in that case i prefer the chaining aproch like cocoon.
> XML content -> XSP logic -> XML content -> XSL design.
> or in the future
> ozone-db XML -> XSP -> XSL (wap / html ) :)
> 
> and now the problem i have:
> when creating a servlet wicht opens a connection to ozone-db
> i connect to the database in the init method (to prevent from connecting
> every time). now i can't shutdown ozone if there i a open connection so i
> have to restart apache in order to shutdown ozone. is that behaviout
> normal?
So far we don't have a good solution for that. I'm not the servlet guy here but
I think we have tried to connect every time as well as some kind of a static
field to hold the connection for all servlets. Is there any better way to
handle this?

Falko
-- 
______________________________________________________________________
Falko Braeutigam                         mailto:falko@softwarebuero.de
softwarebuero m&b (SMB)                    http://www.softwarebuero.de