cancel
Showing results for 
Search instead for 
Did you mean: 

Access non-DC project from a DC Web Dynpro project

Former Member
0 Kudos

Hi,

I have a DC Web Dynpro project that needs to access a non-DC Java project. As I cannot create a public part of the non-DC Java project then add that public part to the used DC list of the DC Web Dynpro project, I add the non-DC Java project to the build path of the DC Web Dynpro project. That way I can do the coding without any issue, but when I build the Web Dynpro DC, I keep getting building error saying that the Web Dynpro DC doesn't see the classes in the non-DC Java project.

How can I resolve this issue without switching the non-DC Java project to a DC?

I am on NW04s.

Thanks and Best Regards,

Viet

Accepted Solutions (1)

Accepted Solutions (1)

gautam_singh
Participant
0 Kudos

Hi Viet,

There is a way to achieve your purpose, but at the same time, Iu2019m not sure that it will be exactly your requirement. Anyways, herein, Iu2019m providing you a concept which we had used in our earlier project.

You need to create a java file with the communication parameters for DC and non DC and after that create a jar file. Now, you create an external library DC of this jar file and publish it as public part with complication and assembly.

Now, use this external library DC in your DC.

Thanks

Gautam Singh

Former Member
0 Kudos

Thanks Gautam.

That workaround works for me.

Former Member
0 Kudos

Hi,

can u brief me the concept of "Communication Parameter"? And how to impliement that?

Answers (0)