-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> "An enterprise bean must not use the java.io package to attempt to
> access files and directories in the file system.
> The file system APIs are not well-suited for business components
> to access data. Business components should use a resource manager
> API, such as JDBC API, to store data."
> 

Key words:  "store data"

I've interpreted this as ...

"Don't store stuff on the local file system, because when the bean
next executes, it may be on a different server in the cluster without
access to the same local file system."

In other words, store the state so that the bean, running anywhere in
a cluster of servers, can restore itself.

In other words, use real, globally accessible storage:  a database. 
Sun doesn't want you taking shortcuts, since that may make your beans
fail unexpectedly.

None of that has anything to do with logging; logging is producing
output for developers or end users. 

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>

iQA/AwUBOsDixczaGfXx3ihQEQL8GACg0yjC6Lq99PuUSJzsqPlugAZzGIIAoKfJ
iobboxyBasQQVOFyajQpmVX7
=ycNi
-----END PGP SIGNATURE-----

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to