Posts

Showing posts from September, 2016

Running Multiple Instance of MYSQL in Same Machine

How to create single mysql server run on multiple port in a machine Description :   here , we are going to discuss on how can we run a multiple mysql instance on different port using single mysql version in same machine. If you not have mysql server in your local machine just follow step 1 else you can follow from step 2. Step 1: Installing MYSQL Server:    We need to install the mysql server in linux or windows. The below command to use to install in linux machine. 1. sudo apt - get install mysql - server Using this we can install latest version Mysql Server in linux machine. During installation process it prompt the root user password. Step 2:   Setting up mysqld_multi   : In order to manage two instances effectively in same machine, we need to use   mysqld_multi  . use this link to read about mysqld_multi . The mysqld_multi used to mange the mysql different group in the same machine. Now, we are going to disc...

Salesforce data access via Java portal

Image
Java portal to Access Salesforce Data I am going to explain to access salesforce data through java portal via heroku. The following steps to consider before start work. The salesforce need to provide out side server access. Then only we can get salesforce data through Rest Api. In Java application what kind of service going to use whether WSDL lib or you can write your own login handshake code. Should know how to push and deploy in Heroku using  java application. In this example i am going to use my own custom login in example code. That will explain you how to log in using rest in java application. Before write java application, you should know which Http client lib you are going to use. In this example i am used the following libs, Maven 3.3.1 Java 1.7 Jersey rest Apache http client Jackson- json The first step to get salesforce gateway to allow us to connect with them. First create a salesforce account. Now i am using my developer account and explain you...