Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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
.
 
What's that smell? I think this tiny ad may have stepped in something.
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic