• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

writing deployment descriptor

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 297
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is WEBLOGIC 6.0, please help...
 
Ranch Hand
Posts: 176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.


 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Time is the best teacher, but unfortunately, it kills all of its students - Robin Williams. tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic