# Hot deployment of JSP/java code

**URL:** <https://community.bloomreach.com/t/hot-deployment-of-jsp-java-code/3312>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [July 28, 2022, 1:02pm UTC](https://community.bloomreach.com/t/hot-deployment-of-jsp-java-code/3312 "2022-07-28T13:02:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andreas\_Halberkamp](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/andreas_halberkamp/32/252_2.png) [@Andreas\_Halberkamp](https://community.bloomreach.com/u/Andreas_Halberkamp)\
**Post date:** [July 28, 2022, 1:02pm UTC](https://community.bloomreach.com/t/hot-deployment-of-jsp-java-code/3312/1 "2022-07-28T13:02:15Z")

</div>

Hi,

Currently I`am developing with Bloomreach v14 and I want to speed up the development time by using hotdeployment-features exspecially for JSP.  
I have allready tried out the “HotSwapAgent”, which hotswap my java-code properly but doesn´t swap the JSP and using jrebel is not possible currently.

Can anybody recommend me other way for doing the “hotdeployment” properly.

Best regards

Andi

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [August 1, 2022, 8:36am UTC](https://community.bloomreach.com/t/hot-deployment-of-jsp-java-code/3312/2 "2022-08-01T08:36:38Z")

</div>

My main recommendation is to not use JSP’s. Try Freemarker instead.

I don’t use HotSwapAgent, but it should be a matter of configuration. Check the [documentation](http://hotswapagent.org/mydoc_configuration.html), it definitely seems to suggest it is possible.

---

<div class="post-metadata">

**Author:** ![ThoLe](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/thole/32/98_2.png) [@ThoLe](https://community.bloomreach.com/u/ThoLe)\
**Post date:** [August 5, 2022, 2:36am UTC](https://community.bloomreach.com/t/hot-deployment-of-jsp-java-code/3312/3 "2022-08-05T02:36:40Z")

</div>

If you have not configured the JSP files under Webfiles then you may want to do that because according to the document the files will be reloaded automatically under local development

> **[Use Web Files - Bloomreach Experience Manager (PaaS/Self-Hosted) - The Fast...](https://xmdocumentation.bloomreach.com/library/concepts/web-files/using-web-files.html)**
>
> The fast and flexible on-premise or PaaS headless CMS

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [August 8, 2022, 8:21am UTC](https://community.bloomreach.com/t/hot-deployment-of-jsp-java-code/3312/4 "2022-08-08T08:21:18Z")

</div>

JSP’s cannot be place in webfiles and cannot (simply) be reloaded automatically.

---

<div class="post-metadata">

**Author:** ![Andreas\_Halberkamp](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/andreas_halberkamp/32/252_2.png) [@Andreas\_Halberkamp](https://community.bloomreach.com/u/Andreas_Halberkamp)\
**Post date:** [August 30, 2022, 2:00pm UTC](https://community.bloomreach.com/t/hot-deployment-of-jsp-java-code/3312/5 "2022-08-30T14:00:53Z")

</div>

Hi @jasper.floor ,

In the documentation of brxm 12 it was described, how the application can be redeployed using cargo (see: [Run and Develop with Cargo - Bloomreach Experience Manager (PaaS/Self-Hosted) - The Fast and Flexible Headless CMS](https://xmdocumentation.bloomreach.com/12/library/development/run-and-develop-with-cargo.html))

This documentation disappeared in the cargo documentation of brxm 14 ([Run and Develop with Cargo - Bloomreach Experience Manager (PaaS/Self-Hosted) - The Fast and Flexible Headless CMS](https://xmdocumentation.bloomreach.com/library/development/run-and-develop-with-cargo.html))

Does this really mean that redeploying apps using cargo isn`t supported anymore in Brxm 14?

Best regards  
Andi

---

<div class="post-metadata">

**Author:** ![jasper.floor](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/jasper.floor/32/28_2.png) [@jasper.floor](https://community.bloomreach.com/u/jasper.floor)\
**Post date:** [August 30, 2022, 2:21pm UTC](https://community.bloomreach.com/t/hot-deployment-of-jsp-java-code/3312/6 "2022-08-30T14:21:50Z")

</div>

There are things happening on startup that won’t happen on a hot deploy. So it gives the wrong impression, which is likely why it was taken out. It is a cargo functionality so it should still work.
