> Is there a best situation for using the Village package from Working Dogs? > I have two insert statements that put data into tables of about 20 columns > each. When I just use a basic createStatement() and use the insert it runs > pretty fast (140 ms). When I do thw same thing using the Village package > from Working Dogs it takes about 500 ms. While the Village packaeg is kind > of nice in that it abstratcs away some of the deatils of programming it > seems that creating all the extra objects is what requires the extra > overhaed and therefore slows things down in general. I realize that my > tests are far orm exhastive so any advice or tips would be appreciated. Do more exaustive tests. Yes, there is overhead in creating more objects, but I really haven't seen any bad performance issues when using Village because it is very lightweight (look at the source code!). You do not specify your JDK or any of your setup, such as how much heap memory you have given to your JDK. It could be possible that the overhead of the objects is causing the GC to run more often and thus causing such a big slow down. This of course is not the fault of the Village code. In a JDK with a very good GC implementation (ie: Solaris Production Release JDK 1.2) and enough heap space, object overhead isn't the major issue concerning speed. <http://www.working-dogs.com/village/> -jon ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
