I am using Eclipse Indigo with internal Glassfish 3.1 server. I want to run Java SE code on that server - typical class with 'main' method and I want to get ability of using DI in that class or at least no-interface or local beans.
In Netbeans something similar could be achieved - e.g. EJB project has Testing Package and JUnittest were performed on the server thus local beans could be used.
Whould you give me an advice on how can I achieve my goal in Eclipse Indigo?