cancel
Showing results for 
Search instead for 
Did you mean: 

adding a jar in sca file

ReenaWadhwa
Advisor
Advisor
0 Kudos

Hi all,

We have Netweaver java based application where we have given some user exits for customer. The idea is that customer can write his own logic in these user exits and this logic will be called by our application at run time. Basically we have created a interface whose method is called at run time and customer has to implement that interface. we also have a configuration setting where user can give the class name in which he has written his logic.

Now we are delivering our application in form of SCA files.These SCA will contain the interface provided by us. How can customer use this interface and can add his logic.

Is there any other way of providing user exists in java where customer will not require actual java code of whole application.

Thanks and Regards,

Reena

Accepted Solutions (0)

Answers (1)

Answers (1)

siarhei_pisarenka3
Active Contributor
0 Kudos

Hi Reena

>Now we are delivering our application in form of SCA files.These SCA will contain the interface provided by us. How can customer use this interface and can add his logic.

Actually this is a problem. Even if customer got your interface, implemented it and deployed his Java classes within the save server where your App deployed then you would face class loading problem. So your App cannot load Customer's class from Customer's App, because you cannot establish a runtime-reference from your App to the Customer App in advance.

BR, Siarhei