This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes EJB Restriction Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB Restriction" Watch "EJB Restriction" New topic

EJB Restriction

Jitin Guglani

Joined: Jan 01, 2009
Posts: 17
Hello All,
I am unable to understand the following restriction in EJB.
"An EJB must not attempt to define a class in a package" because it might compromise security.
what is the meaning of the above statement ? I did not get the meaning and intention behind this restriction statement.
thanks in advance
Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

Please have a look at the following thread: Imitations to the EJB Model.
It is sorta covered in the JavaRanch Style Guide.
subject: EJB Restriction