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


Rajah Nagur
Ranch Hand

Joined: Nov 06, 2002
Posts: 239
Hello everybody,
I have iplanet webserver, ibm websphere as app server. I have a j2ee application.
What is the best way to deploy? Should i create a war file containing all the servlets,jsps and actionclasses and deploy it on iplanet webserver and deploy session beans and entity classes on the app server as a jar file?? or deploy the whole thing as an ear file on the app server??
The action classes call the session beans for service.
In the former case of deployment how to resolve the references???
Thanx in advance

You can't wake a person who is <b><i>pretending</i></b> to be asleep.<br />Like what <b>"it"</b> does not like - <i> Gurdjieff </i>
Simon Brown
sharp shooter, and author
Ranch Hand

Joined: May 10, 2000
Posts: 1913
If you can, I would recommend deploying your application as an EAR file - it's more convenient and you'll have no depdendencies on other components having to be deployed separately beforehand. There's a great article on the IBM website that I found here ->
Have a read through the references at the bottom of the article too as there are a few about other deployment issues that are worth reading.
Of course, if you have specific reasons why you have to use iPlanet (perhaps because you are going to cluster your web apps) then your options are rather more limited.
[ December 03, 2002: Message edited by: Simon Brown ]
I agree. Here's the link:
subject: packing
It's not a secret anymore!