File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Development method for EJB & JPA

barath guna
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to EJB and JPA.

I just created some entities and session beans. The session beans uses the JPA to connect to DB.
I am using eclipse and jboss.

For any query I write/change, I need to deploy the EAR and start the Jboss to make it inject the EntityManagerFactory to my beans and only then I can test the queries.

I spend more time on restarting the server. (Jboss takes more than 2min to start)

Is their any efficient way to handle this?

(Apart from getting through with query language )
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic