Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to reduce the Initializing Spring root WebApplicationContext time?

Tags:

java

spring

jboss

I know that this question is too vague for anyone to provide a solution but I can provide more details if required.

My web application is using spring and I have deployed it to JBoss server, while jboss start-up "Initializing Spring root WebApplicationContext" is nearly taking 20 minutes. Am I having any options to reduce this? I have close to 300 beans in 20 or more xml files.

Please advice.

like image 852
Mahendran Avatar asked Dec 28 '12 08:12

Mahendran


1 Answers

Here are some Best practices TIPS for Spring, compare these steps to Your application.

https://developers.google.com/appengine/articles/spring_optimization

like image 149
NPKR Avatar answered Sep 28 '22 23:09

NPKR