Follow instructions here to create the EJB project in eclipse.http://www.webagesolutions.com/knowledgebase/javakb/jkb005/index.htmlCreate the jdbc connection pool and the corresponding resource via the GlassFish admin console.Now create a persistence.xml fiel in the src/META-INF folder in your project to point to the JDBC resource.
↧