File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes Access modifiers in EJB's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Access modifiers in EJB Watch "Access modifiers in EJB New topic
Author

Access modifiers in EJB's

Tejpal Singh
Greenhorn

Joined: Aug 08, 2003
Posts: 26
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.


"When work, commitment and pleasure all become one and you reach that deep well where passion lives, nothing is impossible."
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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)


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Access modifiers in EJB's