FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.



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
 

FORUM PLAN UPDATE
Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.