Novice EJB3 Conversion Question

I would like to incrementally convert my remote stateless session beans to version 3. To do this, must I convert the entire ejb-jar.xml from the old dtd-based format to the new schema-based format?
[204 byte] By [-@-a] at [2007-11-27 2:13:18]
# 1

When you convert the beans to EJB 3.0, you have the choice of using only annotations, only .xml,

or a combination of the two.To whatever extent you use .xml, yes, you will need to conform to the

latest ejb_jar_3_0.xsd. That's also true if you plan to keep any CMP 2.x Entity Beans, since they

can only be described using .xml.

I'd recommend just starting to rewrite your session/mdb components using the simplified EJB API and

annotations first. You can then apply any overrides or specific .xml metadata to a new ejb-jar.xml.

--ken

ksaksa at 2007-7-12 2:08:42 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...