Google Calendar provides API to integrate third party clients to retrieve or manage the Calendar data. Most complicated part of the integration is understanding, choosing right pattern and implementing the Authentication.
To integrate Salesforce with Google Calendar to retrieve details without having to require user go through the OAuth authorization, you would have to use Service Account scenario. This scenario requires Salesforce create a JWT token using RSA-256 encryption. Fortunately Salesforce added support for RSA-256 bit encryption in Summer 14 release. So it is possible to connect to Google Calendar API and retrieve the free/body information for users.
One caveat with implementation is that, Google requires to use URL Safe Base64 encoding (similar to what Commons Codec has done). This mode requires to replace + with – and / with _. If you forget to do this, the signature that your code generates will not match what Google creates for verification and it would return “invalid_grant” error message.
Hope this helps.
Data Exporter is a library, which allows you to export the tabular data into various formats (TextTable, CSV, Xml etc) has been updated to Version 1.0.4. This version is made available in Maven Central. Just add below dependency to your pom.xml file and you are good to go.
WSC (Web Service Connector) is a wsdl2java library from Salesforce which makes it easier to interact with Salesforce using various APIs (viz Partner, Apex, Metadata) etc. General workflow is to download the wsc jar, invoke the wsdlc compiler for a given wsdl, which generates the jar file. Then if you are using Maven, then install the generated jar into Maven local repository or your enterprise repository. Doing this for all the wsdls rather tedious and laborious.
I came across this situation and thought about automating the process and the result is force-wsdl2jar. It is maven project which generates the required jars and installs to local Maven repository.
Give it a try and let me know what you think.
Google Analytics (GA) is a free Web Analytics tool from Google. If you are looking to get some insights into web properties or desktop applications usage, and willing to share that data with Google, it is a great choice. For web properties it is straight forward (include the js file given by GA and it just works. However, for desktop applications where there is no web context, it has been little tricky. You had to simulate the web with cookie support etc.
GA is rolling out new protocol called Measurement Protocol, which supports collecting the tracking data in client device agnostic way. It is part of their Universal Analytics product and it is still in beta and soon it will replace the current way of tracking the data.
If you want to use GA in Java server or desktop environment, unfortunately GA doesn’t provide any Java API. Recently I came across this situation and was hoping that there would be some third party API implementing this protocol. But I found none which implements full protocol. So end up creating google-analytics-java library.
It is open sourced in github and deployed in Maven Central. If you have such need, try it out and see if it helps you. If there are any issues or missing features, you can send me a pull request or log an issue.
When you have to spend some time dealing with Keystores and certificates, every tool which would make your workflow easier, is of a great help. When I was in same situation, it was really tough as you had to deal with many cli commands and that’s when I had determined to write a friendly GUI application.
Soon after I started working on Eclipse and found out about the Eclipse RCP. I really liked the capability and ease it brought to Java UI application development. So there it started my adventure to learn Eclipse RCP and write a GUI app to manage the Keystores and (if possible) PKI objects (like X.509 Certificates, CSRs, CRLs etc).
Today I’m releasing that effort as Putani PKI Explorer. Downloads are available as Windows/Linux/Mac 32/64 binaries. Wiki with features and user guide is on the way. However GUI is easy to use and friendly so I believe you will not have to try hard to understand it and use it.
I dedicate this effort to my father (July is his Shraaddha month), mother and brother. You guys have given me all that you had and you are the reason whatever I’m today. Thank you.
Putani name means a “little one”, affectionate way to call small children. I chose this name for my first niece (Lahari), my son (Kashyap) and second niece (Ritu).