WSO2 Identity Solution has a in-build Java Relying Party Application that uses Information Card, OpenID Information Card and OpenID login. It is a simple JSP site, where information card login is enabled using a servlet filter. This sample relying party accepts tokens issued by Sample Idp.
The sample also demonstrates how you can can add OpenID support to your web application under following areas
Start the Identity Solution application. Obtain a managed card from Sample Idp and point your browser to "https://localhost:12433/javarp". Clicking on the link "Login with your InfoCard" will give you pop up the Identity Selector.
Code for this sample is available in the source distribution under "modules/samples/servlet-filter"