随笔分类 -  Java

内部类的访问限定符
摘要:public class A { class B { } } 在另一个包中的Main class怎么构造B呢?? public Main { public static void main(String[] args) { A a = new A(); A.B b = a.new A.B(); } 阅读全文
posted @ 2017-10-29 22:38 Rick Qin 阅读(510) 评论(0) 推荐(0)
EJB 3.1 @Startup @Singleton sequence
摘要:The annotation javax.ejb.Startup (@Startup) is used to mark an EJB so to make the EJB can be brought up during the application is running up. However, 阅读全文
posted @ 2017-09-26 16:33 Rick Qin 阅读(286) 评论(0) 推荐(0)