Quantcast
Channel: SCN : Popular Discussions - SAP NetWeaver Development Infrastructure (NWDI)
Viewing all articles
Browse latest Browse all 1412

Using Java Utility Classes as DC in NWDI

$
0
0

Hello,

 

we are developing (mostly WD) with NWDI and would like to have a SC for all utiliy-classes and external libraries.

 

For the part concerning external libraries we are fine: We created an utilities-SC, an ExternalLibrary-DC (containing all Libraries and providing PublicParts for compilation) and a J2EE-ServerComponentLibrary-DC that uses this DC for build- and runtime, makes it deployable and provides a PublicPart "defLib" for usage by WD-DC's with LibraryReference to the lib's name (check in VA under "libraries" -> library XY).

<a href="/people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro this Blog</a>

 

But how can we have a DC for Java-Classes (sources that can be extended or other classes being added) that will be compiled and deployed one time to the server and that can be referenced/used by other DC's (eg. Webdynpro)?

We were able to deploy the JavaClasses on the J2EE (principle as above: JavaDC used by J2EEServerComponentLibrary-DC) and have tried several things, but either the using WD-DC redeployed the jar again or it could not find it at runtime (NoClassDefFoundException), but did not like Library- or SharingReference in WD..

Does anybody know how to do this?

 

Best regards,

Manuel


Viewing all articles
Browse latest Browse all 1412

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>