- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hello,
I would probably start by getting familiar with DSC development, the link you point to will help. A DSC is basically just a POJO (plain old java object) wrapped with some special packaging that allows it to be deployed to the LC DSC container. Once you have that sorted, you could use a Java based JS interpreter like Mozilla Rhino (http://www.mozilla.org/rhino/) within the DSC to interpret the JS that you would assign to the DSC in your process.
Alternatively, if this is more or less a localized requirement to execute some JS, and you won't be doing it time and time again... I'd suggest just porting your Javascript to pure Java, and run it via the Execute Script service, or even create a DSC that specifically serves the same purpose as your script does. This approach will perform better at scale as well.
Good luck, and keep us apprised of your progress. There are lots of folks watching these forms that can probably help you out with DSC development questions.
-matt
Views
Replies
Total Likes