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

Java Bean and weblogic6.0

Ashutosh Roy

Joined: Jan 17, 2002
Posts: 8
Where to put Java Bean class file in weblogic 6.0

Ghulam Rashid
Ranch Hand

Joined: Jan 14, 2002
Posts: 278
Hi Ashutosh,
If you are not talking about EJB then put your class file anywhere, but dont forget to add it in your class path env, if you are referring it.
lucy hu
Ranch Hand

Joined: Aug 21, 2000
Posts: 60
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
Bundle all above into a .ear
Ready to go! Be careful with the class references issue.
Refer to
Packaging and Deploying WebLogic Server Applications
[ January 18, 2002: Message edited by: lucy hu ]
I agree. Here's the link:
subject: Java Bean and weblogic6.0
It's not a secret anymore!