Is there any way of configuring Oracle ATG to load java class changes dynamically?

169 views Asked by At

I am interested in setting up a development environment for ATG in which changes on class will take effect immediately after the build is done, without restarting server and building again the ear file.

I have searched in the product documentation but the only thing I saw you can configure to load dynamically would be the configuration files section.

Is there any other way of configuring the environment for better productivity?

2

There are 2 answers

3
Jags Krishnamurthy On

Use JRebel. That will do dynamic re-loading for java classes, property files and other deployable assets. Great for productivity.

2
Ganesh chaitanya On

If your purpose is to debug and most of time is getting wasted packing and unpacking the ear, you can always use remote debugging with JBoss and Eclipse, but for major changes like adding a method wont be working in that case. One solution to this is use Java DCEVM which will dynamically update code in the JVM. Its a simple jdk just point your Java_home to this jdk and in debug mode you can add code to you class see changes. Use the below link for more information about DCEVM

https://github.com/dcevm/dcevm