peace be up on you ,
i am using sun application server , i have create an ejb class , home and remote interfaces
also a client class and an jsp file to access this ejb, but i don't know how to use the applilcation server to backge them and to test them after deployment
You can refer to the following link to get the appserver documentation.
Alternatively you can use netbeans IDE to develop J2EE applications. It is very simple to write, package and deploy J2EE applications using netbeans.
You can download netbeans from-
http://www.netbeans.org/downloads/index.html or from