Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Access modifiers in EJB's

 
Tejpal Singh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to know wat access modifiers can be used at different levels in an EJB class(Session/Entity or Message Driven) in:
1. Class declaration
2. Method definition
3. Global and Local variables
Which of the access modifiers are not allowed by EJB specification and why?
Any help is appreciated...
Thanks.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at the following sections of the EJB specification (v2.1):
7.11 - The Responsibilities of the Bean Provider (SB)
10.3.1 - The Entity Bean Provider's Programming Contract
10.6 - Responsibilities of the Enterprise Bean Provider (EB)
15.7 - The Responsibilities of the Bean Provider (MDB)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic