RE: [Classifier4j-devel] Update Word Probability Break Down
Status: Beta
Brought to you by:
nicklothian
From: Nick L. <nl...@es...> - 2003-11-13 00:54:06
|
What do people think about this (untested - I don't even know if it compiles!) datasource. It integrates with the javax.sql.Datasource stuff so if the environment you are running in can do connection pooling Classifier4J can utilise it. You'd use it something like this: String jndiLookup = "java:comp/env/jdbc/TestDB"; IJDBCConnectionManager cm = new DataSourceJDBCConnectionManager(jndiLookup); ICategorisedWordsDataSource wds = new JDBCWordsDataSource(cm); Nick > -----Original Message----- > From: moedusa [mailto:mo...@in...] > Sent: Thursday, 13 November 2003 10:01 AM > To: cla...@li... > Subject: Re: [Classifier4j-devel] Update Word Probability Break Down > > > Matt Collier wrote: > > > Anyone see any problems with the pooling code I used from: > > > > > http://developer.java.sun.com/developer/onlineTraining/Program > ming/JDCBook/conp > > ool.html#example > > > > I am sure, that it would be better to use some kind of > container-managed > connection pool. that is more configurable and, well, proper > solution. > You can find how to configure tomcat with Apache DPCB connection pool > here (with code sample): > http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasourc > e-examples-howto.html > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Classifier4j-devel mailing list > Cla...@li... > https://lists.sourceforge.net/lists/listinfo/classifier4j-devel > |