• Post Reply Bookmark Topic Watch Topic
  • New Topic

About services provided in EJB

 
Benny Ten
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I encounter the following question and I am not sure what is the answer. The question is shown as below.

Which of the following is used programmatically but NOT declaratively in EJB?
A. Transaction Management
B. Naming service
C. Persistence
D. Resource Management
E. Security

So can any expert know the answer and give a brief explanation on this?

Thank you so much

Regards,
Benny
 
Shivani Chandna
Ranch Hand
Posts: 380
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of the following is used programmatically but NOT declaratively in EJB?


A. Transaction Management - can be declared in DD (Transaction management type for bean etc.)

B. Naming service =====>> This looks to be a possible answer. Since Naming Service is not overridden in any way in the DD but it is used programmatically for find references to objects through JNDI.

C. Persistence - can be defined in persistence.xml (definition of persistence unit etc.)

D. Resource Management (ejb-res-ref, ejb-ref and other tags.. in DD)

E. Security (again security management can be done in DD - security-roles etc.)
[ July 13, 2007: Message edited by: Shivani Chandna ]
 
Benny Ten
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I agree too. Thanks for detailed explanation.

Best Regards,
Benny
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!