The company I work for has decided to convert to newer tech.
I work on a SOAP web application that is on a WAS server built using ANT. The project has an EJB for listening to messages on IBM's MQ. I've been learning about Maven recently in conjunction with jBoss. I am slightly confused on the process.
There seems to be a Maven archetype from the jBoss repo that is built for web apps. The description says that it is for generating an EAR file from a WAR and EJB. However, there is another archetype for jBoss Spring RESTFul but it does not look like it produces an EAR on the build.
So, if I want to make it RESTful do I need to drop the EJB and go a different route since the archetype doesn't seem to support it? Or will Maven build successfully if I change the file structure to support an EJB? Also, if I create folders within src/main/java/<package> to group like code together will Maven still build it? Or do I need to keep the file structure EXACTLY the same and just have a huge list of .java files.