Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General 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

Imitations to the EJB Model

 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
regarding Imitations to the EJB Model my book says that, developer should not use io, thread, awt, native, this, security etc., because either this is the job of container or not allowed. (that's fine)
But it also says Your bean must not attempt to define a class in a package.. I am not able to get this point.

I would appreciate your comments/suggestions regarding the above (bold) statement.


Thanks & regards,
Sanjeev.
[ September 15, 2004: Message edited by: sanjeevmehra mehra ]
 
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 discussion which handles the same topic:
https://coderanch.com/t/159862/java-EJB-SCBCD/certification/EJB-Programming-Restriction
 
sanjeevmehra mehra
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
as per discussions on the mentioned links, it is believed that this is regarding ClassLoader.defineClass() and ClassLoader.definePackage(). But in limitations it is clearly saying the working with classLoader & JVM is not allowed and mentioning, "The enterprise bean must not attempt to define a class in a package.�, this as a separate point.

All believe that it is regarding classLoder, so I have no option to left
.
 
money grubbing section goes here:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic