Hi, We are developing J2EE application that would contain number of components. Each component would be a ear file that would contain EJB jars and war which can be deployed in any J2EE compliant application server. We are currently using the Bedrock framework for applications deployed in Weblogic. It provides a very robust directory structure with most of the ant targets. However it is very custom for Weblogic. Is there a framework that provides a robust directory structure (with built ant targets) which can be deployed into Oracle Application Server. If not, is there any standard directory structure for building J2EE applications? Any recommended source directory structure (with support for multiple Web-Apps)and why? Any help is greatly appreciated. Thanks Sumanth
"starigopula", We're pleased to have you here with us in the Oracle forum, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it. In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious. Thanks, Jeanne Oracle Forum Bartender
There's a suggested directory layout described in the documentation for the Tomcat server at http://jakarta.apache.org/tomcat and I've successfully used this as a basis for many different server products. Ant has no problem with this sort of structure. Since 9iAS claims to be "100% compatible with Tomcat", it should do well. If not, I'll know myself soon enough. The key is in being able to build standard deployable J2EE objects (JARs, CARs, WARs and EARs). I do this in 2 stages - first I build into a "build" directory - which usually contains my exploded webapp(s) and then collect the results of the build and produce the deployable units in a separate "dist" directory. If done with proper care, you can run both Ant and IDEs that do edit-time compiling such as Eclipse and they will work happily together. We have an Ant forum which you may want to vist for Ant-specific help.
Customer surveys are for companies who didn't pay proper attention to begin with.
author & internet detective