cancel
Showing results for 
Search instead for 
Did you mean: 

reuse interface methods

Former Member
0 Kudos

Hi

I implemented some business code in a method of a controller.

Can i reuse this function in a j2ee application?

Florin

Accepted Solutions (1)

Accepted Solutions (1)

former_member211296
Participant
0 Kudos

Hi Florin,

I have an doubt regarding your question. where you write the business codes like component controller or some other controller?

I think if you creating the DC in the webdynpro it is not possible to use in J2ee application.

(Or) Kindly explain the question some more details..

Kind Regards,

Hariprasath.R

Former Member
0 Kudos

Hi Hariprasath,

Yes if i have the code in component controller ..interface controller.

Florin

Former Member
0 Kudos

Hi Florin,

Which j2EE application would you like to use this code?

Look it is possible to achieve something like this.

You have to use the application URL to launch the application.Implement this method which calls the bussiness logic code and once the results are achieved there is something called a exit plug which would close the session of the application.

What I am suggesting is a work around.WD application controllers should ideally not be used for something like this.

I would rather suggest you to execute a jsp or servelet for your buisness logic.

Please let know the exact requirements.

Regards

Amit

Answers (1)

Answers (1)

Former Member
0 Kudos

Hai,

You can use your code in any other webdynpro component.but not in other j2ee application .

Regards,

Naga