• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

About services provided in EJB

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 380
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, I agree too. Thanks for detailed explanation.

Best Regards,
Benny
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic