This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.



Feb 3, 2012, 7:29 AM
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, 10:12 AM
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. New discussions are now taking place in the IBM Developer Answers forum.