We announced recently the new IBM Social Business Toolkit which provides a SDK making it easy for Java and web developers to invoke REST APIs, esp. IBM Connections and IBM SmartCloud for Social Business APIs. As part of the SDK there is a set of Java APIs, e.g. an activity stream service, that can be used by server side JSP/Java code.
I’ve extended this particular service so that it can be used now in XPages. The service provides methods to read from the activity streams in IBM Connections and to post new entries to the streams. The implementation of this service uses the XPages social enabler and leverages the ltpa endpoint for authentication. I’d like to open source it soon on OpenNTF.