On 10/14/08, Sisk, Brad [EMAIL PROTECTED] wrote:
Can anyone recommend a simple way to force Spring to automatically call
FTPServer.start() when Spring gets an instance of it through
BeanFactory? Keep in mind, FTPServer is not registered with Spring
through the applicationContext, but rather
Have any of you deployed FTPServer to an Application Server? For
example, as part of Spring?
If so, what approach do you use to have the AppServer start, stop
FTPServer?
To kick it off initially, did you write a shell script or batch file
which calls a main() method in your code, and
Brad Sisk Wrote:
I appreciate your suggestion, Ralph. But if I'm not mistaken, it looks
like you've posted a solution for a standalone Java app-not the Spring
approach to bean instantiation. For example, your solution directly
instantiates FtpServer the way a main() method would-rather than using