Posted on
December 30th, 2011
In this post, I will demonstrate a simple example which will send a request to create a JAXBElement and retrieve it back in the form of XML and JSON using GET/POST HTTP methods respectively. This example will include all the steps from scratch till you get a RESTful web-service working for sending and getting back your sample data.
I will also address the exceptions/common mistakes that can be encountered while using incorrect formats of XML/JSON . I have however not covered the details of Restful Services, Jersey, Maven and Tomcat assuming that the reader will be able to find plenty of resources on these topics easily.
Read more »
Posted on
September 30th, 2011
While working on Salesforce applications, we came to know that 'Packaging' is a powerful ready-made tool which enables you to distribute your application including all the components to the Salesforce user.
There are some other facilities also, like include your company logo, create trials/help for advertisements and publishing it via AppExchange.
Before we create any package, we already decide upon whether to create a managed or an unmanaged package ( the two ways of packaging available) . The former is used when we desire them to be upgraded in the installer's organization.
Read more »
Posted on
August 1st, 2011
In this post, I will describe the creation of a 'Numeric Stepper' custom component using basic HTML tags and JavaScript. This Numeric Stepper will be binded to a salesforce apex component using simple JavaScript. After that you should be able to create any html based custom component in salesforce and tie it to your visualforce content in the same way.
For this demo, I have used images for up and down arrow keys. You can download them from upImageLink and downImageLink respectively and upload as Static resources in Setup -> AppSetup -> Develop ->Static Resources.
Read more »
Posted on
May 18th, 2011
'Drag and drop' is not supported in a standard way in JavaFx 1.3.1 .
However, there are some functions that work with Swing toolkit which enable the target resource to know that something thing has been dropped over it.
Several objects can be dragged simultaneously and the objects can be in different formats like normal .txt files, png's or pdf's e.t.c.
When you drag the browser link, the text associated with the link is placed in the buffer.

.
.
.
.
.
.
.
.
.
.
We are going to implement the same with dragging a file/folder from the OS and dropping over an JavaFx component, which is a swing component wrapped in JavaFx.
Read more »
Posted on
April 25th, 2011
Learning is a continuous process, and even though we practice Test First Development and Agile religiously, there is no dearth of things to learn about them. So, keeping this in mind, Xebia organized a session by Dr Venkat Subramanium on Test First Development this Sunday(24th April) at Xebia India Office.
Dr Venkat Subramaniam is the founder of Agile Developer and we, as Xebians primarily know him as the author of "Practices of an Agile Developer," the first book that every Xebian gets after he or she joins the organization
When you get an opportunity of meeting such a personality, whose books you read, practices you follow, its more of an opportunity for thought cleansing rather than learning techniques and processes. And this is what we experienced in the Test First Development session by Mr Subramaniam, where we discussed not only TDD, but the complete Extreme Programming in itself, along with various complex areas of Agile.
Mr Subramanium enlightened everyone in the session by providing an unthinkable insight towards the various aspects of Agile. He took all questions with great enthusiasm, be it regarding technology, process, agile or other concepts like TDD, general programming practices, refactoring, designing, importance of courage and maturity in a programmer's life and much more like : Read more »