I think it's always good to follow the standard directory structure. Summarized as following:
========================================
1. Packageing Web Application:
Directory Structure:
\html, jsp, images
\WEB-INF\web.xml, weblogic.xml, tld
\WEB-INF\classes\servlet, helper_classes, Java_Bean_classes, EJB_Home_Interface, EJB_Remote_Interface
Bundle all above into a .war file.
2. Packaging EJB:
Directory Structure
\EJB classes
\META-INF\ejb-jar.xml, weblogic-ejb-jar.xml, weblogic-rdbms-cmp-jar-bean_name.xml
Bundle all above into a .jar file
3. Packaging Enterprise Applications:
Directory Structure:
\.war, .jar
\META-INF\application.xml
Bundle all above into a .ear
==============================================
Ready to go! Be careful with the class references issue.
Refer to
Packaging and Deploying WebLogic Server Applications Lucy
[ January 18, 2002: Message edited by: lucy hu ]