• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Imitations to the EJB Model

 
Ranch Hand
Posts: 75
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic