In Chapter 1, page 9, of the Sun Enterprise Development Guide, they list some
Programming Restrictions for Enterprise Beans.  It says to avoid conflicts with
the ocntainer services, enterprise beans are restricted from performing certain
operations.


How do you get around the following restrictions or what container services
allow you to do the same thing?

1. Accessing files or directories with the java.io package.  How do you access
outside files then?

2. Listening on a socket, accepting connections on a socket, or using a socket
for multicast.

3. Setting a socket factory used by ServerSocket, Socket, or the stream handler
factory used by the URL class.  Not sure if I really care about this.

4. Loading a native library.  Can you use JNI in an Enterprise Bean?  How would
I call an external Windows DLL from a bean?

--
Thanks,
Michael Binette
Avid Technology, Inc.




--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Problems?:           [EMAIL PROTECTED]

Reply via email to