scraps Posted May 25, 2012 at 06:00 PM Report #458155 Posted May 25, 2012 at 06:00 PM Muito boa tarde, encontro-me a desenvolver um projecto java que se trata de um sitstema que deverá correr de forma autonoma e automática no momento em que se inicia o servidor. Ja tenho uma servlet criada com o metodo init, agora gostaria de saber o que tenho de fazer para que quando liga-se o servidor aotomaticamente fosse executada esta servlet? Alguma ideia?
KTachyon Posted May 25, 2012 at 08:09 PM Report #458165 Posted May 25, 2012 at 08:09 PM Tanto quanto sei, tudo o que estiver na pasta de deploy do Glassfish é executado de forma automática. “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” -- Tony Hoare
scraps Posted May 27, 2012 at 09:47 AM Author Report #458331 Posted May 27, 2012 at 09:47 AM ok, vou testa, muito obrigado
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now