|Enterprise Application Project Structure - missing non-EJB business or middle ti [message #175167]
||Thu, 20 July 2006 18:03
Originally posted by: alice.sufka.ensequence.com|
I am reviewing the tools in eclipse 3.2 and webtools 1.5 for creating
Enterprise application projects, and it seems to me that the structure of
enterprise projects and their contained modules seems to be lacking a full
middle or business tier component.
From the online help description of what modules or projects an enterprise
"An enterprise application project contains a set of references to other
J2EE modules and Java projects that are combined to compose an EAR file.
These projects can be Web modules, EJB modules, application client
modules, connector modules, general utility Java JAR files, and EJB client
JAR files. "
So my question is, where do middle tier/business tier classes that are not
EJB's go? Most business layers that use EJB's also use classes that are
not EJB's. The structure outlined by eclipse's enterpriese projects has
no place for these classes (that I can see).
I suppose my solution will be to put these classes in the EJB module and
consider the EJB module to be the full middle tier, but that isn't exactly
right. Online help definition of the contents of an EJB module:
"An EJB module contains the following:
One or more deployable enterprise beans.
A deployment descriptor, stored in an Extensible Markup Language (XML)
Or perhaps the solution is to create standalone java project the hold the
non-ejb application components and link it into the enterprise project,
but you would think that the eclipse scheme for enterprise projects would
have built a place for that if this would the expectation.
The answer is not to put these classes in the client projects, as I am
talking about business classes that support the business application, not
client classes (not web classes or classes for an application client), nor
am I refering to utility jars. I am talking about POJO's that make up
part of the business logic along with the EJBs.
What am I missing?
Powered by FUDForum
. Page generated in 0.01607 seconds