title: Migrating Infinispan 4.2 to 5.1 with the InternalEntryFactory class
body: <p>we are migrating from Infinispan 4.2 to 5.1 in our Java project.</p>
  
  <p>In version 4.2, there's a class called InternalEntryFactory, which is located on the org.infinispan.container.entries package.</p>
  
  <p>But in version 5.1, this class doesn't exists anymore. It was replaced by an interface called InternalEntryFactory on the org.infinispan.container package.</p>
  
  <p>Here is my question: which implementation of this interface should I use now?</p>