static int (RSS)

A simple jdbc connection pool implementation

import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; import java.sql.Statement; import java.util.Vector; public class DBPool ( private static String userName = "c ...

Rookie question: Will these two kinds of loading the configuration file What is the difference?

First import java.util.Properties; import com.fendou.order.dao.OrderDao; import com.fendou.order.factory.OrderDaoFactory; import com.fendou.system.util.ProploadUtil; public class OrderService ( privat ...

hibernate support for the Chinese to sort

hibernate support for the Chinese to sort

On Java and Ruby variables

I remember a time when the newly recruited level, or at Ruby regard a piece of white paper, the company requested a week to master the development of Rails flow, and can start to do something, after a ...

The operation of the database my base class (HIBERNATE)

The operation of the database my base class (HIBERNATE)

Read directly with js of two methods Rss News

Here, I mainly used two methods: The first one is the direct use of js to access, this method has the advantages of simplicity, but are not at disadvantage on the use of firefox The second is to carry ...

jdbc connection pool easy package

The main methods of implementation are: The use of a container (LinkedList), initialization time set number of connections to generate Connection objects on the container Each subsequent time to obtai ...