title: Find the .class file compiled by Eclipse
body: <p><strong>Question(s):</strong></p>
  
  <p>How am I supposed to compile just one class? How do I put it INTO the class file (which I've created)? Doesn't Eclipse just automatically compile all the classes at runtime?</p>
  
  <p><strong>The back story:</strong></p>
  
  <p>I'm following a <a href="https://code.google.com/p/odata4j/wiki/Tomcat" rel="noreferrer">tutorial</a> and it tells me to:</p>
  
  <blockquote>
    <p>Put the compiled class into WEB-INF/classes.</p>
  </blockquote>
  
  <p>Where the class is:</p>
  
  <pre><code>package org.odata4j.tomcat;
  import java.util.Properties;
  import org.core4j.Enumerable;
  import org.core4j.Func;
  import org.core4j.Funcs;
  import org.odata4j.producer.ODataProducer;
  import org.odata4j.producer.ODataProducerFactory;
  import org.odata4j.producer.inmemory.InMemoryProducer;
  
  public class ExampleProducerFactory implements ODataProducerFactory {
  
    @Override
    public ODataProducer create(Properties properties) {
      InMemoryProducer producer = new InMemoryProducer("example");
  
      // expose this jvm's thread information (Thread instances) as an entity-set called "Threads"
  producer.register(Thread.class, Long.class, "Threads", new Func&lt;Iterable&lt;Thread&gt;&gt;() {
    public Iterable&lt;Thread&gt; apply() {
      ThreadGroup tg = Thread.currentThread().getThreadGroup();
      while (tg.getParent() != null)
        tg = tg.getParent();
      Thread[] threads = new Thread[1000];
      int count = tg.enumerate(threads, true);
      return Enumerable.create(threads).take(count);
    }
  }, Funcs.method(Thread.class, Long.class, "getId"));
  
  return producer;
    }
   }
  </code></pre>