A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
OCA Java SE 8 Programmer I Study Guide
this week in the
EJB and other Java EE Technologies
Is it wrong to place EJB jars in a WAR file?
Joined: Jul 06, 2001
Feb 26, 2002 13:37:00
If I have a web application that uses
's, should I place the EJB in an EAR file and add the web application -- as a WAR -- to the EAR?
Joined: Jun 25, 2001
Feb 27, 2002 05:06:00
That's correct. You also need the XML file that describes the war and
so the appserver can find them when it wants them.
An IDE is no substitute for an Intelligent Developer.
Joined: Nov 22, 2000
Feb 28, 2002 04:17:00
Your EAR File should look like this:
1a) .WAR File
1b) .JAR File
Thanks & Bye,
SCJP2, BEA WLS 6.0, DB2 UDB 7.1
I agree. Here's the link:
subject: Is it wrong to place EJB jars in a WAR file?
Calling EJB in JSP
exception and error while importingwar in websphere applicationserver6
.jar or .ear ?
How to make a WAR file for EJB project in WSAD
ejb access war file classes
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015