After you package your project; i.e. creating necessary jar file, you need to create a context in application.xml file. This file should be in META-INF directory.
After that, you can package your jar file and application.xml to make ear file. Once done that you should be able to see your application. Let's say your context is "/myContxt"
Then you can assess your application by the following URL:
If you still have some problem, email me and give me more details what you are doing. I hope I will be able to help you.