`
caoguanling
  • 浏览: 3881 次
  • 性别: Icon_minigender_1
  • 来自: 上海
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
You can find an overview of a lot of design patterns in Wikipedia. It also mentions which patterns are mentioned by GoF. I'll sum them up here and try to assign as much as possible pattern implementations found in both the Java SE and Java EE API's. Creational patterns Abstract factory (recogniz ...
The difference is clearly explained in the JSR-220 Enterprise JavaBeans 3.0 specification: 5.6 Container-managed Persistence Contexts (...) A container-managed persistence context may be defined to have either a lifetime that is scoped to a single transaction or an extended lifetime that spans ...
import java.util.Observable; import java.util.Observer; class MessageBoard extends Observable { private String message; public String getMessage() { return message; } public void changeMessage(String message) { this.message = message; setChanged(); notifyObser ...

JVM的内存结构

    博客分类:
  • Java
JVM的内存结构:  
  Excerpt from http://stackoverflow.com/questions/9700871/what-is-difference-between-sleep-method-and-yield-method-of-multi-threading   We can prevent a thread from execution by using any of the 3 methods of Thread class: yield() join()
  我们身处不平静的环境,需要保持平静的内心   人无论在哪个时代似乎在心理上的需求是一样的,想得到些什么,或者不想失去自己所拥有的。爱情、事业等等最后转变成内心的幸福感,才觉得这辈子没有白活。而 ...
Global site tag (gtag.js) - Google Analytics