About Question enthuware.oce-ejbd.v6.2.437 :

Moderator: admin

Post Reply
brunomg00
Posts: 3
Joined: Mon Nov 20, 2017 8:41 pm
Contact:

About Question enthuware.oce-ejbd.v6.2.437 :

Post by brunomg00 »

The following wrong alternative:
Deployment Descriptor can always override metadata specified in bean class annotations.
has the following explanation:
Structural information may be provided using metadata annotations in the beans code or in the deployment descriptor. The structural information cannot, in general, be changed using Deployment Descriptor because doing so could break the enterprise bean’s function.
What that Structural information means? Annotations like @Singleton, @Stateless, @Remote, etc?

Thanks in advance.

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.437 :

Post by admin »

Yes, section 19.1 of EJB 3.1 spec mentions structural information but does precisely define what constitutes structural information. It merely says, "Structural information describes the structure of an enterprise bean and declares an enterprise bean’s external ".

However, in section 19.2 it says, "The Bean Provider is responsible for providing in the deployment descriptor the following structural information for each enterprise bean if this information has not be provided in metadata annotations or is to be defaulted."

Under this section it lists the structural information. It includes bean class, type, interface types, schema names etc.

HTH,
Paul.
If you like our products and services, please help us by posting your review here.

brunomg00
Posts: 3
Joined: Mon Nov 20, 2017 8:41 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.437 :

Post by brunomg00 »

Thanks for the quick reply Paul, it has just made things clearer.
However, I believe the right sections are 19.1 and 19.2 instead of 9.x (which talks about query language).

Regards,
Bruno.

admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.oce-ejbd.v6.2.437 :

Post by admin »

brunomg00 wrote:Thanks for the quick reply Paul, it has just made things clearer.
However, I believe the right sections are 19.1 and 19.2 instead of 9.x (which talks about query language).

Regards,
Bruno.
You are right. 19. Not 9 :oops:
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 28 guests