Hopefully I am in the right forum for this question. I am trying to use assemble an application with SCA using an Enterprise Application in a a component.
When I deploy an EAR as an Enterprise Application I noticed that WAS 8 also creates a BLA and adds the EAR to it, but it does not include the EAR as an Asset. If I add the EAR as an Asset, it is just an Asset until I add it to a BLA, then I see the EAR as an Enterprise Application an Asset and it is in the BLA.
If I want to assemble with SCA using an Enterprise Application, does it matter how the EAR was deployed to WAS, either directly or as an Asset?
Pinned topic Asset vs. Enterprise Application
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2011-11-23T04:46:10Z at 2011-11-23T04:46:10Z by KeithPrescott
HasanMuhammad 060001CT108 Posts
Re: Asset vs. Enterprise Application2011-11-21T18:47:33ZThis is the accepted answer. This is the accepted answer.Yes it does. You need to import the EAR application as an Asset, deploy the asset under a BLA. Then, you can deploy the SCA CU out of the SCA asset that has been imported.
Re: Asset vs. Enterprise Application2011-11-21T19:25:41ZThis is the accepted answer. This is the accepted answer.
- HasanMuhammad 060001CT10
Do the EAR and SCA CU need to be in the same BLA, or can the EAR be in one BLA and the SCA CU be in a BLA that depends on the EAR BLA?
SystemAdmin 110000D4XK126 Posts
Re: Asset vs. Enterprise Application2011-11-22T15:16:40ZThis is the accepted answer. This is the accepted answer.
- KeithPrescott 100000DH1T
They need to be in the same BLA.
Note that the EAR's role in implementing an SCA component doesn't prevent it from also serving as a "normal EAR", e.g. an EJB in this EAR can still be invoked "normally" as an EJB by EJB clients. I'm just mentioning that in case that's happened to be why you thought you might want to deploy it in a separate BLA.