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 24, 2011, 8:00 AM
38 Posts

Re: Using Java classes in WEB-INF folder in your Java Agents

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.1
  • Role: Developer
  • Tags: XPages,Java,SSJS
  • Replies: 7
Thanks John for your reply.
 
With your reply I can safely say that as of now what I am looking for is not possible. Atleast I wont break my head over this anymore. :)
 
Option 1 & 2 are not feasible for me. Option 3 sounds interesting and might just be able to take care some part of my problems. But I want some of my agents to run on schedule and XAgents wont be able to do that (Pls correct me if I am wrong on this one, because if I am then all my problems are solved). 
Feb 24, 2011, 10:45 AM
16 Posts
Re: Using Java classes in WEB-INF folder in your Java Agents
Oh, yes, I forgot to add that twist.
 
You can just create a simple scheduled agent that calls your "XAgent" through a url. If you need to pass data to your XAgent you can add them as url arguments :-)
 
Looking a little further ahead I think we will start to use OSGi for such tasks. But most of us would still need to learn a lot more about OSGi before doing that. Specifically, I am thinking of deployment and daily operations - and of course some best practices for development :-)
 
/John 
Feb 24, 2011, 10:53 AM
261 Posts
Re: Using Java classes in WEB-INF folder in your Java Agents
See here: http://www.bleedyellow.com/blogs/m.leusink/entry/using_scheduled_xpages?lang=nl how to mimic "scheduled XPages" by calling them using a scheduled Java agent.

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