Salesforce. AI. Web3

CEO Abhinav Gupta CEO Abhinav Gupta

Is Javascript Remoting == ViewStateLess Visualforce ?

Javascript remoting is one of my favourites from Spring’11 release and I’m constantly thinking of making best use of it in Visualforce. I believe remoting is the way to make Visualforce more "viewstate less", this post shows a POC of a complete functional example of a page that searches and updates accounts using Remoting only i.e no viewstate…

Read More
CEO Abhinav Gupta CEO Abhinav Gupta

Winter’11 Setup/Logout in dropdown, inspired from Facebook ?

Winter’11 gave an interesting new location to popular links like “Setup” and “Logout”. They are no longer one click available, you have to click your login name in new interface header to see these links. In first appearance I thought its fine. But over the time when I was working in my winter’11 pre-release org…

Read More
CEO Abhinav Gupta CEO Abhinav Gupta

Deep dive into Visualforce <apex:actionregion /> tag !

<apex:actionRegion /> is interesting and somewhat ignored tag in Visualforce. Tag is ignored, because Visualforce documentation is not in depth, to explain the real utility of this tag. So this post explains some stuff around action region to make it easy for developers to understand…

Read More
CEO Abhinav Gupta CEO Abhinav Gupta

Batch Apex & First error: Attempt to de-reference a null object !

I stumbled upon a strange Batch Apex issue today. My batch job was going well in few SFDC orgs; after deploying the same to a new org it stopped working completely. I just see, “First error: Attempt to de-reference a null object” in debug and apex logs. After adding a lot of debug statements in both start() and execute() method, I found that…

Read More
CEO Abhinav Gupta CEO Abhinav Gupta

Why apex-lang for Apex developers ?

apex-lang is an open source Apex library, its Apex port of very popular Apache Common Lang java project. Almost all java developers and open source projects in Java depend on Apache Common Lang. This is really good to see that something similar came to apex in open source. apex-lang is comprising of many Utility classes that port the Apache’s stuff to apex…

Read More
CEO Abhinav Gupta CEO Abhinav Gupta

Salesforce Winter’11 Release – More guess work on whats coming next !

Salesforce releases are exciting for me, I am always eager to know whats coming next in this release. While writing some other blog post on “Chatter for Winter’11”, I was going thru Quinton’s blog post on Salesforce blog. On a screen shot on this blog post, I noticed a few interesting things (might be related to Winter’11 release), those are highlighted in red circles in picture below…

Read More
CEO Abhinav Gupta CEO Abhinav Gupta

ApacheAxis & WSC Partner WSDL Sobject compared !

This post compares “com.sforce.soap.partner.sobject.SObject” generated by compiling Partner WSDL with WSC, to SObject class generated with Java libs like Apache Axis. This might be of interest for those developers who compiled Partner WSDL with other libs like Apache CXF etc..

Read More
CEO Abhinav Gupta CEO Abhinav Gupta

Salesforce WSC ApacheAxis Session Sharing

Yesterday’s blog post explained how to best use Apache Axis and WSC stubs in parallel on same JVM or Project. This post reveals another small trick for developers using both WSC and Apache Axis WSDL2Java stubs together in a project/jvm. The trick focuses on reducing the number of login() call via Partner or Enterprise Stubs…

Read More
CEO Abhinav Gupta CEO Abhinav Gupta

WSC Apache Axis ClassCastException Issue Fixed !

This post is specially for those, having a Java Application(Production) working with SFDC web services via Apache-Axis stubs(WSDL2Java), but because of known advantages from WSC, you want to add some new functionality, like Bulk API as mentioned in SFDC blog here…

Read More
CEO Abhinav Gupta CEO Abhinav Gupta

Tolerado SFDC WSC Helper APIs

I am researching on how to best use & integrate “WSC” with Tolerado. This research mainly focuses on

How to preserve and reuse a single sfdc login session across the all the WSDLs. This should again go in transparent fashion as with Tolerado for Apache Axis…

Read More
CEO Abhinav Gupta CEO Abhinav Gupta

Why WS-Client should RETRY Web Service Exceptions ?

Web Services are something that are either used as provider or client by almost every developer. Web services are usually exposed via SOAP, these days RESTful web services are common too. One thing common in all types web services is HTTP protocol, its the base protocol wrapped by SOAP / REST implementations…

Read More