This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
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?