File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Deploying WAR+EJB without EAR Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Deploying WAR+EJB without EAR" Watch "Deploying WAR+EJB without EAR" New topic

Deploying WAR+EJB without EAR

Alessio Belcastro

Joined: Nov 09, 2011
Posts: 8
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

Joined: Jun 25, 2001
Posts: 17417

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.

An IDE is no substitute for an Intelligent Developer.
Alessio Belcastro

Joined: Nov 09, 2011
Posts: 8
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:
subject: Deploying WAR+EJB without EAR
It's not a secret anymore!