Category: JAVA
-
Performing Load Testing in Salesforce using Selenium and TestNG
Parallel execution of browsers in Selenium with the help of TestNG and determining maximum operating capacity of custom code in Salesforce
-
Creating custom ANT plugin or Task in Java
Tutorial to create custom Task in ANT with complete source code
-
Generating Single Executable jar file with all dependencies and libraries using Netbeans and Eclipse
Generating Single Jar file with all dependencies in Eclipse is easy. We just need to follow below steps : Either from the context menu or from the menu bar’s File menu, select Export. Expand the Java node and select JAR file. Click Next. In the JAR File Specification page, select the resources that you want…
-
Create Excel File in Java using Apache POI Library
Recently, I came across requirement to create ExcelSheet from thin Java Client used by Salesforce. So, I though to share my experience on Creating Excel Sheet in Java. As we know that Java is product of Oracle and Excel is product of Microsoft. Off-course, There will be no standard functionality available in Java to achieve…
-
Introduction to Hibernate
Post by – Subhash Bhajankar What is the problem that hibernate is trying to solve? Let’s take an example of simple class that you have in your application. Referring Image 1, we have Employee object in our java class which has six fields. In our running application We would have lots…
-
Creating First Application in Heroku using Eclipse
Hello Readers, in this article we will see step by step procedure to deploy your first (Hello World) program in Heroku. There are two ways, first going through series of Commands of “Heroku” and “GIT” and other simple and smart way is to use Eclipse Capability with Heroku. To make things easier we will go…
-
Resolve Error “ArtifactTransferException: Could not transfer artifact” or “Failure to Transfer” in Maven
This is very short tips to resolve the errors “ArtifactTransferException: Could not transfer artifact” that may occur in Maven project in Eclipse. Steps to resolve: Open folder by running this text (without Quotes) in Search Explorer of Window “%USERPROFILE%.m2”. After running above command, “m2” folder of maven will open. Now search for file (without Quotes) “*.lastUpdated”.…
-
Merge PDF in Salesforce Using Java, ITextPDF and OAuth 2
Its long time, since i wrote any article because of my busy schedule However this time i came with advance one. In this article we are going to use the J2EE (Servlet) to Merge PDF attachment inside salesforce with the help of OAuth and ITextPDF jar file. The reason of writing this article is that…
-
Simple guide to setup SSL in Tomcat
I have enabled SSL in tomcat many times however initially I struggled to get it in running condition. So I thought to share a simple approach I am following now days. Step 1: Run tool “Keytool“ provided by the JRE to create a “keystore file”. The command to run tool is: keytool -genkey -alias tomcat…
-
Method Parameters – Pass by Value or Pass by Reference
Difference between pass by Value and pass by Reference in Salesforce and other Object Oriented Programming language