Thursday, 15 January 2015

java - How does Spring start this app? -


I'm parsing a java app in Warobos through some legacy code, and Spring , JMS, and Hornet I'm trying to understand, due to the lack of a better phrase, what does the app "go" I've seen that most of the spring examples include an application with a main () method, which Available in some way by Spring reference Rye went acts on seeds. There is no main () in this application as far as I can tell what is happening:

The web of the WAR file. XM uses a listener to launch the spring when the application starts in JBOSS, and it passes a config file

   

Spring then processes the application-reference.xmm file, which contains this snippet:

   & Lt; Property Name = "Destination" Reference = "Destination" /> & Lt; Property Name = "Message Listener" ref = "App Listener Proxy" / & gt;  

Through a few more references in app-context.xml, "AppList Proxy" refers to a class in the session that ultimately applies to session Aware Message Listener, on the queue Replies to the message.

The part that I am running is that I do not see any kind of code to get the jmscontainer bean and do something with it. Is this a well-defined ID, like the Spring Framework looking for it? And if so, is it something documented (other IDs may be looking for structures along with)? It seemed as if I was closest, but it does not really specify whether the ID is only in the examples of the conference or if it is a meaningful string.

Thank you

In the spring the container framework is part of the core Framework to all those containers Which will implement a certain container interface and initialize them.

This also depends on the principle of control (IOC).

For more information on IoC check the container, check out this page:


No comments:

Post a Comment