Yes I know JNDI itself is not a Tomcat feature, but their CONNECTION POOL implementation IS a feature I'm interested in. I'm not planning on writing my own connection pool, I like the way they've done it, as well as their price! Tomcat also offers advantages in ease of debugging, error handling, and integration with my development environment - Eclipse. Also as I've stated I'm much more familiar with Tomcat then standalone java apps, so sometimes you go with what you know.
That being said, I was able to create a webpage to initiate the start() method on my class. It looks like it's probably working because when I tried to use my "udp_client" web app to test it, got a message saying the port was already in use and could not bind, so I'm getting close. Any other suggestions? --- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote: > > From: KJ R [mailto:[EMAIL PROTECTED] > > Subject: RE: UDP Server app > > > > The main reason to run under Tomcat for me would > be > > when I update the database, I'd like to use a JNDI > > connection pool for my dataaccess class. > > JNDI is not a feature of Tomcat, it's a capability > of the Java execution > environment. Tomcat merely allows you to configure > JNDI entries > non-programmatically. You can accomplish the same > thing more simply in > a standalone app with command line parameters. > > You're still subverting the purpose of Tomcat: it's > intended to handle > web applications using HTTP in a request/response > mode. Your app isn't > anything like that - you have no need of a Servlet > container or any > other form of J2EE app server. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR > OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended > recipient. If you > received this in error, please contact the sender > and delete the e-mail > and its attachments from all computers. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]