Search code examples
jbosswarwildflyear

How to package my jar file as wildly war file?


I have a jar file which takes some input from command line and does processing. I want to make this jar file as a deployable war file (wildly file) How can i do that? Any guide would be appreciated. (I have installed jobs tools in my eclipse,)

And I would like to know the difference between ear file and the war file? Any detail explanation would be appreciated?


Solution

  • I'm not sure a command line application makes much sense in a web container. That said in a WAR libraries need to go in the WAR/WEB-INF/lib directory.