Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Bean and weblogic6.0

 
Ashutosh Roy
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Where to put Java Bean class file in weblogic 6.0
Ashutosh
 
Ghulam Rashid
Ranch Hand
Posts: 278
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
Thanx
Rashid
 
lucy hu
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic