This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying WAR+EJB without EAR

 
Alessio Belcastro
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I don't actually know if JSF conditions my problem, so excuse me if it doesn't, but I didn't know where to ask this.
I have a project which is created using Oracle, and consists of one EJB Project, one Web Service Project and one Enterprise Application Project. I just deploy the EAR from the Enterprise Project and it works fine.
Now I need to remove the EAR, and have just the EJB and the Web project; In this way, I need to deploy the jar from the EJB and then the war from the web project (with Weblogic 3.5).
I have removed the Enterprise Project and inserted, in the META-INF/MANIFEST.MF of the web project, the row but I get this error:

Do you know what else should I add to make the things work? It's like the two projects are not still linked
Thank you!
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17639
39
Android Eclipse IDE Linux
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not understand. An EAR is simply a collection of related components (EJB JARs, WARs, possibly other JAR-format resources) that are combined into a single deployable unit along with a deployment descriptor (application.xml). Without that architecture, you'd have to deploy each component separately, and there would be no way of binding them together. WAS would, in fact, take each WAR and deploy it as a separate webapp.
 
Alessio Belcastro
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you mean that there's no way to make the two parts "cooperate" without the EAR, right? Ok!
Thank you so much for your help
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic