[jboss-jira] [JBoss JIRA] Updated: (EJBTHREE-1096) Make SLSB and SFSB hot deployable for RAD

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Mon Apr 6 23:09:39 EDT 2009


     [ https://jira.jboss.org/jira/browse/EJBTHREE-1096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stuart Douglas updated EJBTHREE-1096:
-------------------------------------

    Attachment: hot-deploy.zip


I have attached a proof of concept implementation that allows you to dynamically change the method bodies of EJB's (and other classes ) at runtime.  This is implemented as a seam filter, so it will only work for exploded seam deployments.

There are two parts, a java agent that exposes the class redefinition API and a seam filter that tracks modification times and replaces classes as necessary.

To use it put the seam filter somewhere in your project where it will be found by seam. When you start jboss you have to pass the following jvm options at startup:

-noverify -javaagent:/path/to/hotdeploy.jar

This is similar to the capabilities provided by java rebel. It is not as good as being able to properly re-deploy ejb's, but it is better than nothing.

> Make SLSB and SFSB hot deployable for RAD
> -----------------------------------------
>
>                 Key: EJBTHREE-1096
>                 URL: https://jira.jboss.org/jira/browse/EJBTHREE-1096
>             Project: EJB 3.0
>          Issue Type: Feature Request
>    Affects Versions: AS 4.2.2.GA
>            Reporter: Jason Long
>         Attachments: hot-deploy.zip
>
>
> Seam POJO components are hot deployable for RAD.  It would be great if SFSB and SLSB could be used in the same manner.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list