Catalin
(stranger)
08/26/03 10:22 AM
Re: Loading resources in EJB application

Hi,

Archiving files and storing them to disk is a tricky job to do for an EJB, inside an EJB container.
Just think about clustering, load-balancing, etc.

The way I would do this is writing a stand-alone application for archiving files, and access it from the EJB using RMI, for example.
This way it would work even in EJB container clusters (fault tolerance of the stand-alone application would be an issue, but this is another story).



Contact us JavaWorld

Powered by UBB.threads™ 6.5.5

Featured White Papers


RESEARCH CENTERS: Java Standard Edition | Java Enterprise Edition | Java Micro Edition | Development Tools
About Us | Advertise | Contact Us | Terms of Service/Privacy
Copyright, 2006-2008 Network World, Inc. All rights reserved.