Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Development method for EJB & JPA  RSS feed

barath guna
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 )
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!