• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

writing deployment descriptor

 
Tabish, Sa
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, can anyone tell me how to write the deployment descriptor for an EJB that I want to deploy into WEBLOGIC. I have created the bean, and its two interfaces but stuck on creating the deployment descriptor. It is just a simple "Hello World" EJB, please help.
 
Michael Hildner
Ranch Hand
Posts: 297
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can help you out if you are using WL6.0, not familiar with 5.x
 
Tabish, Sa
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is WEBLOGIC 6.0, please help...
 
Madhu Juneja
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use the weblogic's deployment tool. It also creates the deployment descriptor. You can peek into this Deployment Descriptor to find out what goes into a deployment descriptor.
 
pavi kavi
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Do this
u have two dd files
1. ejb-jar.xml in this u have enter all the fully qualified class file names of ur home ,remote & bean & also mention the which type os bean it is go thru the example in the wl6.0 u ill find the ejb-jar.xml & only repalce those values okay
2. in weblogic-ejb-jar.xml
write only 2 things one is ejb reference name & another one is the jndi name
i hope it will help u
pavithra
Originally posted by Tabish, Sa:
Hi, can anyone tell me how to write the deployment descriptor for an EJB that I want to deploy into WEBLOGIC. I have created the bean, and its two interfaces but stuck on creating the deployment descriptor. It is just a simple "Hello World" EJB, please help.

 
Michael Hildner
Ranch Hand
Posts: 297
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the .xml files provided in \samples\examples\ejb (or ejb20). If you can't get it going, post your .xmls.
 
Tabish, Sa
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks guys,
LAST QUESTION: Do I have to include the deployment descriptors
in a jar file, along with the bean class & the
interfaces. Or just include it in the directory
of jar file.
 
Dasharatham Bitla
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, u have to include the Deployment Descriptors in the ejb jar file.
Originally posted by Tabish, Sa:
Thanks guys,
LAST QUESTION: Do I have to include the deployment descriptors
in a jar file, along with the bean class & the
interfaces. Or just include it in the directory
of jar file.

 
hema_bhandari
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi!!!
i have a similar problem.
firstly after the jar file is created where do i put it and further on how do i go about it.
secondly i have a jar which is working fine with weblogic 5.1.and not with weblogic 6.0.what changes are necessary.
thanx hema
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic