阅读背景:

全静态方法和应用单例模式的区别是什么?

来源:互联网 

I am making a database to store information about the users of my website (I am using stuts2 and hence Java EE technology). For the database I'll be making a DBManager. Should I apply singleton pattern here or rather make all it's methods static? I am making a database to store information abo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: