sorry for creating duplicate
thread.
what i did is created a new entrprise application project, and then it gave me option to ADD MODULES. i added web module and ejb module. when i clicked on finished, it resulted in one Ear Project which i named ActionBazaar, one Web module ActionBazaarWeb, and ActionBazaarEjb. am i proceeding right ? if yes , then suppose i have to call my session bean( which is in ActionBazaarEjb) from a
servlet in ActionBazaarWeb, then will i be able to call it , since they are two separate(but linked projects through EAR) projets in workspace ? guide me if am proceding in right direction ?
also i again created a new Enterprise application project in eclipse juno, and following is the artifact structure in the workbench
ActionBazaar
|
-------------Deployment Descriptor :ActionBazaar
|
|------------EarContent
|
|___meta-inf
|_application.xml
maybe we could rename EarContent, so that you may have different name. but this is the structure am getting when i do New > Enterprise Application Project
also i digged into eclipse help and it says that there is no source code in Enterprise Application Project( which eclipse also calls EAR project) and that it references other jee projects which can be application client projects, ejb modules, web modules.
actually i'm in the early stages of book, but the book didn't mentioned which project to create. it simply gave a session bean source code and a servlet source code. i want to try the example at the earliest in Eclipse. so i would like to know which project to create. my friend told me that i can create a web project and in it add session bean . is it a possible ?