Configuring BOF Hot Deployment in Composer
By way of a follow-up to Don’s post I wanted to show you how this surfaces in Composer.
As we have discussed before a BOF module comprises Jardef artifacts :-
and Java Library artifacts :-
By design implementation Jardefs are sandboxed. Interface Jardefs are not, for all the reasons Don highlighted. Meaning only your implementation jardefs can be hot deployed.
Now if we take a look at the Java Library editor you will see immediately where check to indicate whether or not you would like to sandbox each Java Library. Checking this option will mean that Java Library will support hot deployment. Unchecking it will mean it won’t but instead you can then share this Java Library across modules – which is sometimes useful.
Happy Composing
May 5, 2009 at 6:08 pm
One subtle clarification. You can still share a sandboxed Java library across modules – you will just get a different copy for each module class loader and the classes will have different class identities. That is, the implementation is still available for sharing, but not the instances which will be usable only within a single module implementation.
May 6, 2009 at 9:51 am
Many thanks for the clarification Don.
Cheers