Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Custom component deployment

Not applicable
I would like to develop a component that is common to all other component(s).

So I developed a custom common component which points to a common jar (lib) file, idea is that if I changed the jar and redeploy the common component then all dependent component should get the latest change without undeploy/deploying all of them. I also have some utility classes inside common component ( so there could be dynamic changes to these utility classes or to common lib jar and all other will get updates at once) this approach seem to work sometime but not always sometime it works after server restart or by undeply/deploy all components (which is not good idea), I am not able to figure out why exactly this is happening is it classpath loading? any idea?

How to get Datasource inside custom component? I tried but got exceptions not able to get the DataSource ( i tried both with and without java: prefix) ( Note: I see the DataSource is being used inside JDBC component)

I think Adobe should opensource the components part of LCES to make community understand them and develop more usable component(s) which will help all including Adobe


2 Replies
Level 9
Level 9
You could just deploy your common library as an application server library - that's how all other common libraries are deployed?

Not applicable

Thanks, but I would like to take advantage of dynamic deploy / redeploy of common component without restarting the server. ( because I think it is all class loading related)

Howard may be I did not get your idea clearly can you please elaborate?


Datasource issue I able to sloved (atleast for java:IDP_DS).