function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NasipuriNasipuri 

sandbox

Hi,

 

We have developed an interface in java which create and update some record in SFDC application.

 

We want to point the interface first to the sandbox environment for testing and once the testing is over we want to point the interface to the enterprise SFDC application.

 

What is the standard practice to point the interface to different environment (sandbox /production i.e. normal?

 

Thanks in advance.

 

Regards,

Dinesh Nasipuri

 

benjasikbenjasik
best practice would be store the endpoint in a config file, and set it on startup time.  I'd also make the username slightly different or the passwords different so you don't end up pointing test to production, or production to test mistakenly