[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [ejb-dev] Should it be possible to express @DependsOn with module-name instead of file-name-with-extension?
|
> On Jun 3, 2025, at 12:25 PM, Piotr Żygieło via ejb-dev <ejb-dev@xxxxxxxxxxx> wrote:
>
> It's me again.
>
> Found some clarification in EJB.beanName:
>
>> In order to reference a bean in another ejb-jar file in the same application,
>> the beanName may be composed of a path name specifying the ejb-jar
>> containing the referenced bean with the bean name of the target bean
>> appended and separated from the path name by #.
>
> Which probably answers my questions.
Just chiming in quickly to say if we do need to specify file names in the reference, we should likely fix that.
I'd have to review myself, but my recollection is you are likely correct. It's been too many years, but I seem to recall pointing out this was brittle as jar names contain versions which change frequently and would result in constantly breaking code that would need to be updated.
If that's the case, it may be worth fixing.
-David