Hi!

Ashwin Dinakar wrote:
>     I know posted this a couple of days ago. I just want to be reassured by the 
>experts here that this is right way to proceed.
>
> (1) I wish to read Java Resource Bundles into an Enterprise Java Bean (Either 
>Session or Entity  Bean). Does this violate any of the EJB specs or should I move 
>this over to an RMI server ?

This does not violate the spec, but I might be missing something.
Getting Java2 security right is a tricky business. It might require some
doPermission calls to be done properly. Anyone knows better?

> (2) More generally speaking to avoid I/O in EJB move flat flile I/O to an RMI 
>server. Is this the approach most developers are going along for right now ?

Generally speaking, I would not do this. Instead I would package this
kind of functionality in a separate library that is available to the
beans, but not through the classpath of the EJB-jar, but rather through
the system classloader or similar. As has been noted in earlier posts,
the classloader is the key to avoiding the restrictions of EJB.

/Rickard

--
Rickard �berg

@home: +46 13 177937
Email: [EMAIL PROTECTED]
Homepage: http://www-und.ida.liu.se/~ricob684

===========================================================================
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".

Reply via email to