| Building/Deploying an EAR [message #111052] |
Mon, 13 June 2005 19:35 |
Eclipse User |
|
|
|
Originally posted by: cwilkerson.cars.com
Hello All,
Just started tinkering with the WTP today and am having a few issues
figuring out the sort of canonical way to toss together an EAR; thus far
I've had limited success (comparatively speaking to building simple WARs
and/or EJB modules).
Here's my route in:
-----------------------------------
+ Switch to J2EE Perspective
+ Create new J2EE Ear Application (from the Enterprise App context menu)
+ Create New Project "Foo"
+ Create Module "FooEar"
+ Target 1.3
+ Create new J2EE Web Module (from the Dynamic Web Projects context menu)
+ Associate with Project "Foo"
+ Select "Add module to an EAR app" (at which point I key in "FooEar")
+ Create new J2EE EJB Module (form the Ejb Projects context menu)
+ Associate with Project "Foo"
+ Select "Add module to an EAR app" (at which point I key in "FooEar")
----------------------------------
At this point, all of the aforementioned nodes (EAR/Web/EJB) all show the
same content. This is a little bizarre to me. I'd think I would see only
web modules below the "Dynamic Web Projects" node, only EJB modules under
the "Ejb Projects" node, etc.
Am I missing some semantics here...or am I just seeing the weaving of the
relationships between my various components? I just want to make sure I'm
doing this right and I'm not missing some fundamental concept.
Perhaps I need to create distinct projects? One for the WAR, another for
any/all ejb modules and still another for my ear? At that point how do I
associate my already created modules (WAR/EJB) with my EAR?
A bit of an open-ended question really. Any feedback would be most
welcome.
|
|
|
Powered by
FUDForum. Page generated in 0.05147 seconds