Hi,
In what context you are asking this question. can you please give a
practical example ??
The example that you have given is not feasible to be done by Application
server.You still need String Class locally(like stubs for ejb) to create the
String object. Which mean String.class should be serialized and downloaded
locally to your machine.And Loading one class may require loading of many
other inter-related class files which is done by Class Loader .
Another point is that you cannot look just about any server object. There
are well defined resources like database,messaging,etc which you(clients)
can look under jndiname space. .
Apart from this you have to specify the jndi names etc for these in the
application server config files. So do you think its feasible to give the
jndi name for the entire library of classes in the properties file.
Any Expert comments out there ????
Cheers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Warm Regards
Ashwani Kalra
Sr. Member Dev. Staff
Aithent Technologies(P) Ltd.
email : [EMAIL PROTECTED]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of Manak Pushkarna
Sent: Friday, June 15, 2001 3:04 PM
To: [EMAIL PROTECTED]
Subject: EJB's and Server objects.
EJB's use a JNDI name for looking up any server objects on the the
application server so as to achieve location transparency, Right?If yes,
then do we have any server object for which I'll not require a JNDI
name.Imagine for example if entire jdk library is maintained by App server
then we've to use JNDI naming lookup for creating even a String object.
Please suggest?
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".