This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Feb 3, 2012, 12:29 PM
66 Posts

How to share JAVA code between java agent and xpages?

  • Category: Other
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 1
I must just missing something, but how can I share code between java agent(or java library) and xpages? 
I have xpages app where my logic is beeing developed in java. Now I need a few agents that do some periodical jobs and I need to use some generic java code I have created for xpages. How to do it? I cant find a way.
 
My observations so far: 
a) agent (or java library)  cant import(use)  java code available in src folder in package explorer or from new JAVA design component. (or is there a way somehow??)
b) xpages cannot use/import java code used in JAVA libraries (standard design component) 
 
How to resolve it? I definitely miss something here ... 
 
UPDATE: I just found this article about ... seems there is no way :-(
Feb 7, 2012, 3:12 PM
272 Posts
Re: How to share JAVA code between java agent and xpages?
Hi,
 
in one of my applications I am using libraries stored in the jvm\lib\ext directory.
 
Sven
 

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal