我想创建一个EMF对象,并在各种Resource类对象中使用它。有关如何执行此操作的任何想法?
答案是使用遵循单例设计模式的类-有关更多详细信息,请参见-http://vatsalad.wordpress.com/2010/03/05/single-entitymanagerfactory-object-across-various-restlet-resources/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.