I read that it is not allowed to use a ServerSocket in a J2EE EAR. This is clear besause of the component architecture. But now I am asking me how to integrate a new Protokoll. What would be the right way if I e.g. want to implement an ftp-Server, so if I want that my application is connected to a speciel Port on the host machine?