• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Difficulties with deploying my first EJB using the RI

 
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have installed what I assume is referred to as the Reference Implementation J2EE application server, Sun ONE Application Server. I am now trying to follow the steps in Head First EJB for deploying the first crack at EJBs, AdviceBean et al, and I am unable to find the deploytool which is mentioned in the text on page 32. I have looked in the app server's bin directory and no such tool exists. In fact I have looked in the entire Sun ONE app server heirarchy and can find no such tool. I have tried to deploy this bean using the server's admin console but I can't figure out how to create a new application, make the ejb-jar, or anything else with the options avaiable - it doesn't appear possible to mimic the deploytool functionality.
Can anyone comment or provide any suggestions to get me past this hurdle ?
Thanks in advance !

-James
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Howdy James...
This whole thing about the reference implementation is confusing. Sun ONE app server is *not* the reference implementation for EJB 2.0 (although they are using the app server for EJB 2.1/J2EE 1.4).
So, our example is on deploying to the J2EE 1.3 R.I., which comes when you download the J2EE SDK for 1.3 (which is EJB 2.0). I believe that Sun does have a tutorial now for J2EE that DOES use the Sun ONE app server, and you could probably use our beans there without trouble, but they haven't been tested, and the deployment process would be different.
If you want to walk though the deployment of the AdviceBean, using the process we show in the book, then you do need the J2EE 1.3.1 SDK. But... you could certainly use the J2EE tutorials to deploy it to Sun ONE.
Please write back and feel free to write to me directly as well if you want any other help with this...
cheers,
Kathy
 
James Adams
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Kathy, your response clears things up considerably for me.
 
reply
    Bookmark Topic Watch Topic
  • New Topic