I have a method that will be used to send out email. i want to lock this method so only one thread can accses it per time and the rest pool up concurrently. should i synchro
Make your service a singleton and add synchronized to your method.
singleton
synchronized