EJB query
4 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   veera_raghavan
Posted On:   Tuesday, January 18, 2005 01:43 AM

Why should a bean not access a class outside its package ?

Why is this restriction given ?


Please use html tags to format code blocks.

Re: EJB query

Posted By:   ankush_purwar  
Posted On:   Thursday, January 20, 2005 03:25 AM

Hi raghavan,

EJB specification never says any such restriction.
There may be two causes for this problem,
Either you haven't import the class or that class might not be in your classpath.

Re: EJB query

Posted By:   ABHISHEK_SHRIVASTAVA  
Posted On:   Tuesday, January 18, 2005 08:46 PM

hi..
a bean can access the class anywhere on ur system....
just set the classpath apppropriately and then try.....
Good luck...
Abhishek

Re: EJB query

Posted By:   neeraj_pandey  
Posted On:   Tuesday, January 18, 2005 01:55 PM

I think I didn't get the question exactly. You bean to say, if bean is defined in abc.pqr package then it is obliged to use any class in abc.pqr package only ??



If you think that way then your understanding is in correct.

Re: EJB query

Posted By:   vinay_salehithal  
Posted On:   Tuesday, January 18, 2005 01:38 PM

Who says so?
About | Sitemap | Contact