Ron DiFrango
Feb 04 2010
Exposing JMX Beans in Weblogic using Spring
by Ron DiFrango
Eric Miles and I were working on different clients that were both utilizing the Weblogic application and the Spring framework. Each of needed a way to expose some of the configuration items as JMX beans so that production support folks could change the values of these items at runtime without requiring server re-boots. Because both of us were using Spring, exposing the beans was fairly straight forward, we just followed the Spring documentation for exporting JMX beans.
Oct 20 2009
Google Search Appliance (GSA) Sorting in Portal
by Ron DiFrango
At several of our clients, we have integrated the Google Search appliance into a Portal. In order to accomplish this integration we could take 1 of 2 approaches:
1. Utilize GSA’s built-in ability to format the presentation logic via a XLST.
Tagged: Alfresco, captech, GOOGLE SEARCH APPLIANCE, GSA, JBoss Portal, XML, XSLT
Oct 20 2009
Google Search Appliance (GSA) Sorting in Portal
by Ron DiFrango
At several of our clients, we have integrated the Google Search appliance into a Portal. In order to accomplish this integration we could take 1 of 2 approaches:
1. Utilize GSA’s built-in ability to format the presentation logic via a XLST.
2. Utilize GSA’s ability to return straight XML.
Both approaches work well and can suit the needs of a portal. Option 1 though will not work if you need to sort the entire result set prior to displaying it to the users. The reasons for this is as follows:
Tagged: Alfresco, captech, GOOGLE SEARCH APPLIANCE, GSA, JBoss Portal, XML, XSLT
Sep 16 2009
Alfresco Integration with GSA
by Ron DiFrango
In order to provide searching within the portal a strategy had to be defined with how to integrate Alfresco with GSA. There were two approaches considered:
1. Utilize the traditional approach and have GSA crawl Alfresco through either a webscript mechanism or via CIFS.
2. Utilize the GSA Feed based approach.
After careful review we decided upon the feed base approach for the following reasons:
1. Meta Data: In order to support the Faceted searching, we need to find a way to attach metadata to each content item. Given that our HTML code is just snippets and does not contain a header with this information and that we are indexing documents, the only way to reliably accomplish this was via the feed.
Aug 18 2009
Alfresco Impersonation
by Ron DiFrango
On my current project, we are using Alfresco and working on an integration with JBoss Portal. In this case we were building a component that allowed for the browsing, uploading, moving, renaming, and deleting of files. We had built all the Alfresco Web Scripts to support these operations. In order to ensure the proper auditing of the changes, we needed to implement a WebScripts component that performed impersonation of the user that was executing the action. After some Google searching, we found the following common solution to the problem:
public String impersonate(String username) {
String currentUser = AuthenticationUtil.getCurrentUserName();
Categories
Popular Tags
Disclaimer
The words and opinions expressed here are those of each article's respective author, and do not necessarily represent the views of CapTech Ventures.