You compile your classes in the usual way. However most EJB servers also require additional classes to be created and compiled to complete the bean. For example, WebLogic has a utility named "ejbc". You'll have to check the docs for your particular platform.
Customer surveys are for companies who didn't pay proper attention to begin with.