+ Start a Discussion

using Batch Apex guidelines

I am a little bit confused on 'When to use and when not to use' the Batch Apex. In my understanding I should use it to avoid the governor limits. Every company does business on growing prospective i.e. apex not hitting governor limit at the moment might hit the limit in the future.My apex working fine today might not work after (may be a long after) sometimes. Because of it -while writing apex code I always feel uncomforatble.  Does that mean - is it always safe to use the Batch Apex? I think it should not be true too. Any guidelines ........................
After speaking with the PM for Apex I have found that @future will will address alot of issue where batch may have been considered. As of now batch is focused on find and replace type logic and recalcuations. I've you aren't having any issues now then @future will probably suffice if you ever run into issues.