OJB/JSP app: how to structure it?

2004-06-23 Thread Paolo Salvan
Hi! I' starting the development of a non-trivial web app using ojb, mysql, and jsp... I havent't clear ideas about which is the right moment to create/close the various objects, to get the best architecture and to take advantage of the connection-pooling. In order to launch queries, to update

Re: OJB/JSP app: how to structure it?

2004-06-23 Thread Thomas Dudziak
Paolo Salvan wrote: Hi! I' starting the development of a non-trivial web app using ojb, mysql, and jsp... I havent't clear ideas about which is the right moment to create/close the various objects, to get the best architecture and to take advantage of the connection-pooling. In order to launch

Re: OJB/JSP app: how to structure it?

2004-06-23 Thread salgado.pc
Paolo Salvan wrote: Hi! I' starting the development of a non-trivial web app using ojb, mysql, and jsp... I havent't clear ideas about which is the right moment to create/close the various objects, to get the best architecture and to take advantage of the connection-pooling.

Re: OJB/JSP app: how to structure it?

2004-06-23 Thread dennis bekkering
You most certainly don't want to code business functionality right into the JSP. Your project sounds like it would benefit from the Struts framework, have a look here: http://jakarta.apache.org/struts/ and here for a tutorial: http://www.fawcette.com/javapro/2002_07/online/kjones/ Also,