title: How to setup RMI in Glassfish (2.x), so the Remote EJBs would be injected
body: <p>currently when I deploy enterprise modules manually, their remote EJBs are null (not injected). When I deploy via NetBeans ide, RMI is someway setup and EJBs are injected. My question is what needs to be configured in Glassfish (2.x) so I could deploy modules manually, not via ide.</p>