Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Bean must not attempt to define a class in a package

 
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I came across following statement:

"The enterprise bean must not attempt to define a class in a package."

This function is reserved for the EJB Container. Allowing the enterprise bean to perform this function would create a security hole.

I did not understand above point. Can someone please explain in detail what exactly is meant by: "The enterprise bean must not attempt to define a class in a package." Can some one please quote an example for better understanding?

:roll:
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please have a look at the following thread which handles the same topic:
https://coderanch.com/t/159917/java-EJB-SCBCD/certification/Imitations-EJB-Model

Thanks

PS: We have a search page
 
If a regular clown is funny, then a larger clown would be funnier. Math. Verified by this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic