Deploying Adapters to the Integration Server

Is there any specifications (folder structure) to deploy an adapter to integration server… If iam developing a new adapter… how can i test it with the integration server…