There is an example in NetBeans site how to create Application Client using simple projects (without Maven). There are 4 projects needed (EJB, EAR, Lib, Program). This tutor
There is a useful EJB FAQ which mention about how to use the @EJB to access the remote EJB by using the ejb-ref together with sun-web.xml or now it is a glassfish-web.xml as the following link: -
What if I have multiple instances of the Appserver running and I want to access a Remote EJB component between them?
If you would like to compare between ejb-ref and ejb-local-ref, you may see further information at What is the relationship between @EJB and ejb-ref/ejb-local-ref?
I hope this may help.