A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
EJB Certification (SCBCD/OCPJBCD)
need help on EJBOverview
Joined: Apr 20, 2006
Nov 21, 2006 04:06:00
I see a line in study guide in the
Overview chapter 1.
Could anybody explain me what does the below line say? If possible an example would help me to understatnd.
"The enterprise bean must not attempt to gain access to packages and classes that the usual rules of the
programming language make unavailable to the enterprise bean"
Joined: Jun 04, 2002
Nov 21, 2006 04:30:00
This basically means that Bean Provider *must* *not* use Java Reflection API to get access to some variables or methods which are not accessible via regular Java calls.
For example, using Java Reflection, it is possible to get/set private variables from other classes. Doing this will break EJB Container contract which provides security, threading, pooling, etc.
Java Platform, Enterprise Edition 6 Web Services Developer Certified Expert Exam
Exam 1Z0-810: Upgrade to Java SE 8 Programmer
I agree. Here's the link:
subject: need help on EJBOverview
Difference b/w Simple Java Bean and Enterprise Java Bean(EJB)
package and class question
enitity bean with jbossand xdoclet
eclipse 3.1 , xdoclet 1.2.2 , jboss 3.2.3
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015