How do I create a Java EE container deployable JAR? -
i have main project used standalone batch want move container using ejb timer (using wildfly 8.2). thought building war file timer class , dependencies withing web-inf/lib, doesn't sound elegant solution because isn't web app, doesn't need bound context. it's jar, ejb inside , dependencies (i'm using fat jar) container throws error when deploy it. should use ear? or guys think war file fine? ps: i'm using maven, possible suggestions can take in account.
you don't need in war file if it's not web application, although doesn't harms. put in jar file, don't add doesn't have meaning...it can confusing others. @bruno césar pointed out, need package first ejb(s). have @ this; you'll see ways package them jar, war, ear.
Comments
Post a Comment