Deploy slow using ejb 3.1 and jpa in rational application developer

asked 2014-05-14 01:31:17 +0800

zull gravatar image zull

updated 2014-05-14 01:34:23 +0800


I have a large scale enterprise application (5 modules) project using RAD, WAS v7, Java EE 6 (EJB 3.1, JPA), ZK framework. The project is using RAD as IDE. The problem is that it takes too long (more than 5 min) to deploy when changes are made to the EJB's (although the changes are minor in only one file) but when changes are made to zk framework (the web & presentation layer), it is fast to deploy.

Don't know what cause the problem. Is it because of EJB 3.1/ JPA or RAD/ WAS? Has anyone encounter this experience/ problem before? Is it happening in other IDE or applcation server also? Is it caused by zk? Appreciate any solution, suggestions or information. Thank you.

delete flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted

answered 2014-05-21 00:03:16 +0800

mhj gravatar image mhj flag of Brazil
806 1 7

i work with JEE 6 and glassfish and don't happen that (about 10 modules), actually glassfish 3.1 is very fast. maybe can be some config on your server. Also worked with zk and Tomcat and never happened that.

link publish delete flag offensive edit

answered 2014-05-21 11:06:41 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16

Have a look at jRebel for dynamic deploying code changes.


best Stephan

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools




Asked: 2014-05-14 01:31:17 +0800

Seen: 9 times

Last updated: May 21 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More