In theory, Eclipse should be set up as a full J2EE environment, although sometimes you have to add Jboss-related Jars to the Eclipse environment for building. I'd recommend since you are new to EJB searching Google for a JBoss tutorial, there are plenty out there.
What exactly i was expecting..i came to know in EJB 3.0 we can generate the code by ant script...And another thing i want to know hw to start working EJB in Eclipse Europa....Because whenever i m trying to create an EJb project in Eclipse its coming with EJB2.1, thats why i am confused how to start with EJB 3.0 And another doubt is it necessary to create one EJB project to work with EJB in Eclipse or i can create one simple java project and start writing the EJB code...???
I think the problem you see EJB2.1 instead of EJB3.0 is the versione of JBoss. You shoud use Jboss 5.x to be able to create a EJB3.0 project, but you can create a simple Java project and import the requierd jars.