[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] New name for the Deployment Descriptor tree for JavaEE 5 projects

I just want to emphasis that in JPA, persistent objects are POJOs, not container artifacts like "Entity Beans".  They terminology for persistent objects has been shortened to "Entity" to distinguish it from the old "Entity Bean".

What this means is that any Java class can be a JPA Entity and there may be no deployment descriptor (orm.xml) identifying it as such.  The presence of an @Entity annotation in the Java source file may be all that identifies the class as an Entity.  Figuring out what is an Entity so it can be shown under the appropriate node is not straightforward.  The same will be true for Session Beans and JAXB annotated classes.

   Shaun

Raev, Kaloyan wrote:
Hi Paul,
 
For the moment our goal is to add Web Services related artifacts under the Session Bean nodes.
But, yes, it could be a case in the future that JPA artifacts are added as well under the Entity Bean nodes.
 
So, the work "module" is not appropriate to be in the label name. Do you have your own suggestion?
 
Greetings
Kaloyan


From: wtp-dev-bounces@xxxxxxxxxxx [mailto:wtp-dev-bounces@xxxxxxxxxxx] On Behalf Of Paul Fullbright
Sent: Tuesday, December 12, 2006 12:17 AM
To: General discussion of project-wide or architectural issues.
Subject: Re: [wtp-dev] New name for the Deployment Descriptor tree for JavaEE 5 projects

Hello Kaloyan,

Since JPA is not a "module" (and hopefully at one point will be a facet configurable without a "module"), I would cast my preference towards a term which does not include that word.  That is, if JPA artifacts are intended to also use this node in the tree in which to display their information.  Is that the intention?

-- 
Paul Fullbright
Oracle Corp.
Eclipse Dali/Java Persistence Tools Development
paul.fullbright@xxxxxxxxxx


Raev, Kaloyan wrote:

Hello,

It is about the "Deployment Descriptor: <projectName>" tree that appears as first child node under each J2EE project tree in the Project Exlporer view.

This Deployment Descriptor (DD) tree gives a general overview of the J2EE artifacts that are declared for the corresponding J2EE project. It could be said that the DD tree is graphical representation of the J2EE model. Until J2EE 1.4, inclusively, all such artifacts are declared in an appropriate XML file - deployment descriptor. And I think this was the reason that this tree node wears the label name "Deployment Descriptor".

Now, in Java EE 5 the Java EE artifacts could be declared in other places (e.g. Java Annotations) than XML files. XML files are even said to be optional. Also, there are requirement from adopters that the Java EE model has to be extensible - that means other sources for declaring Java EE artifacts. For example, in SAP, we want to accommodate the following in an EJB 3 project model:

  - generated WS proxy classes (displayed as one entity)
  - WSDL files
  - JAX-WS customization files
  - WS-Policy files: for security and reliable messaging
  - Available publication classifications of a Services Registry
  - Classification profiles (Taxonomies) for one or more services

All the above makes the Java EE model to be much more than a representation of the XML deployment descriptor of a Java EE project. The label of the DD tree "Deployment Descriptor" becomes misleading.

We are currently looking for new name of this label for our Java EE 5 solution built on top of WTP 1.5. We want to be in sync with the WTP community, so we don't change the name again when we later adopt WTP 2.0 and later version that will provide Java EE 5.

We have a few variants to choose from for the moment:
  - Module Artifacts
  - Logical View
  - Structural View
  - Module Content

We would like to hear your opinion and your suggestions.

Kaloyan Raev
Senior Developer
NW AS JS TOOLS JEE (BG)
SAP Labs Bulgaria
T +359/2/9157-416
mailto:kaloyan.raev@xxxxxxx
www.sap.com


_______________________________________________ wtp-dev mailing list wtp-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/wtp-dev

_______________________________________________ wtp-dev mailing list wtp-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/wtp-dev

-- 
Shaun Smith
Principal Product Manager
Oracle TopLink
shaun.smith@xxxxxxxxxx