Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

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
.
 
No thanks. We have all the government we need. This tiny ad would like you to leave now:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic