I have gone to my glassfish admin conole
1. created conectionfactory with defult optuons
2. created destination by selecting Queue as the drop down option not topic and gave name as johnService
3. created EAR, and which consist of EJB and war projects in netbeans
4. i right clicked on the ejn project and ---->new message driven bean--->gave name JohnMDB and gave package name as com.john
i saw option for Destinations like Project Destinations and Server Destinations.
I wonder what is the difference between above two and when to use which one.