Author |
Message
|
nits_018 |
Posted: Tue Dec 18, 2012 12:09 am Post subject: Application and Library reference Problem in WMB v8 |
|
|
Apprentice
Joined: 24 Oct 2012 Posts: 34
|
Hello,
I am having an application which refers to the library say abc. Now when i deploy the application the library get deployed with it in the BAR File.
Now currently i need to have a way out in which i want to access the library dynamically on runtime i.e I want the library should not be present in the BAR file of the application but during Runtime the application refers the library as required.
Is it possible to implement this kind of approach in WMB v8 and if Yes I will grateful if you can provide any lights on it.
Thanks in Advance |
|
Back to top |
|
 |
goffinf |
Posted: Tue Dec 18, 2012 1:07 am Post subject: |
|
|
Chevalier
Joined: 05 Nov 2005 Posts: 401
|
An Application (in this case, a 'named' application) is a unit of deployment that contains all required resources essentially as private copies. This provides isolation from external change which is one of the primary characteristics of this project type. An Application cannot have a reference to another application.
Fraser. |
|
Back to top |
|
 |
nits_018 |
Posted: Tue Dec 18, 2012 1:15 am Post subject: |
|
|
Apprentice
Joined: 24 Oct 2012 Posts: 34
|
Thanks for the reply..then does it means the library is also considered to be as an application and thus cannot be referenced at runtime. |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Dec 18, 2012 4:56 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
nits_018 wrote: |
Thanks for the reply..then does it means the library is also considered to be as an application and thus cannot be referenced at runtime. |
Every single thing that is deployed is deployed into an application.
No application can see anything that is deployed outside of itself - i.e. no application can see into another application.
If you wish to deploy a library separately from the message flows that use it, you must deploy them all into the default application - i.e. not in a named application at all.
I don't remember if anyone got around to writing an actual RFE that asked the lab to allow for libraries to be accessed from multiple applications or not.
I also don't believe anyone got around to writing an RFE to allow for a bar file to be deployed *into* a given application, and thus update *parts* of it, rather than requiring a full redeploy of the whole appzip.
It seems a good idea for someone to write such RFEs if they've not been written. |
|
Back to top |
|
 |
McueMart |
Posted: Tue Dec 18, 2012 5:04 am Post subject: |
|
|
 Chevalier
Joined: 29 Nov 2011 Posts: 490 Location: UK...somewhere
|
The RFE already exists and has quite a number of votes ( http://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=19930 )
IBM development have also responded:
Quote: |
IBM,Development: Thanks for raising this requirement, and completely agreed. Shared libraries is very much part of our longer term strategy for libraries,as they would simplify the operational management of reusable assets, in much the same way that in V8 subflows and ESQL can be deployed and managed independently. |
|
|
Back to top |
|
 |
|