Re: SSDD vs War
Re: SSDD vs War
- Subject: Re: SSDD vs War
- From: Henrique Prange <email@hidden>
- Date: Thu, 06 Dec 2007 11:17:57 -0200
Mike,
We have a couple of applications deployed as *true* War. All WebObjects
frameworks go inside WEB-INF/lib folder as Jars. The application goes as
Jar on the same folder. The application Jar must be an "NSJarBundle". It
means the Jar must have a Resources folder with a valid Info.plist inside.
We don't need to add the WOCLASSPATH to the web.xml file because we are
using true War instead of SSDD. We use a static web.xml. The
WOServletAdaptor points to ERXServletAdaptor and the WOJarBundle option
is set to true. All projects are built with Maven and we don't have to
change a thing after the build process.
On WO 5.3, most File-based methods of NSBundle and NSPathUtilities are
deprecated. There are URL-based replacements for each of then. Please,
anyone correct me if I am wrong. I haven’t had the opportunity to look
at the WO 5.4 API.
Cheers,
Henrique
PS.: There is one bug on NSPathUtilities and another one on NSBundle
preventing the deployment of true Wars on Windows machines. Again, I
don't know about WO 5.4.
Mike Schrag wrote:
Has anyone looked into exactly what the problem is with deploying a war
with framework embedding? It APPEARS that you either have an exploded
war (SSDD) and embedding works fine, or you have a war file and you have
to install WO frameworks outside of the war, but you can't have both?
I'm assuming it's that NSBundle must be File-based rather than
URL-based, so it can't load embedded frameworks from inside a war
because it's expecting to be able to generate File references? Before I
go exploring this, though, I thought I'd see if anyone else has already
done the legwork for explaining it ...
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >SSDD vs War (From: Mike Schrag <email@hidden>) |