Re: SSDD builds with WOLIPS
Re: SSDD builds with WOLIPS
- Subject: Re: SSDD builds with WOLIPS
- From: Dov Rosenberg <email@hidden>
- Date: Wed, 24 Jan 2007 23:22:39 -0500
- Thread-topic: SSDD builds with WOLIPS
Title: Re: SSDD builds with WOLIPS
We have been deploying our apps as servlets for the past 2+ years. We started using the SSDD target but found it lacking. The biggest hassle we found was the SSDD didn’t seem to include everything we needed. One of the only limitations I have come across is that the resulting WAR file can be run without having the container expand it first (which is the default behavior for Tomcat but not WebLogic – see below for the reason). Our apps get built using the following steps:
- Build the frameworks using <wocompile> and <woframework>
- Build the applications using <wocompile> and <woapplication>
- Assemble the web applications manually instead of using the supplied SSDD target. Our final deployment includes the following structure:
WEB-INF
classes
Library
Frameworks
OurFoundation.framework
OurModel.framework
OurServices.framework
JavaEOAccess.framework
JavaEOControl.framework
JavaFoundation.framework
JavaJDBCAdaptor.framework
JavaWebObjects.framework
JavaWebServicesClient.framework (if needed)
JavaWebServicesSupport.framework (if needed)
JavaWOExtensions.framework (if needed)
JavaWOJSPServlet.framework
JavaXML.framework
lib
<any non WO jars needed – JDBC Drivers, XML parsers, mail.jar, etc>
web.xml (Need to make sure that the WOClasspath context parameter includes all of the WO frameworks listed above plus your application frameworks. There is an environment variable WEBINFROOT that gets resolved at runtime to the path where the WEB-INF folder is located. This is the primary reason that the WAR file must be expanded in order to run properly.
4. After the web app is assembled it is WARed using the ant <jar> task.
Hope this helps others.
--
Dov Rosenberg
Conviveon/Inquira
Knowledge Management Experts
http://www.conviveon.com
http://www.inquira.com
_______________________________________________
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