Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying WAR+EJB without EAR

 
Alessio Belcastro
Greenhorn
Posts: 8
  • 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: 18020
47
Android Eclipse IDE Linux
  • Likes 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
  • 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
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic