query: When should I create a service for a class?
positive_passages.docid: 22139
positive_passages.text: When should I create a service or a utility function?
negative_passages.docid: 58609
negative_passages.text: When should I use the Visitor Design Pattern?
negative_passages.docid: 128212
negative_passages.text: Performance of using static methods vs instantiating the class containing the methods
negative_passages.docid: 47238
negative_passages.text: Where should I put @Transactional annotation: at an interface definition or at an implementing class?
negative_passages.docid: 146924
negative_passages.text: When we should go for a Singleton class in Java?
negative_passages.docid: 60540
negative_passages.text: Should I instantiate instance variables on declaration or in the constructor?
negative_passages.docid: 45053
negative_passages.text: When should I write Static Methods?
negative_passages.docid: 134329
negative_passages.text: Can you use a string to instantiate a class?
negative_passages.docid: 134509
negative_passages.text: When do you need to explicitly call a superclass constructor?
negative_passages.docid: 52180
negative_passages.text: Benefits of using `Object.create` for inheritance
negative_passages.docid: 107838
negative_passages.text: What's the difference between an Application, a Process, and a Service?
negative_passages.docid: 21695
negative_passages.text: When is it appropriate to create an entity instead of a new content type?
negative_passages.docid: 100909
negative_passages.text: Difference between adding a unit to the interface or the implementation section
negative_passages.docid: 144236
negative_passages.text: Unit testing with SOAP and REST callouts
negative_passages.docid: 37285
negative_passages.text: Should the call to the superclass method be the first statement?
negative_passages.docid: 7130
negative_passages.text: how many instances for a class exists at runtime in java
negative_passages.docid: 81634
negative_passages.text: What is the difference between "Class.forName()" and "Class.forName().newInstance()"?