Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Development method for EJB & JPA

 
barath guna
Greenhorn
Posts: 1
  • 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 )
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic